Hi,
I want to encode DVDs and create MKV video files so that both video, soundtracks and subtitles are in the same file. However, I have a problem occuring for some DVDs (not all ones). Indeed, the audio of the result file is not synchronised with the video.
Here is how I proceed:
- To extract audio I run:
$> mplayer dvd:// -dumpaudio -dumpfile audio.ac3
- To encode the video I use mencoder:
$> mencoder dvd:// -ovc x264 -x264encopts ... -o video.264
Finally, when I create the container with mkvmerge, I get an audio delay.
With mkvmerge, I can add a "--sync" option. However, is there a way to find the proper sync value?
Thank you very much!