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.
3069 Discussions

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

Zheng_L_
Beginner
1,011 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
1,011 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

0 Kudos
Reply