- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page