The solutions is to find the correct audio track on the DVD and play
that one.  I have about 5 DVD's in my collection that have this problem.
50 First Dates is the example I'll use.  When trying to play this with
mplayer, mplayer picks the "default" audio channel.  Some DVD makers
neglect to set the default audio channel to the one that is most common.
So 50 first dates default audio track is the commentary.  If you do a
perfect rip it brings things over as is, including maybe 7 audio tracks.
And since you bring over all tracks you will get the "default" track
which is commentary so when you play the VOB file you hear the
commentary.
(Ever wonder DVD VOB sizes are so different?  Usually the larger they
are, the more audio tracks they have.)  Selecting various audio tracks
when ripping is a mute point.. it effects nothing.  So when you try to
play back your perfect rip you *still* get the default channel if you
don't specify another audio channel to use.. which is why it still
doesn't work.

So the solution?  Well, for me I toy with mplayer and try various audio
channels until I find the right one.  I then go into the video manager
and set a "unique" playback command for this file with the correct audio
channel to use.  IE: "mplayer -aid 128 %s" is what I use for 50 first
dates.  (Note, I have all my zoom, location, filters and so on defined
in my ~/.mplayer/config file, so when mplayer runs with no options
everywhere, I have things displayed correctly.. I recommend doing this
for others).

Now when I select 50 first dates to play I get the right audio track.

If you use a dvd playback program with menu support (And you use the
menu support) Then you'll be fine because when you select "Play Now" it
autoselects the right track (Which for 50 first days is *not* the
default track.  

Now for transcoding and getting the right audio channel, I've never done
this and am not sure what may go on at all.  If anyone knows please let
us know.

--Brandon

On Thu, Feb 03, 2005 at 01:08:52PM -0600, Paul Leppert wrote:
> I don't have a solution, per se.  I had the same problem, so I tried
> xine and that worked as expected.  I'd certainly be interesting in a
> general solution for mplayer, but I tend to like xine better anyway.
> 
> phlepper
> 
> 
> On Wed, 2 Feb 2005 11:57:02 -0700, Blammo [doh] <[EMAIL PROTECTED]> wrote:
> > Spoke a bit too soon.
> > 
> > While this resolved the audio problems on the .VOB's, I now have no
> > audio for anything NOT a VOB that MythVideo (aka mplayer) is trying to
> > play back.
> > 
> > Anyone have any better ideas on how to handle this?
> > 
> > 
> > On Tue, 1 Feb 2005 14:11:06 -0700, Blammo [doh] <[EMAIL PROTECTED]> wrote:
> > > Just thought I'd share this with others on this list. It's not really
> > > MythVideo's problem (at least that I can tell) but it will be common
> > > to anyone trying to use Myth to rip from DVD.
> > >
> > > The problem:
> > > DVD ripped to HD as a PERFECT, when played back, would choose the
> > > wrong audio track. For example, the movie "Spartan", when played back,
> > > choose the 2:0 Directors Commentary, rather than the 5:1 AC3 track. It
> > > didn't matter how many times I ripped it, or how many times I went
> > > back and chose a different audio track source, it would always
> > > play-back the 2:0 commentary.
> > >
> > > I was looking around in MPLAYER docs today, and I found something
> > > called AID, or Audio ID.
> > >
> > > ------------------------
> > >
> > >       -aid <id> (also see -alang option)
> > >              Select  audio  channel  [MPEG:  0-31 AVI/OGM: 1-99 ASF/RM: 
> > > 0-127
> > >              VOB(AC3): 128-159 VOB(LPCM): 160-191 MPEG-TS 17-8190].   
> > > MPlayer
> > >              prints  the  available  IDs  when  running in verbose (-v) 
> > > mode.
> > >              When playing an MPEG-TS stream, MPlayer/Mencoder  will  use  
> > > the
> > >              first program (if present) with the chosen audio stream.
> > >
> > > -------------------------
> > >
> > > When I checked with MPLAYER, here's what I saw:
> > >
> > > Trying demuxer 2 based on filename extension
> > > system stream synced at 0xD (0)!
> > > ==> Found video stream: 0
> > > ==> Found audio stream: 129
> > > ==> Found audio stream: 128
> > > MPEG Stream reached EOF
> > > ds_fill_buffer: EOF reached (stream: video)
> > >
> > > Opening audio decoder: [liba52] AC3 decoding with liba52
> > > dec_audio: Allocating 3840 bytes for input buffer.
> > > dec_audio: Allocating 6144 + 65536 = 71680 bytes for output buffer.
> > > Using SSE optimized IMDCT transform
> > > AC3: 2.0 (stereo)  48000 Hz  192.0 kbit/s
> > > A52 flags before a52_frame: 0x2A
> > > A52 flags after a52_frame: 0x2
> > > Using MMX optimized resampler
> > > AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 24000->192000 (192.0 kbit)
> > > Selected audio codec: [a52] afm:liba52 (AC3-liba52)
> > >
> > > Which means, by defailt, it was using the 2.0 mix, the directors 
> > > commentary.
> > >
> > > However, when specified as a command line:
> > >
> > > mplayer -aid 128 Spartan.vob
> > >
> > > here's what I see:
> > >
> > > Opening audio decoder: [liba52] AC3 decoding with liba52
> > > dec_audio: Allocating 3840 bytes for input buffer.
> > > dec_audio: Allocating 6144 + 65536 = 71680 bytes for output buffer.
> > > Using SSE optimized IMDCT transform
> > > AC3: 5.1 (3f+2r+lfe)  48000 Hz  448.0 kbit/s
> > > A52 flags before a52_frame: 0x2A
> > > A52 flags after a52_frame: 0xA
> > > Using MMX optimized resampler
> > > AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 56000->192000 (448.0 kbit)
> > > Selected audio codec: [a52] afm:liba52 (AC3-liba52)
> > >
> > > Viola!
> > >
> > > So I went to the Video Playback parameters within Myth, and added -aid
> > > 128 (which is standard for US AC3 5.1 apparently) and everything works
> > > like a charm.
> > >
> > > I could see when playing things that don't have a "128" value, or when
> > > there's DTS available, it would cause a problem, so perhaps I should
> > > put it in the command-line of the movie itself rather than for the
> > > whole Mythbox, but for NOW, it's working.
> > >
> > > Anyway, I've gotten so much from this list, wanted to share a little back.
> > >
> > 
> > 
> > _______________________________________________
> > mythtv-users mailing list
> > [email protected]
> > http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
> > 
> > 
> > 
> 
> 
> -- 
> I hear and I forget. I see and I remember. I do and I understand.  --  
> Confucius

> _______________________________________________
> mythtv-users mailing list
> [email protected]
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


-- 
_______________________________________________
mythtv-users mailing list
[email protected]
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

Reply via email to