Media (Intel® oneAPI 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 sign-in experience has changed to support enhanced security controls. If you sign in, click here for more information.
2999 Discussions

How to force HEVC encoder to insert SPS/PPS info to every idr frame?

Zheng_L_
Beginner
484 Views

I use MSDK's HW HEVC Encoder plugin to encode hevc stream and send it to a udp socket to do multicast streaming,so I require every idr frame has sps/pps info,so how to force encoder to insert sps/pps to every idr frame?

0 Kudos
1 Reply
Mark_L_Intel1
Moderator
484 Views

Hi Zheng,

I think you can do it, you can refer to the following posts for detailed information:

Dmitry in this post says 2 ways to add SPS/PPS into the HEVC stream.

Zhao in this post mentioned how to force the SPS/PPS in IDR.

This post is older, but Petter also described how to force the SPS PPS in IDR frame.

You can refer to developer reference at page 64 for how to use mfxExtCodingOptionSPSPPS structure.

Mark

Reply