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.

H264 & SPS/PPS

taidongha
Beginner
536 Views

Hi,

Ive received the following question from an ISV regarding H.264 encoding with Intel Media SDK.

* According to a file type, they need to make a global header from Sequence Parameter Set (SPS) /Picture Parameter Set (PPS) information for H264 encoding. If this global header is not provided, some devices cant play the encoded file.

* Does the Intel Media SDK provide any API to handle SPS/PPS information?

Can you help with this issue?

Thanks,

-Tai

0 Kudos
1 Reply
Nina_K_Intel
Employee
536 Views
Hello Tai,

Please see mediasdk_man.pdf from MSDK 3.0 Beta, look for mfxExtCodingOptionSPSPPS structure. There are several functions operating with SPS/PPS info, it's possible to both retrieve and set this info.

As far as I understand the ISV needs to extract the raw SPS/PPS header from the encoded stream - for that they should callMFXVideoENCODE_GetVideoParam withmfxExtCodingOptionSPSPPSstructure attached to the mfxVideoParam strutcture.

I hope this is what you are looking for.

Best regards,
Nina
0 Kudos
Reply