DEV Community

Ko Takagi
Ko Takagi

Posted on • Edited on

How to convert DVD to mp4 with ffmpeg

I'll write it down how to convert DVD to mov with ffmpeg as a reminder.✍️

Install ffmpeg

brew install ffmpeg
Enter fullscreen mode Exit fullscreen mode

How to convert

Browse for the DVD files in the Finder and get the .vob file name you want to convert.

For example, if you want to convert a file named VTS_01_1.VOB.

ffmpeg -i VTS_01_1.VOB -b:v 1500k -r 30 -vcodec h264 -strict -2 -acodec aac -ar 44100 -f mp4 convert.mp4
Enter fullscreen mode Exit fullscreen mode

For example, you want to combine and convert the files VTS_01_1.VOB, VTS_01_1.VOB, and VTS_01_1.VOB.

ffmpeg -i "concat:VTS_01_1.VOB|VTS_01_2.VOB|VTS_01_3.VOB" -b:v 1500k -r 30 -vcodec h264 -strict -2 -acodec aac -ar 44100 -f mp4 convert.mp4
Enter fullscreen mode Exit fullscreen mode

Great!👍

Top comments (1)

Collapse
 
ambiguousshelby profile image
Tweetshit

Hello, can I use the codec copy option here to fasten the conversion process?
Please help, thanks.