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
 BSOD with Logitech QC Pro 4000 and other webcams
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

wvisser

Netherlands
8 Posts

Posted - Dec 27 2011 :  11:30:57  Show Profile  Reply
Hi,

I have notified about a problem with using a wbcam via directshow causing a BSOD since the unicode version about a year ago.
In the meantime, I have worked around adapting the code by commenting out the new part of SetCurrentVideoFormat in ieds.pas that causes this like:

....
(* WV Wilfried Visser mod 4-12-2010
this part was NOT in D2007 code,
it causes BSOD with several web cams, so deactivated here......
bitsPerPixel := VideoMediaSubTypeToBitsPerPixel(pmt^.subtype);
pmt^.lSampleSize := ih^.bmiHeader.biWidth * ih^.bmiHeader.biHeight * bitsPerPixel div 8;
ih^.dwBitRate := 0;//245760000;
ih^.AvgTimePerFrame.lo32 := 0;// 1000000;
ih^.AvgTimePerFrame.hi32 := 0;
ih^.bmiHeader.biSizeImage := 0;//3072000; *)

I moved from version 312 to 401 (the last version I am entitled to download). The bug is still in. Has this been addressed already?

I wonder if I should pay to have 402 if these things are not solved.
See next posts for another bug/problem and a suggestion.

regards, Wilfried

wpjvisser

fab

1310 Posts

Posted - Dec 29 2011 :  02:07:24  Show Profile  Reply
Hi,
do you know another webcam with the same problem?
I sent a private email.
Go to Top of Page

wvisser

Netherlands
8 Posts

Posted - Dec 30 2011 :  02:59:17  Show Profile  Reply
Yes: all built-in web cams in Dell notebooks (Inspiron 6400, INspiron 1525, my latest Latitude). Both Windows Vista and Windows 7.
Only with a Microsoft webcam I could not reproduce.



wpjvisser
Go to Top of Page

fab

1310 Posts

Posted - Jan 03 2012 :  01:42:56  Show Profile  Reply
Ok, I will try to replicate this problem here. Please let me know:

1) your Delphi version
2) which ImageEn demo can reproduce it
3) operating system (32 bit or 64 bit?)
4) removing the code you have specified in the forum does fix the problem?
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: