ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Test app based on MediaFoundationCam does not show video
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

AdrianKnowles

USA
35 Posts

Posted - Sep 21 2023 :  22:55:10  Show Profile  Reply
Hi,
the MediafoundationCam demo works perfectly fine but when I take the code into a new app I see the following

1) select video input from list works ok.
2) Select supported format works ok.
3) Click on capture
4) After a second or so the webcam light comes on
5) However Imageenview remains white

No errors occur.

I've attached the link to the .zip file containing the source files in the hope you can see what I'm missing. I'm running Delphi 10.4

Thanks
Adrian



attach/AdrianKnowles/2023921224731_webcamtest.zip
27.84 KB

xequte

38590 Posts

Posted - Sep 25 2023 :  21:00:10  Show Profile  Reply
Hi Adrian

You mentioned that MediafoundationCam works fine. Do you mean the MediafoundationCam.exe from our site (which is digitally signed) and/or MediafoundationCam.dpr when you compile it yourself?



Nigel
Xequte Software
www.imageen.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: