Why every frame generated from Encoder has PPS/SPS information

Why every frame generated from Encoder has PPS/SPS information

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?

 

5 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

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

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

-Tony

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

-Tony

Hi Tony,

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

Leave a Comment

Please sign in to add a comment. Not a member? Join today