Handling of private PES stream
Posted: 08 Oct 2009 15:14
Hi all,
I'm interested in developing a way to extract data from a private PES stream. I have a transport stream which contains a private stream with KLV (Key Length Value) data. I need this data in sync with the video on an output such that I can interpret this data and display it together with the video (but not on the video itself like subtitles).
In the implementation the KLV data is added to the encoded video using a iVDO h264 encoder. The KLV data is provided in udp packets to this encoder. The content of the private PES stream seems fairly specific such that I do not expect it to be part of VLC itself, just another output (vout ?) which will allow the content of the private PES stream to be output on an UDP socket for instance.
I have followed the instructions to compile VLC on win32 was was able to do so. I have found the location where the transport stream is decoded and the private stream is handled to "unknown". I'll continue to add code to handle the private pes (0x06) and add a module to handle the resulting stream.
Any pointers as to whether there have been plans to handle private streams in a more general way or how to properly add a vout which will go to a udp instead of audio/video are welcome.
K
I'm interested in developing a way to extract data from a private PES stream. I have a transport stream which contains a private stream with KLV (Key Length Value) data. I need this data in sync with the video on an output such that I can interpret this data and display it together with the video (but not on the video itself like subtitles).
In the implementation the KLV data is added to the encoded video using a iVDO h264 encoder. The KLV data is provided in udp packets to this encoder. The content of the private PES stream seems fairly specific such that I do not expect it to be part of VLC itself, just another output (vout ?) which will allow the content of the private PES stream to be output on an UDP socket for instance.
I have followed the instructions to compile VLC on win32 was was able to do so. I have found the location where the transport stream is decoded and the private stream is handled to "unknown". I'll continue to add code to handle the private pes (0x06) and add a module to handle the resulting stream.
Any pointers as to whether there have been plans to handle private streams in a more general way or how to properly add a vout which will go to a udp instead of audio/video are welcome.
K