- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
Hi,
I'm trying to encode color images and the only color format supports is NV12 (am I right about it?) and I cant find any reference about "how can I convert from RGB24 or RGB32 to NV12 using IMSDK", the only reference to an example is:
http://software.intel.com/en-us/articles/intel-media-sdk-tutorial-simple-6-encode-ipp-cc
but the only option there is using IPP, which I don't want to use this time....
any example?
tutorial?
Thanks
コピーされたリンク
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
Hi,
There is in fact a Media SDK tutorial sample for this use case (RGB32). Check out the sample named "simple_6_encode - d3d - vpp_preproc".
Note that RGB24 is not a supported format by Media SDK. It's was deprecated a long time ago.
Regards,
Petter
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
Hi,
Thanks, for the quick reply.
Some Q's:
1. Is color encoding is only of NV12 format?
2. RGB3 is not supports, but can I convert from RGB3 to NV12?
Thanks
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
Hi,
Yes. The Media SDK encoder only supports NV12 surface input.
I assume by RGB3 mean RGB24? Both essentially referring to a RGB 8 bit per channel color space without alpha. The SDK does not support conversion from that color space format to NV12.
If you need such conversion you have to rely on Intel IPP, other color space conversion packages or implement your own routine.
Regards,
Petter
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
Hi,
Can I convert using VPP from
{ MFX_FOURCC_NV12, MFX_CHROMAFORMAT_YUV420 } to
{ MFX_FOURCC_YUY2, MFX_CHROMAFORMAT_YUV422 } ?
Thanks
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
Hi Aaron,
Yes, you can convert from NV12 to YUY2 using VPP in Media SDK. Please refer to sample_vpp code in the sample package which is configured to convert the color format.
In general for a new query please start a new post so that we can track the questions separately and provide support sooner. Hope that helps!
Thanks,
Surbhi
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
Hi Surbhi,
I am new to Intel Media SDK. I am doing some PoC with the SDK where I need to decode H.264 video into YUV422 (UYVY). I checked both the sample "simple_6_decode_vpp_postproc" and change few VPP o/p parameters ( VPPParams.vpp.Out.FourCC = MFX_FOURCC_YUY2, VPPParams.vpp.Out.FourCC = MFX_FOURCC_YUY2, VPPParams.vpp.Out.CropW = VPPParams.vpp.In.CropW, VPPParams.vpp.Out.CropH = VPPParams.vpp.In.CropH, and bitsPerPixel = 16) but still the generated YUV file is NV12 only.
Resize is working very well but color conversion is not working with above change. Am I doing in mistake in the configurations?
Please advise.
- HRV