- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
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?
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi iroeville,
Unfortunately the SDK does not support any other frame type output than NV12. And VPP only supports conversion to NV12.
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,
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
![](/skins/images/4428ED42C6C2DA1FDD89670A160F6AFB/responsive_peak/images/icon_anonymous_message.png)
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page