Can't create RGB2YUV Filter Error

Can't create RGB2YUV Filter Error

The SDK throws the System.Runtime.InteropServices.COMException: 'Can't create RGB2YUV Filter.' error message when some video codecs are missing. Kindly install the Windows Media Player and it should fix the issue.

To check which specific codec is missing, please add capturer.SetLogFile('log.txt') in your code. It will write to the log all the available video/audio codecs and the error details.

If you are capturing into webm video format (supported by Google). Please try to install directshow filters from the official WebM project page (supported by Google):

If you have tried the instructions above but still get the error message, please try the steps below:

On the development computer please explore c:\program files\ByteScout Screen Capturing SDK\ and copy \Redistributable folder. Past this folder into the target computer into My Documents folder.

Then explore WebM subfolder and run in As Administrator mode the following batches to install RGB to YUV filter:

InstallVCRuntimes.bat InstallWebMCodecs.bat

This should install RGBtoYUV420Filter codec (RGBtoYUV420Filter.dll file).

Have more questions? Submit a request


  • 1
    Oscar Miranda

    Hi, Microsoft Visual C++ 2010 Service Pack 1 Redistributable was missing, I install it and worked like a charm.

  • 0
    Javier Martinez

    Thanks for your help Oscar I was losing with this problem

Please sign in to leave a comment.