[vlc-devel] Re: Is there a way to force PES alignment to a TS boundary when Streaming UDP?

Christophe Massiot massiot at via.ecp.fr
Wed Mar 15 11:35:57 CET 2006


On Tue, Mar 14, 2006, Robert Scheffler wrote:

> I would like to stream a MPEG-2 TS using UDP out of VLC, but force the PES
> packets to start at the beginning of a TS packet. Some software or hardware
> encoders call this "PES Alignment". Since the TS is 188 bytes per packet,
> there can be a bit of inefficiency in doing this alignment, but if the TS is
> CBR anyway, the NULL packets are added somewhere, just a matter of forcing
> their location. Essentially I want the PUSI completely inside a single TS
> packet.
> 
> The effect of 0.8.4 is that the PES placement is rather random, and drifts
> around since normally the TS is demuxed before analysis. I want to parse and
> analyze the TS without demuxing it, so finding a PUSI that spans TS packet
> boundaries is painful.

You are having this problem only with audio ESes, aren't you ?

-- 
Christophe Massiot.

-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html



More information about the vlc-devel mailing list