T O P I C R E V I E W |
wvisser |
Posted - Dec 27 2011 : 11:30:57 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 |
3 L A T E S T R E P L I E S (Newest First) |
fab |
Posted - Jan 03 2012 : 01:42:56 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?
|
wvisser |
Posted - Dec 30 2011 : 02:59:17 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 |
fab |
Posted - Dec 29 2011 : 02:07:24 Hi, do you know another webcam with the same problem? I sent a private email. |