GNU/Linux Desktop Survival Guide by Graham Williams |
|||||
Video Manipulation |
To merge multiple avi files into one big
avi file:
$ avimerge -i a1.avi a2.avi a3.avi -o a.avi |
To split an avi file up into smaller chunks (a-0000,
a-0001, etc):
$ avisplit -i a.avi -s 700 |
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 |
To adjust the synchronisation of the audio, where the video appears to
lag behind the audio:
$ avisync -i a.avi -o a-sync.avi -n -5 |