Payload.Type when encoding MPEG2?

Payload.Type when encoding MPEG2?

redshift90's picture

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?

2 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.
Petter Larsson (Intel)'s picture

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 

Login to leave a comment.