mencoder: dvd rip to avi, no sound
I have a dvd rip in /path/to/dvdrip, with the .vob files in /path/to/dvdrip/VIDEO_TS, which I want to encode to avi.
First I run -identify:
mencoder -v -identify -dvd 1 -dvd-device /path/to/dvdrip/VIDEO_TS
which shows that there are 2 audio tracks:
aid 128: en
aid 129: hu
(The hu audio is actually in the dvd rip, as I can play it with hu sound by windows players like bsplayer.)
I want to use the hu (aid 129) audio, so I do the first pass as follows:
mencoder -dvd 1 -dvd-device /path/to/dvdrip/VIDEO_TS -aid 129 -ovc frameno -o frameno.avi -oac mp3lame ....
The result: "no audio stream found" error, and frameno.avi will contain no audio!
I get no sound either if I use -alang hu,en instead of -aid 129.
Other findings: if I choose -aid 128 and -oac mp3lame, everything is OK (except that I want the hu audio, not the en one).
However, if I choose -aid 128 and -oac copy, the (en) audio is there, but it is extremely distorted.
What I want to have is the hu audio in aid 129, but it seems that mencoder cannot find it in spite of the fact that it can identify it.
How is this possible, and what is the workaround?
Last edited by J_Szucs; 04-08-2004 at 09:15 AM.