On Thu, 27 Dec 2012 00:04:33 -0500, Daniel Antonio <[email protected]> wrote: > Hi, > > In my work, I use edit decision list (or EDL). I need process a huge video > file and "cut" the unnecesary sections, but this command don't work: > > avconv -y -i source.mp4 -ss 00:00:09.351 -t 00:00:02.226 -ss 00:00:12.597 > -t 00:00:05.065 target.mp4 > > The result of this command, is it only takes the last "time instruction" > 00:00:12.597-00:00:05.065, and skips all others. Is possible use "avconv" > to make this task? >
Not like this. You might be able to accomplish what you want by using the 'select' filter. I.e. -vf 'select=gte(t\,<first start time in seconds>)*lt(t\,<first end time in seconds>)+gte(t\,<second start time in seconds>)*lt(t\,<second end time in seconds>)+......' In this scheme a setpts filter will probably also be needed at the end to remove the gaps in timestamps (e.g. 'setpts=N/(<framerate>*TB)' to make it constant framerate). -- Anton Khirnov _______________________________________________ libav-tools mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-tools
