Friday, June 24, 2011

FFMPEG to truncate video


[root@localhost] ffmpeg -i [inputfile] -vcodec copy -acodec copy  -ss [start] -t [duration] [outputfile]

Seems to work faster than the mencoder method

1 comment:

Andrew MacLeod said...

I found that the position of the -i (input) option is significant, and must go before the codec switches, i.e.:

ffmpeg -i [inputfile] -vcodec copy -acodec copy-ss [start] -t [duration] [outputfile]