[MPlayer-dev-eng] Re: demux_ts and AC3 help
Arpi
arpi at thot.banki.hu
Sun Apr 6 13:54:35 CEST 2003
Hi,
> The sample I'm using is this:
>
> http://www.hdpg.co.kr/hdtv/jewelry1.tp
>
> (with 2 channels sound).
>
> The 0x1bd is present in the PES header, you can see it with mplayer -v -v.
>
> I'll re-check.
01bd is tehre it's ok, but it should be followed by sub-stream id:
hmm it seems it's already handled in demux_ts.c:
track = p[0] & 0x0F; /* hack : ac3 track */
/*
* we check the descriptor tag first because some stations
* do not include any of the ac3 header info in their audio tracks
* these "raw" streams may begin with a byte that looks like a stream type.
*/
if( //(m->descriptor_tag == 0x81) || /* ac3 - raw */
(p[0] == 0x0B && p[1] == 0x77)) /* ac3 - syncword */
{
A'rpi / Astral & ESP-team
--
Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu
More information about the MPlayer-dev-eng
mailing list