- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is it possible to do the MJPEG and MPEG4 decompression using Intel Media SDK 2013? if possible how we can do it?
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, its possible.
Try "sample decode" from Media SDK sample set.
Note, that Media SDK works only with elementary streams (for example H264 video track as a binary file). If you want to read video from containers (AVI, MKV or MP4) you have to use some additional splitter (for example FFMPEG).
Best regards,
Roman
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Roman,
Thanks for reply . From your comment I can assume that if the input Video is MJPEG or MPEG4, Media SDK can't decompress .
Plese correct me If I am wrong
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi KK,
I believe by decompress you mean decoding a encoded bit stream like .h264 or .mpeg2 then you can use sample_decode to decode it to a yuv.
If you have a video in a container format like .avi or .mp4 please use ffmpeg or yamb tool to extract bit stream. Once you have a bit stream, use Media SDK to decode the bitstream.
Let me know if that doesn't answer your question and what kind of data you have.
Thanks,
-Surbhi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi KK,
KK wrote:
Hi Roman,
Thanks for reply . From your comment I can assume that if the input Video is MJPEG or MPEG4, Media SDK can't decompress .
Plese correct me If I am wrong
I've just opened "sample_decode" source.
msdk_printf(MSDK_STRING("Usage: %s mpeg2|h264|h265|vc1|mvc|jpeg|vp8 -hevc_decoder_plugin ver -p PathToUserDecoderPlugin -i InputBitstream -o OutputYUVFile\n"), strAppName);
From source string above you can see that MJPEG compression is supported by MediaSDK. H264 part of MPEG4 is also supported.
I don't know about MSDK decoding abilities of other parts of MPEG4 (it's a question for Intel engineers), but in any case you can try to do it with "sample_decode".
Best regards,
Roman

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