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.

Setting

Rosen__Daniel
Beginner
93 Views

For H.264 encoding is there a way to set the SPS variable: log2_max_pic_order_cnt_lsb_minus4?

I guess one could set build an SPS / PPS, structure and load that, that there are no support routines are there?

0 Kudos
1 Reply
Sravanthi_K_Intel
93 Views

Hello.

Thanks for the question. The API to specify SPS/PPS structures allows the user to provide custom SPS/PPS parameters using the mfxExtCodingOptionSPSPPS structure. The actual SPS/PPS buffer is to be filled by the user in the mfxU8 *SPSBuffer and mfxU8 *PPSBuffer pointers according to the definitions in the AVC references, and the SDK does not provide such fine-grained APIs to control the SPS/PPS buffers itself.

Hope this answers your question. 

Reply