[MPlayer-users] wrong audio chanell and subtitles on DVD playback

Arpi arpi at thot.banki.hu
Thu Oct 18 21:36:33 CEST 2001


Hi,

> arpi at thot.banki.hu said:
> > before you ask why is vob audio counted from 128 - ask mpeg group.
> 
> In some css_cat program I have, it does this to select the AC3 track:
> 
> 	int audiotrack = param.do_ac3 - 1;
> 	if (pes[hdrlen] == (0x80|(audiotrack & 7))) {
> 		...
> 	}
> 
> If the high bit of the audio stream byte is always 1, then you don't

it is NOT always 1. check mplayer sources.
as i said in my prev mail in this topic:
aid:
0-31     mpeg audio (layer 1,2,3)
128-159  ac3 or dts audio
160-191  subtitle

all values from 0-255 are used, but i dunno what are the others.
they are mainly used by dvd menus etc.

as most dvd has no mpeg audio, only ac3, it's ok for a dvd ripping prog.
but mplayer also supports svcd and dvb too, they have mpeg audio.

> It seems that would make it a lot easier for everyone to find the right
> audio track.
i won't change. punkt.


A'rpi / Astral & ESP-team

--
mailto:arpi at thot.banki.hu
http://esp-team.scene.hu



More information about the MPlayer-users mailing list