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): https://www.webmproject.org/tools/#directshow_filters
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.
WebM subfolder and run in
As Administrator mode the following batches to install RGB to YUV filter:
This should install
Hi, Microsoft Visual C++ 2010 Service Pack 1 Redistributable was missing, I install it and worked like a charm.
Thanks for your help Oscar I was losing with this problem