Author |
Topic |
|
uko
Germany
31 Posts |
Posted - Jul 20 2018 : 05:13:13
|
Hi,
Is there a known problem with TIEMediaFoundationSourceReader compiled with 64Bit and running on Windows 10?
Using 8.0.1 I compiled the delivered MediaFoundationCam demo with Delphi XE10.2 Tokyo for 32 and 64 Bit. Running the 32Bit version on a 64Bit Windows 7 and Windows 10: everything is fine, but running the 64Bit version on a 64Bit Windows 10 gives me only a pure black image. Interestingly, running on Windows7(64) works.
The failure do not depend on the used camera: Logitech C270 as well as MS Surface Pro 4 Front/Rear camera are failing.
Thank you, Ulrich |
|
xequte
38175 Posts |
Posted - Jul 20 2018 : 20:24:13
|
Hi Ulrishc
Thanks for the report. We are investigating...
Nigel Xequte Software www.imageen.com
|
|
|
uko
Germany
31 Posts |
Posted - Jul 23 2018 : 07:09:08
|
Hi Nigel,
thanks for looking on this. Meanwhile I found that it is related to SetMirror and SetRotation calls: If removing that calls, it works fine on W10(64). If you call one of that functions, the data out of the sample contains just that single color data (black, or a light green, ...) Strange... |
|
|
uko
Germany
31 Posts |
Posted - Jul 26 2018 : 07:48:56
|
Hi Nigel,
do you think that you can provide a solution or workaround for this problem over the next few weeks? What other options would I have to get a live stream from embedded system camera (or external USB cameras) and creating a snapshot of it?
kind regards, Ulrich |
|
|
xequte
38175 Posts |
Posted - Jul 29 2018 : 16:05:17
|
Hi Ulrich
We should be look into this prior to the 8.0.2 release which will be in August.
Nigel Xequte Software www.imageen.com
|
|
|
uko
Germany
31 Posts |
Posted - Jul 31 2018 : 03:04:43
|
Hi Nigel,
Thank you! That's ok for me.
kind regards, Ulrich |
|
|
uko
Germany
31 Posts |
Posted - Aug 10 2018 : 10:56:26
|
Nigel,
I did some own research and found, that under XE2/64 it runs fine. After comparison with some other API headers I found, that the definition of IE_MFT_OUTPUT_DATA_BUFFER, IE_MFT_INPUT_STREAM_INFO, IE_MFT_OUTPUT_STREAM_INFO seems to be the problem: They are defined as packed records and if I omit packed, then the camera works fine on XE10.2.3 / 64Bit But I have not checked, if removing packed is valid for all compilers / platforms. Hope that helps you to solve this problem properly.
kind regards, Ulrich |
|
|
xequte
38175 Posts |
Posted - Aug 12 2018 : 18:52:07
|
Thanks, we have tested and implemented this fix for v8.0.2
Nigel Xequte Software www.imageen.com
|
|
|
|
Topic |
|