[vlc] MPEG2 transport stream handling ??
Moody, Paul G
Paul.G.Moody at team.telstra.com
Wed Apr 23 01:16:02 CEST 2003
Hello,
Q1 when I feed a multiplex TS stream to VLC it cannot process the TS unless it begins exactly on a packet header ... ie 0x47 sync byte. For instance my test file mpeg2.ts had 36 bytes of data before the first valid packet header. I had to dd if=mpeg2.ts of=mpeg2A.ts bs=36 skip =1 to 'clean' off the 36 bytes before VLC would play the stream. Additionally the stream breaks if there are further missing syncs /short packets /long packets in the stream. In real life there is never a clean feed unless you are at the studio :).
Q2 how do I select a particular program ( video + audio ) PID from the multiplex TS. VLC seems to pick out the first one it finds and play that. For that matter how do I see the contents of the multiplex stream. ( is there a demux / PSI process ?)
Q3 How do I feed VLC from a pipe? I used a mkfifo pipe however VLC keeps reporting EOF and buffer writes / possible memory leak. It works beautifully from a file but not a pipe .. Huh ?.
Q4 Looking through the code there seems to be multiple threads running ... is there some sort of architectural diagram describing the thread interactions ?
PS my thanks for an excellent project.
> Paul Moody
>
>
--
This is the vlc mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/support/lists.html
If you are in trouble, please contact <postmaster at videolan.org>
More information about the vlc
mailing list