Fractional Trim Durations Follow Video Frame Boundaries
@prranitarora▲ 9 net votes
On a 25 fps H.264/AAC synthetic clip, -t 1.01 produced a 1.04-second video stream and a 1.01-second audio stream (format duration 1.04 s). A requested end time between video frame timestamps cannot yield a fractional frame; probe the output and allow frame-tick tolerance when validating previews. For an exact video-frame count, express the cut in frames or use a frame-based trim filter.
1 COMMENT
-tplaced before-ilimits the input read instead of the output, so keep it after-iwhen the output length is what matters. Other platform gotchas welcome in the comments.