Converting DVD files to MP4
Video files on a DVD are usually in the video_ts directory and have the extension VOB.
On Windows, the easiest way to do this is by copying the files in the video directory on the DVD to a folder in your hard drive, then running the commands below, then deleting the source VOB files,
NOTE to ignore: surely, you can do it by adding absolute paths, but that would force me to explain much more here. with find the directory and copy the path then append it here then copy the names and append them to the path and all that good stuff, so why not just make it simple with copy then delete the source.
Assuming you have ffmpeg installed and in your path, you would execute the command like so, concatenating all the video files in the DVD
cd c:\directory_where_you_put_the_vob_files ffmpeg -i "concat:VTS_01_1.VOB|VTS_01_2.VOB|VTS_01_3.VOB|VTS_01_4.VOB|VTS_01_5.VOB" outfile.mp4
Another note to ignore, On a linux box (The above works on both linux and windows), you can concatinate the VOB files then pipe them into ffmpeg like so
cat VTS_01_1.VOB VTS_01_2.VOB VTS_01_3.VOB VTS_01_4.VOB VTS_01_5.VOB | ffmpeg -i - outfile.mp4
Thank you!
Thank you so much for this tip and tutorial! Awesome! I never knew that there were internal commands within ffmpeg such as “concat”…. Very helpful indeed! 🙂