Avidemux Forum

Avidemux => Windows => Topic started by: lfcb on June 04, 2025, 01:49:43 PM

Title: B marker doesn’t reach exact end of video (shows 3.96 instead of 4.00)
Post by: lfcb on June 04, 2025, 01:49:43 PM
Hi everyone,

I'm using Avidemux (Win64/VC++ 2.8.1) for an experiment to mark what users interpret as the start and end points of an event in short videos, using markers A (start) and B (end).

Each video is exactly 4 seconds long (100 frames). If I don't touch the playback bar at all when opening the video, and just check the default A and B markers, I get a clean selection from 0 to 4 seconds.

However, when I manually drag the playback bar with the arrow in the keyboard to set point B near the end, it stops at 3.96 and won't reach exactly 4.00. This makes it ambiguous whether the user meant to select the entire video (from 0 to 4 seconds) or just up to 3.96.

Is there any way to force Avidemux to snap to the exact end of the video (4.00) when setting B manually? Or is this a known issue with how time codes are displayed or handled?

Thanks in advance!
Title: Re: B marker doesn’t reach exact end of video (shows 3.96 instead of 4.00)
Post by: eumagga0x2a on June 04, 2025, 02:10:26 PM
There is no frame at the full duration of the video which is the presentation time of the last frame + non-zero frame durarion, therefore, of course, it is only logical that you cannot seek to full duration of the video. Use "reset marker B" (or "reset markers") menu action for this purpose.
Title: Re: B marker doesn’t reach exact end of video (shows 3.96 instead of 4.00)
Post by: szlldm on June 04, 2025, 09:11:02 PM
The attached image explains how markers work.
The frame starting at marker B is not included into the selection.
If you set marker B to the last frame of the video, then the selection will be one frame sort.
To include the last frame, the marker B shall be set after the last frame, which is equivalent to "reset marker B".
(https://avidemux.org/smif/index.php?action=dlattach;attach=4734)