Monday, April 21, 2014

Crop a video file using ffmpeg

If you want to crop the file beyond 1 min then use the -t flag and as follows. It will generates the output.avi video with the first 60 seconds of the input.avi

ffmpeg -t 60 -i input.avi -an -vcodec copy output.avi

No comments: