[FFmpeg-user] ffmpeg on windows seems to ignore -to
kevinmduffey at yahoo.com
Fri Oct 20 12:07:16 EEST 2017
So I am using this simple command on Windows 10 (64-bit) command to cut out a small clip:
ffmpeg -i input.mov -ss 00:18:22.0 -to 00:18:44.0 -c copy clip10.mov
This *should* give me a 22 second clip.
Instead, it seems to delay for a couple of minutes.. and when I use D option, I see a ton of
cur_dts is invalid (this is harmless if it occurs once at the start per stream) 0x Last message repeated 341 times
I have tried various combos, including
ffmpeg -i input.mov -ss 00:18:22.000 -to 00:18:44.000 -c copy clip10.movffmpeg -i input.mov -ss 00:18:22 -to 00:18:44 -c copy clip10.movffmpeg -i input.mov -ss 00:18:22 -t 00:18:44 -c copy clip10.mov
as well as
ffmpeg -ss 00:18:00 -i input.mov -ss 00:18:22 -to 00:18:44 -c copy clip10.mov
and other variances with the .000, .0, and so forth.
>From some recent stack overflow and other bits online, I dont see that I am doing anything wrong.
The -t is to typically specify the duration, where as -to is to specify the end point to stop the clip at.
This is with ffmpeg latest (3.4).
Any help would be appreciated.
More information about the ffmpeg-user