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
