- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello.
I try to decode H.264 Frame with Intel Media Sdk.
If I call DecodeFrameAsync for each complete frame data, Output is always fine.
But if I call DecodeFrameAsync for each field data, Output is strange image.
It's like a mixing before image and after image.
I attached it's image.
DecodeFrameAsync Status repeat MFX_ERR_NONE and MFX_ERR_MORE_DATA.
Is it right to call DecodeFrameAsync for each field ?
I develope with Intel Media Sdk 2013 R2.
Please advice for me.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi a-sonetoshiba-teli.co.jp,
Thank you for your question. I tried reproducing this issue on Intel Media SDK 2014 and didn't see the issue.
"If I call DecodeFrameAsync for each complete frame data, Output is always fine.
But if I call DecodeFrameAsync for each field data, Output is strange image."
There is a MFX_BITSTREAM_COMPLETEFRAME_FLAG, if this flag is enabled/set then you need to feed the whole frame to DecodeFrameAsync each time that would be both fields for interlaced case. But if you want to feed field-wise bitstreams they you must remove the flag and use the regular decode mode.
You can check full transcoding example which has a splitter support which provide full frame or fields to the decoder like in your case. sample_decode reads video streams in chunks of data not as frames or fields.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page