Ripping DVD with FFMPEG

Concatenate files

With ffmpeg, you can concatenate video/audio files, for example if you want to concat a DVD movie in a single file:

ffmpeg -i concat:VTS_01_0.VOB\|VTS_01_1.VOB\|VTS_01_2.VOB\|VTS_01_3.VOB -vcodec libxvid -qscale 0 ~/my_movie.mp4

Or if you want a single track with some of your favorites songs:

ffmpeg -i concat:song1.mp3\|song2.mp3 -c copy songs.mp3

Rotate video

Execute:

ffmpeg -i 2015-01-01\ 00.*mp4 -vf "transpose=1" out.mp4

For the transpose parameter you can pass:

0 = 90CounterCLockwise and Vertical Flip (default) 1 = 90Clockwise 2 = 90CounterClockwise 3 = 90Clockwise and Vertical Flip

Tips

List available codecs:

ffmpeg -codecs