Skip to content

Draft: mpegtsdemux: initial support for synchronous KLV

Brad Hards requested to merge bradh/gst-plugins-bad:sync_klv into master

This adds support for KLV metadata in PES packets (stream_type of 0x15), complementing the existing PES packets containing private data (0x06) KLV support. See ISO/IEC 13818-1:2018(E) Section 2.6.60 for the descriptor format and Section 2.12.4 for the packet format.

This is required for MISB ST 1402.2 decoding of synchronous metadata.

The implementation is heavily based on patches at #642 (which also contains test data) and #434 (which I think I've addressed the issues for).

Resolves #434.

It isn't obvious that there is a single use that the metadata Access Unit wrapper header (5 bytes at the start of the payload) within GStreamer, so it is passed to the user along with a flag value to say it is present.

Ideally this would have a test case, but I'm not sure how to do that. If it is required, I may need some guidance / pointer.

Edited by Brad Hards

Merge request reports