Media (Intel® oneAPI Video Processing Library, Intel Media SDK)
Access community support with transcoding, decoding, and encoding in applications using media tools from Intel. This includes Intel® oneAPI Video Processing Library and Intel® Media SDK.
2927 Discussions

Why every frame generated from Encoder has PPS/SPS information

zheng_s_
Beginner
101 Views

We design a  decoder/encoder feature using SDK, everything works fine. But when we use Wireshark to analyze each package, we realize each frame no matter Key frame or P frame all have the PPS/SPS information. how to control the encoder to generate PPS/SPS for key frame only?

 

0 Kudos
4 Replies
Rūdolfs_B_
Beginner
101 Views

I'm having the same scenario, any advice on whether this can be altered?

Anthony_P_Intel
Employee
101 Views

Please see the "RepeatPPS" feature in the reference manual.  The default is 'on'.

Anthony_P_Intel
Employee
101 Views

I should mention that you the session should be initialized with API 1.8 or greater to change the behavior.

Rūdolfs_B_
Beginner
101 Views

Hi Tony,

thanks a lot, for somewhat reason I didn't notice that field in the reference manual, works like a charm.

Reply