MISB ST1402 (available at https://gwg.nga.mil/misb/docs/standards/ST1402.2.pdf) 
has
two kinds of KLV metadata - synchronous and asynchronous. These patches provide
initial support for that.
Synchronous is stream_type = 0x15 for "Metadata carried in PES packets" with
stream_id = 0xFC for "metadata stream."

Asynchronous is stream_type = 0x06 for "PES packets containing private data" 
with
stream_id = 0xBD for "private_stream_1."

We do have some support already (on writing), see
https://github.com/FFmpeg/FFmpeg/blob/master/libavformat/mpegtsenc.c#L1396
for the stream_id handling. We need to be able to set the stream_type as well 
though.

Brad

Brad Hards (2):
  Add constants for KLV pseudo-profile.
  Set stream_id correctly based on KLV profile selected.

 libavcodec/avcodec.h    | 3 +++
 libavformat/mpegtsenc.c | 6 ++++++
 2 files changed, 9 insertions(+)

-- 
2.17.1

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to