Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Celio_A_
Beginner
82 Views

noGPB Question

 

Hi

I'm trying to figure out to add to sample_multi_transcode noGPB (regular P frames) in HEVC Software encoding mode

I tryed to follow sample_encode that have the noGPB option but it dont work

Can someone show me some code examples for sample_multi_transcode? I want to use for transcoding with sample_multi_transcode because

it are more fast for encoding than sample_encode, sample_encode need read from disk the YUV data

Regards

 

0 Kudos
2 Replies
Jeffrey_M_Intel1
Employee
82 Views

In pipeline_transcode.cpp, mfxStatus CTranscodingPipeline::InitEncMfxParams(sInputParams *pInParams)

(around line 2163 in the version I am looking at)

change

    bool addCodingOpt3 = false;
    

to

    bool addCodingOpt3 = true;
    m_CodingOption3.GPB = MFX_CODINGOPTION_OFF;

This will turn of general P/B frames to enable a mix of P and B.  I left out plugging together changes throughout the code to add a new command line option but hopefully this is a start.

Celio_A_
Beginner
82 Views

OK i managed to add noGPB to sample_multi_transcode but it only work for VBR, AVBR, i tested it and CQP don't work it just Stay GPB like M= 24 N=24 and for VBR, AVBR its working M=24 N=4

​Regards

 

Reply