transcode_demo
2016-10-18 14:23:12 0 举报
transcode
作者其他创作
大纲/内容
DecodePreInit(); VPPPreInit();PreEncPreInit(); EncodePreInit();
CTranscodingPipeline.transcode()
pPipeline-Run()
m_pmfxSession-InitEx(initPar)
m_parser.ParseCmdLine();
EncodeOneFrame();
Launcher transcode;
m_pBSStore-GetNext();
pBSProcessor-PrepareBitstream();
CTranscodingPipeline
Launcher::Init
transcode
m_pmfxDEC-Init();m_pmfxVPP-Init();m_pmfxPreENC-Init();m_pmfxENC-Init();
transcode.Run();
RunFrameVPPAsync()
pParentPipeline-Join(m_pmfxSession.get());
m_pmfxSession-QueryIMPL();
m_pmfxSession-SetFrameAllocator(m_pMFXAllocator);
ThranscodeRoutine
CreateSafetyBuffers();// each pair of source and sink has own safety buffer
transcode.Init();
SetSurfaceAuxIDR();
m_pBSProcessor-GetInputBitstream(&m_pmfxBS);
Transcode();Decode();Encode();//choose one to run
CTranscodingPipeline.Run()
m_pmfxSession.reset(new MFXVideoSession);
CTranscoding.Run
PreENC is related to LA . LA :[-la] - use the look ahead bitrate control algorithm (LA BRC).Look Ahead. Special encoding mode where encoder performs pre analysis of several frames before actual encoding starts.
sample_multi_transcode
DecodeFrameAsync()
PutBS()
收藏
收藏
0 条评论
下一页