[Mplayer-dvb] LPCM PES

Arpi arpi at thot.banki.hu
Tue Jan 22 03:05:24 CET 2002


Hi,

Thank you for the info, I've added support to mplayer. And also
rewrote/cleanup my old messy LPCM code.

> mocm at convergence.de writes:
>  > 
>  > 3) The LPCM header is as follows:
>  >    id                                                     8 bit
>  >    number of frames                                       8 bit
>  >    first acces unit pointer, i.e. start of audio frame   16 bit
>  >    audio emphasis on-off                                  1 bit
>  >    audio mute on-off                                      1 bit
>  >    reserved                                               1 bit
>  >    audio frame number                                     5 bit
>  >    quantization word length                               2 bit
>  >    audio sampling frequency (48khz = 0, 96khz = 1)        2 bit
>  >    reserved                                               1 bit
>  >    number of audio channels - 1 (e.g. stereo = 1)         3 bit
>  >    dynamic range control (0x80 if off)                    8 bit
>  > 
> 
> Ok, we found out that the we can play 32 and 44 kHz lpcm.
> So we added that to the header as 44kHz = 2 and 32kHz = 3.
> I added support for that to ntuxplayer. You can find a routine called
> pcm_play in apps/tuxzap/src/dvb_formats.c in the driver package.
> 
> Marcus


A'rpi / Astral & ESP-team

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



More information about the MPlayer-dvb mailing list