Media (Intel® Video Processing Library, Intel Media SDK)
Access community support with transcoding, decoding, and encoding in applications using media tools like Intel® oneAPI Video Processing Library and Intel® Media SDK
Announcements
The Intel Media SDK project is no longer active. For continued support and access to new features, Intel Media SDK users are encouraged to read the transition guide on upgrading from Intel® Media SDK to Intel® Video Processing Library (VPL), and to move to VPL as soon as possible.
For more information, see the VPL website.

Uncompressed AVI sample

Predrag_D_
Beginner
1,015 Views
Hi, I was looking for either MSDK or UMC example that illustrates opening and processing an uncompressed (RGB24) AVI file. The only examples listed are raw YUV files which doesn't help if one needs to open Open-DML container first (>1GB). There is an OpenCV cvQueryFrame that can read frames, but doesn't seem to support very large AVIs well. Does Intel support equivalent functionality opening/reading uncompressed Open-DML files without having to invoke any other 3rd party utils? Thanks!
0 Kudos
3 Replies
Surbhi_M_Intel
Employee
1,015 Views

Hi Predrag, 

Intel Media SDK doesn't support RGB24 content, the RGB format we support is RGB32 and the list of other supported formats is present @ https://software.intel.com/sites/default/files/mediasdk-man.pdf Pg 7. To use AVI file into Media SDK, you need a demuxer to content from the container and feed into Media SDK pipeline.  You can use ffmpeg for that. Media SDK focus is on encoding/decoding/video processing. I hope that was kind of the information you were looking for, if not please let us know. 

Thanks,
Surbhi

 

0 Kudos
Predrag_D_
Beginner
1,015 Views
Hi, for RGB32 is it as part of regular AVI or only as part of raw YUV file? Is there a single example in MSDK, UMC, IPP etc. that exemplifies demuxing the AVI workflow w/o involving any extra outside libs/utils/tools? Since MSDK focus is video processing, one could understand not supporting all arbitrary AVI containers, but at least supporting uncompressed single stream Open-DML would be helpful aka. MediaPlayer, DShow file source, VLC, VirtualDub capability. Thanks.
0 Kudos
Surbhi_M_Intel
Employee
1,015 Views

Hi, 

RGB32 is color format for the raw YUV. AVI container would have a bitstream, which you can demux using ffmpeg or yamb tool. There is a sample(sample_full_transcode) in the deprecated sample package present here which shows the complete pipeline. The Media SDK supported codecs are h264, mpeg2, mjpeg, hevc, vp8/vp9(limited support). 
Containers cannot be directly fed into the Media SDK pipeline, they needs to demuxed. Once demuxed, if the bitstreams are from above mentioned codec, media sdk should be able to decode. Also, media SDK supports many uncompressed raw formats like YV12, NV12, RGB32, YUY2 etc mentioned in the manual. MediaPlayer, VLC are the players to render the decoded content. We do support direct show, you can find the pipeline for a directshow filter in the deprecated samples package. 
Can you please let us know your use case or pipeline, so that we can explain in what regions Media SDK can be helpful. You can send the pipeline through message if you like. 

Thanks,
Surbhi

 

0 Kudos
Reply