- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi.
the MFXVideoENCODE_Init function failed when FourCC set to MFX_FOURCC_YV12;
Is that mean QuickSync doesn't support YV12 input or something I missed?
The source is:
m_mfxEncParams.mfx.FrameInfo.FourCC = MFX_FOURCC_NV12; //OK //m_mfxEncParams.mfx.FrameInfo.FourCC = MFX_FOURCC_YV12; //NG m_mfxEncParams.mfx.FrameInfo.ChromaFormat = MFX_CHROMAFORMAT_YUV420; m_mfxEncParams.mfx.FrameInfo.PicStruct = MFX_PICSTRUCT_PROGRESSIVE; status = MFXVideoENCODE_Init(session, &m_mfxEncParams);
The enviroment is;
Intel(R) HD Graphics 4600 10.18.15.4256 Active
Intel(R) Core(TM) i7-4710HQ CPU @ 2.50GHz
Intel(R) Media SDK 2016
What should I do to encode a YV12 source to H264.
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
For this scenario you will want to do VPP colorspace conversion first. For a starting point you can use simple_6_encode_vmem_vpp_preproc from the tutorials package. This shows RGB4->NV12 but it should be straightforward to switch to YV12 input. For h264 the encoder needs NV12 inputs.
Regards, Jeff
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page