[FFmpeg-user] ffmpeg on windows seems to ignore -to

Roger Pack rogerdpack2 at gmail.com
Wed Oct 25 06:48:07 EEST 2017

Works in linux? What versions of ffmpeg?

On 10/20/17, Kevin Duffey <kevinmduffey-at-yahoo.com at ffmpeg.org> wrote:
> Hi all,
> 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.
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".

More information about the ffmpeg-user mailing list