[MPlayer-dev-eng] [PATCH] initial transport stream demuxer

Nico Sabbi nsabbi at libero.it
Thu Feb 20 10:45:27 CET 2003


Arpi,   the chaining still doesn't recognize audio, instead it sees the PES stream as an ES 
video stream.

The format I use for writing to the video fifo (the only one I use) is simply a sequence of 
PES audio and video packets, e.g.
	
		APES1 | VPES1 |  VPES2 |  VPES3 |  APES2
and so on.

Furthermore, there are a couple of things to consider:

1) in any case I need to do at least a simple pes parsing  to determine is the pes is 
audio/video (and the right one) or DVB subtitle (that obviously   I won't pass along to 
demux_mpg).

2) chaining  the demuxers requires more resources than a single demuxer.

So my proposal is to isolate the pes-parsing function in demux_mpg and make it non 
static, so I can call it from demux_ts without duplicating code and without using chaining.

What's your opinion?

Thanks,
		Nico

 








More information about the MPlayer-dev-eng mailing list