DEV Community

loading...

How to convert DVD to mov with ffmpeg

Ko Takagi
I'm a freelance web developer from Japan. Since I'm studying English, I started writing articles here.😆 I love internet💻, baseball⚾, rugby🏉, shogi☖, cat🐈, and sweets🍰
Updated on ・1 min read

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!👍

Discussion (0)