[Mplayer-dvb] LPCM PES

mocm at convergence.de mocm at convergence.de
Mon Dec 31 21:37:40 CET 2001


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




More information about the MPlayer-dvb mailing list