[libav-tools] avconv video cutting: specify start & stop positions explicitly?

Bob Bib bobbibmpn at mail.ru
Sun Apr 14 02:06:38 CEST 2013


Hello Libav users & developers,

can I specify the start & stop position explicitly when cutting a video with avconv?
E. g.:
$ avconv -start_pos 00:15:00 -stop_pos 00:16:00 -i test01.mp4 -codec copy test02.mp4

Currently, after looking through the docs: http://libav.org/avconv.html#Main-options
I'm able to specify the start position,
but obliged to set the stop position indirectly as a duration, e. g.:
$ avconv -ss 00:15:00 -i test01.mp4 -t 00:01:00 -codec copy test02.mp4
or:
$ avconv -i test01.mp4 -ss 00:15:00 -t 00:01:00 -codec copy test02.mp4


----
Best wishes, Bob


More information about the libav-tools mailing list