GNU/Linux Desktop Survival Guide
by Graham Williams |
|||||
Crop a Video |
Here we crop the input video from the beginning to 11.6 seconds in:
$ ffmpeg -i input.mp4 -ss 00:00:00 -t 00:00:11.6 -async 1 cut.mp4 |
To extract a particular section of the avi file (starting at 7 minutes and 20 seconds into the video and stopping at 8 minutes and 20 seconds):
$ avisplit -i a.avi -t 0:7:20.0-0:8:20.0 |
To extract a particular section of a video and convert it to a sequence of png files (screenshots):
$ avisplit -i a.avi -t 0:9:14.0-0:9:16.0 $ mplayer -vo png a.avi-0000 |