I try to use Adobe Flash Media Live Encoder 3 with a virtual camera(DirectShow Filter) but met such a problem:
"Error connecting input preview RGB filter."
"Failed with error 80004005:SetupInputVideoPreview(pFilter, pguidCategory)"
"Failed with error ffffff97:SetupVideoPreview(pFilterSource)"
"Problem with video capture device. Please verify that the video capture device is working correctly and is not already in use."
However, it is good to use AMCap,
what's the problem with FMLE.
Looking forward to your replies. Thx!
FME ignores the RGB24, 32 and possibly other formats you have set in GetMediaType and seems to always calls CheckMediaType with I420 format, which fails, obviously . The only fix I know at the time of writing is to use I420 instead of RGB.
FMLE supports various video formats including I420, RGB24, RGB32, etc. Look the FMLE faq doocument at http://www.adobe.com/products/flashmediaserver/flashmediaencoder/faq/# section-3
- I am getting a "Format not supported" error. What formats are supported?
- Flash Media Live Encoder supports only raw data from video and audio devices. The supported raw video formats include I420, YV12, YUY2, UYVY, RGB24, and RGB32.
FMLE checks for media type in above order so if a media type is not supported by the device, FMLE checks for next media type in the list until the list is consumed in which case FMLE show format not supported error message.
Thanks for your reply.
Irrespective of the type of device (RGB24, 32 in my case ), selected in
GetMediaType in a self written VideoInputFilter am using, FME is calling
CheckMediaType with subtype I420. Now I have simply avoided any checks in
CheckMediaType and am using I420 in FillBuffer and my virtual cam is working
fine. Infact there are other ppl who have faced the same problem, please
check this one for more details :