Extract (cut) a clip with mencoder and ffmpeg

published May 06, 2010 11:40   by admin ( last modified May 06, 2010 11:40 )

ffmpeg -sameq -ss 00:02:00 -t 8 -i long.mov short.mov

ffmpeg -y -i input.avi -ss 30 -t 10 -vcodec copy -acodec copy output.avi

mencoder -ss 1284 -endpos 102 movie.avi -oac copy -ovc copy -o movie-clip.av

 

mencoder also accepts hh:mm:ss format

mencoder -ss 1284 -endpos 102 movie.avi -oac copy -ovc copy -o movie-clip.avi



Läs mer: handy mencoder/ffmpeg commands