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

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 TIEMediaFoundationSourceReader: problem on 64Bit

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
uko 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
7   L A T E S T    R E P L I E S    (Newest First)
xequte 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
uko 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
uko Posted - Jul 31 2018 : 03:04:43
Hi Nigel,

Thank you! That's ok for me.


kind regards,
Ulrich
xequte 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 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
uko 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...
xequte Posted - Jul 20 2018 : 20:24:13
Hi Ulrishc

Thanks for the report. We are investigating...

Nigel
Xequte Software
www.imageen.com