Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Steven_M_3
Beginner
59 Views

Directshow H.264 encoder sample

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
59 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