How to embed metadata in mpeg2ts

I want to embed metadata about a specific stream using mpeg2ts. which is the best field in the traffic flow for embedding this information. Can I insert this information in the adaptation field of the mpeg2ts header.

Thank. Guru

+3
source share
1 answer

There are two ways to do this in the MPEG 2 standard.

  • You can define a user table. See Table 2-26: table_id 0x40-0xFE See section 2.4.4.10 Syntax of the Private Section.

  • Or you can define a private user flow. See Table 2-29 flow identifier under the PES packet from 0x80 to 0xFF).

See ISO / IEC 13818-1 MPEG Systems 2.

+1
source

All Articles