jacobbo / WebEye

WebEye is a collection of .NET controls.
190 stars 132 forks source link

Could not load file or assembly WebEye.Stream.Win32 #79

Open sekulicb opened 4 years ago

sekulicb commented 4 years ago

Hi.

I have Lenovo MIIX 3 8 inch tablet with Windows 10 32 bit installed. When the application is running, clicking on Add Local Stream causes exception with the message:

Could not load file or assembly 'WebEye.Stream.Win32.dll' or one of its dependencies. The specified module could not be found.

One thing to mention. The project is built from a master branch on a different machine and then copied over to the tablet. If I try to build the solution directly on the tablet I get following build error:

Resource file "StreamControl.resx" cannot be found.

Running the WebEye.StreamContro.Wpf.Demo gets me to the exception above (on the tablet). Running on the desktop PC with USB web camera shows no problems. Let me know if you need more information.

Thanks in advance

jacobbo commented 4 years ago

Could not load file or assembly 'WebEye.Stream.Win32.dll' or one of its dependencies. The specified module could not be found. Hi, do you see that file on the tablet? One of dependencies is missing. Can you run depends utility and check what exactly is missing?

On Mon, 9 Mar 2020 at 18:00, sekulicb notifications@github.com wrote:

Hi.

I have Lenovo MIIX 3 8 inch tablet with Windows 10 32 bit installed. When the application is running, clicking on Add Local Stream causes exception with the message:

Could not load file or assembly 'WebEye.Stream.Win32.dll' or one of its dependencies. The specified module could not be found.

One thing to mention. The project is built from a master branch on a different machine and then copied over to the tablet. If I try to build the solution directly on the tablet I get following build error:

Resource file "StreamControl.resx" cannot be found.

Running the WebEye.StreamContro.Wpf.Demo gets me to the exception above (on the tablet). Running on the desktop PC with USB web camera shows no problems. Let me know if you need more information.

Thanks in advance

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/jacobbo/WebEye/issues/79?email_source=notifications&email_token=AAN57QA4ECNZAS3YJ6KBEGLRGUVFJA5CNFSM4LEOIYVKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4ITU6O6A, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAN57QEE6H6UTB2G4G343ZDRGUVFJANCNFSM4LEOIYVA .

sekulicb commented 4 years ago

Yes, that is correct. What type of dependency utility app? Do you have any recommendations?

jacobbo commented 4 years ago

This one http://www.dependencywalker.com

On Wed, 11 Mar 2020 at 10:31, sekulicb notifications@github.com wrote:

Yes, that is correct. What type of dependency utility app? Do you have any recommendations?

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/jacobbo/WebEye/issues/79?email_source=notifications&email_token=AAN57QADLGVAO5CEBBDFNI3RG5SBZA5CNFSM4LEOIYVKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEOO743A#issuecomment-597556844, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAN57QDEODDSFWWYVY5JPOTRG5SBZANCNFSM4LEOIYVA .

sekulicb commented 4 years ago

Is there a specific result that I could copy-paste here?

Also which DLL should I scan, the WPF demo or the WebEye.Stream.Win32.dll ?

Thanks

sekulicb commented 4 years ago

0-02-0a-451027482062d0cd444249ca951cbc7f046cfd4d3ff2e265b9613a1fb08a7d6b_83be7ae

jacobbo commented 4 years ago

You want to check WebEye.Stream.Win32.dll file. The picture should look like this image

sekulicb commented 4 years ago

DLL inserted 1

1. 2

2. 3

jacobbo commented 4 years ago

Visual C++ Redistributable for Visual Studio 2015 is missing, you can download it here: https://www.microsoft.com/en-us/download/details.aspx?id=48145

On Fri, 13 Mar 2020 at 10:21, sekulicb notifications@github.com wrote:

DLL inserted [image: 1] https://user-images.githubusercontent.com/20758693/76612389-86022a80-651c-11ea-97e7-6eee070721d8.jpg

1.

[image: 2] https://user-images.githubusercontent.com/20758693/76612392-869ac100-651c-11ea-9c88-40205245648e.jpg

1.

[image: 3] https://user-images.githubusercontent.com/20758693/76612387-84d0fd80-651c-11ea-9cf9-0dbb90ffe3c0.jpg

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/jacobbo/WebEye/issues/79#issuecomment-598651393, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAN57QCRJ6Q3BDF6SVXARHLRHICKBANCNFSM4LEOIYVA .

sekulicb commented 4 years ago

Hi. This actually solved one problem but got two more 😄

Now that I can actually select the camera from the combo box and start it, the video is delayed by a few seconds. What I mean by that is when I make a move or gesture, the video is not lagging, it's just not keeping up with me, it just doesn't record in real-time.

The second problem is when I switch from back to the front camera or vice versa. I get a message in the far-right textbox - Failed: avformat_open_input() failed: I/O

Thanks

jacobbo commented 4 years ago

OK, thanks for your feedback, I'll have a look.

thedude61636 commented 4 years ago

@jacobbo Have you been able to track the issue with avformat_open_input()? I'm also getting that issue on a client's device, he's using a microsoft lifecam if that makes a difference.