Bob65536
17th August 2010, 21:41
Hi I'm planning on converting a bunch of DVD movies I have on my hard drive. These are the steps I take for each one.
Make a list of all the VOB files.
Demux the ac3 audio from the VOBs using DGMPGDec.
dgindex -IF=[in_X.VOB] -OF=[audio_X] -OM=2
Transcode the VOBs into an mkv using x264's internal decoder.
x264-64 --preset slower --crf 19 -o video_X.mkv in_X.VOB
Mux the video and ac3 with mkvmerge using the --sync delay from the ac3 file.
mkvmerge -o mov_X.mkv video_X.mkv --sync 0:DELAY audio_X.ac3
Merge the mkv files using mkvmerge.
mkvmerge -o final.mkv mov_1.mkv +mov_2.mkv +mov_3.mkv +mov_4.mkv --track-order 0:1,0:2
--append-to 1:1:0:1,2:1:1:1,3:1:2:1,1:2:0:2,2:2:1:2,3:2:2:2
I have done this to a few movies and the output seems alright to me. I used an avisynth script and mkvmerge a while back to convert some movies and I had audio sync issues on some DVDs. So I would like to make sure that I'm transcoding the DVDs correctly, and in particular I want to make sure I don't have any potential problems with the audio.
:thanks:
Make a list of all the VOB files.
Demux the ac3 audio from the VOBs using DGMPGDec.
dgindex -IF=[in_X.VOB] -OF=[audio_X] -OM=2
Transcode the VOBs into an mkv using x264's internal decoder.
x264-64 --preset slower --crf 19 -o video_X.mkv in_X.VOB
Mux the video and ac3 with mkvmerge using the --sync delay from the ac3 file.
mkvmerge -o mov_X.mkv video_X.mkv --sync 0:DELAY audio_X.ac3
Merge the mkv files using mkvmerge.
mkvmerge -o final.mkv mov_1.mkv +mov_2.mkv +mov_3.mkv +mov_4.mkv --track-order 0:1,0:2
--append-to 1:1:0:1,2:1:1:1,3:1:2:1,1:2:0:2,2:2:1:2,3:2:2:2
I have done this to a few movies and the output seems alright to me. I used an avisynth script and mkvmerge a while back to convert some movies and I had audio sync issues on some DVDs. So I would like to make sure that I'm transcoding the DVDs correctly, and in particular I want to make sure I don't have any potential problems with the audio.
:thanks: