PDA

View Full Version : Trouble with audio track (using Linux)


elektronaut
5th March 2009, 23:17
Hi,

I just transferred a movie to my hard disk from a DVD using Linux (Ubuntu). It ended in a Matroska file (using Handbrake via a script from this page: http://avi.alkalay.net/2008/03/mpeg4-dvd-rip.html) and contains the movie with the default language (it's dubbed). I wanted to add the original language. So I tried both mplayer (following http://ubuntuforums.org/showthread.php?t=273635) and tcextract (following http://dominia.org/djao/dvdsub.html#ss4.4). Both resulted in an unusable audio track, no matter if AC3 was extracted directly or if the audio track was extracted to a WAV file and later converted to an OGG file. While playing back with this track chosen, there is a lot of distortion in the sound. In case of AC3, mkvmerge is also showing a lot of error messages, saying that "non-AC3 data" is contained in the extracted AC3 track.

If I play the DVD directly, there are no problems with the audio track in question.

Any ideas?

elektronaut
6th March 2009, 09:50
I solved this by running Handbrake with the "-a 1,2" option - this way both audio tracks are integrated into the mkv from the start. No need to use mplayer or tcextract. Strange that Handbrake gets it right and the others don't.