Media (Intel® oneAPI Video Processing Library, Intel Media SDK)
Access community support with transcoding, decoding, and encoding in applications using media tools from Intel. This includes Intel® oneAPI Video Processing Library and Intel® Media SDK.
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.

Directshow H.264 encoder sample

Steven_M_3
Beginner
123 Views

Hi:

      The Intel sample_dshow_plugins sample for the h264_enc_filter uses a plugin to convert from RGB4 to NV12, so the encoder can do the encoding.  This plugin uses a software converter using the CPU to do  the RGB to NV12 conversion.  Since VPP is capable of doing the conversion in hardware,  (presumably much faster then the CPU),  is there some reason for doing this in software rather than in VPP?? 

   Mags

 

0 Kudos
1 Reply
Sravanthi_K_Intel
123 Views

Hi Steven - Good question! The focus of our samples when they were developed were more on showcasing the said feature/algorithm - encode, decode etc., and were intended to be more of starting points for developers rather than full-blown applications. Also, if you look at our format conversion support table, we have very specific formats that are supported. To avoid focusing on that nitty-gritty we went ahead with  the C++ implementation.

I would highly encourage and recommend you to use VPP filters instead, and once you do, feel free to share the code with us. We will be happy to add it to our code examples.

Reply