Media (Intel® Video Processing Library, Intel Media SDK)
Access community support with transcoding, decoding, and encoding in applications using media tools like Intel® oneAPI Video Processing Library and Intel® Media SDK
Announcements
The Intel Media SDK project is no longer active. For continued support and access to new features, Intel Media SDK users are encouraged to read the transition guide on upgrading from Intel® Media SDK to Intel® Video Processing Library (VPL), and to move to VPL as soon as possible.
For more information, see the VPL website.

Payload.Type when encoding MPEG2?

redshift90
Beginner
433 Views

I'm trying to insert captions while encoding MPEG2. 

According to the documentation Payload.Type is set to 4 for AVC but what would it be for MPEG2?

Seems somewhere I read it should be the userdata start code so should it be 0x01B2?

0 Kudos
1 Reply
Petter_L_Intel
Employee
433 Views

Hi,

We do not have specific details on how to insert MPEG-2 closed captions as payload but we do provide some examples of how to do this for H.264 in the Media SDK Developers Guide and also in this forum post: http://software.intel.com/en-us/forums/topic/311805 

I suggest implementing MPEG2 CC payload insertion in a similar fashion.

This document may also help: http://www.atsc.org/cms/standards/a53/a_53-Part-4-2009.pdf 
From that document it looks like you are correct in that picture user data start code is 0x01B2.

If you want, please let us know how you progress. MPEG-2 specific CC payload details may be useful for other developers on this forum. 

Regards,
Petter 

0 Kudos
Reply