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.

Deinterlacing video frames

iroeville
Beginner
304 Views
I'm a Media SDK newbie, and have been experimenting with the DirectShow MPEG-2 decoder sample. The output frames are displayed in the VMR with interlacing artefacts, which would probably be OK if the video was then going to be encoded as interlaced, but just for decoding and display on the VMR it looks a bit poor.

I could not find a method of configuring the decoder to do deinterlacing, so I would therefore like to add deinterlacing to the decoder sample code. Does anyone have any tips of how to go about this?
0 Kudos
3 Replies
Anthony_P_Intel
Employee
304 Views
Hi,

In the Media SDK, the "VPP" (Video Processing) component is the component that allows de-interlacing (along with resizing and other processing steps).

Hope this helps
-Tony
0 Kudos
iroeville
Beginner
304 Views
Thanks Tony. I also note that the decoder only produces NV12 video frames - is there anything in the SDK that would do a conversion to RGB32 (or RGB24) immediately after the decode step? I guess I could add a separate non-QuickSync filter after the decoder filter, but I would think doing it in QuickSync (in the same pipeline?) as the decoder would be more efficient if color conversion is available in the SDK.

0 Kudos
Petter_L_Intel
Employee
304 Views
Hi iroeville,

Unfortunately the SDK does not support any other frame type output than NV12. And VPP only supports conversion to NV12.
(There is an exception for the MJPEG decoder which does support output of RGB32 besides NV12)

To achieve what you need you need to use your own conversion solution. Intel Integrated Performance Primitives (IPP) may provide one alternative to perform the conversion.

Regards,
Petter
0 Kudos
Reply