[libdvbpsi-devel] Demux TS and get access to PES data

Wiser, Tyson TWiser at logostech.net
Thu Apr 16 14:34:29 CEST 2015


> libdvbpsi is a simple PSI parser that only parses the MPEG-TS layer of a stream. It does not handle the packetized elementary stream (PES). You will have to code that yourself.

Thank you for your reply.  I wasn't expecting libdvbpsi to handle the PES packets.  I simply want a way to get the complete PES packet without any MPEG-TS headers at the beginning or mixed in the middle.  I was hoping this would be something simple.
 
 
> Take a look at the source code of VLC especially modules/demux/ts.c.

Thank you for pointing that out.  This is a much more complicated example than I was hoping for, partly due to the fact that it handles much more than I need to in my case.  I will have to spend some more time looking at it as at a cursory glance it is still not clear to me how libdvbpsi is used to get access to the PES packets.



More information about the libdvbpsi-devel mailing list