[FFmpeg-user] '-t' versus '-to'

Mark Filipak markfilipak.imdb at gmail.com
Sun Jan 14 08:26:09 EET 2024


On 13/01/2024 22.57, Carl Zwanzig wrote:
> On 1/13/2024 7:37 PM, DEF wrote:
>> ...other times you want to trim,..
> ...(I prefer frame numbers, myself.)

I wholeheartedly agree with you, Carl. For example:
-ss 20.061708 -to 5570.815250
would be
-frametrim 481..134046
meaning frame 481 thru frame 134046.
Since it specifies the starting and ending frames, time is not an issue and duration is explicit.
Trimming the audio, subtitles, and chapter list would be automatic and based on those frames.

--Mark.



More information about the ffmpeg-user mailing list