[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xine-user
Subject:    Re: [xine-user] No audio on TS stream from KQED
From:       Leif Huhn <leif () dkstat ! com>
Date:       2006-05-04 19:53:27
Message-ID: 20060504195327.GK9262 () gateway ! dkstat ! com
[Download RAW message or body]

On Wed, May 03, 2006 at 11:35:52AM +0200, Christophe Thommeret wrote:
> Le Mercredi 03 Mai 2006 09:54, Leif Huhn a écrit :
> > Hi.
> >
> > I use pchdtvr to record HDTV.  Recently KQED changed something about
> > their transmission and I no longer get audio through xine.  Mplayer
> > plays video and audio but mplayer is always jerky on my system.
> >
> > So, why won't xine play the audio?  Here's a 5 meg sample of the TS:
> >
> > http://secure.dkstat.com/~huhnl/pbs.ts
> >
> 
> Sound is ac3 2.0 48khz 384kb/s.
> xine does not autodetect ac3 in TS, but retrieve such info from PAT/PMT, and 
> your sample does not contain these tables.
> So, either your recording app has to to insert PAT/PMT or you have to remux it 
> to PS ( ts2ps from dvb-mpegtools can do that : 
> http://www.metzlerbros.org/dvb/index.html)
> 
> -- 
> Christophe Thommeret

Thanks for the tip about ts2ps.  It works.  However, with regards to
my original file, I think it does have PMT tables.  I recompiled
xine-lib, uncommending these lines in demux_ts.c:

#define TS_LOG
#define TS_PMT_LOG
#define TS_PAT_LOG

#define TS_READ_STATS // activates read statistics generation
#define TS_HEADER_LOG // prints out the Transport packet header.

Then I ran xine on my sample.  It seems to find a PMT table in my
pbs.ts file but something goes wrong:

demux_ts: PMT prog: 0x0002 pid: 0x0040
demux_ts: PMT table_id:  2
              section_syntax: 1
              section_length: 171 (0x0ab)
              program_number: 0x0002
              version_number: 6
              c/n indicator: 1
              section_number: 0
              last_section_number: 0
ts_demux: wr_ptr: 0x8e1dc2f, will be 0x8e1dc23 when finished
ts_demux: have all TS packets for the PMT section
demux_ts: PMT CRC32 ok.
demux_ts: found registration format identifier: 0x41432d33
demux_ts: found ISO 639 lang: eng
demux_ts: PMT unknown stream_type: 0x81 pid: 0x0044
05 04 41 43 2d 33 a3 17 01 65 6e 67 01 00 00 0f 53 65 63 6f 6e 64 61
72 79 20 41 75 64 69 6f 81 06 08 28 05 00 1f 01 0a 04 66 72 65 00
demux_ts: PMT pcr pid 0x0041
demux_ts: DVBSUB: deselecting lang
load_plugins: plugin spudvb will be used for spu streamtype 03.

Any ideas?  Thanks,

Leif


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd_______________________________________________
xine-user mailing list
xine-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xine-user

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic