Open moh-a-med opened 8 years ago
I haven't hit that issue, but I only tested on a machine with Visual Studio installed on it so that doesn't help much. Is it possible to attach a native C++ or mixed C++/C# to check if the assembly gets at least loaded and if there are first-change native exceptions getting fired?
Im not sure to understand.
How can i do that. Do you have a tutorual or any reference?
I havent precise it is a virtual machine.
Here is some doc on VS remote debugging: https://msdn.microsoft.com/en-us/library/y7f5zaaa.aspx .
How did you get the virtual machine to access a camera and a microphone?
I just play the virtual machine and I connect my camera on the host through Removable devices Menu.
I tried my code on another physical machine . Windows 8.1. Its working !
Thanks for your answers.
I have another question. Have you been able to use with your MediaCaptureWpf.dll the TorchControl and the FlashControl ?
All WinRT issues on the net says it cannot work without preview.
Is the WPF preview compatible with TorchControl and FlashControl ?
My tablet windows 8.1 has a flash and a torch and both elements are logged as not supported in my WPF application even with the preview active ...
For the VM, there is probably no mic. You can try setting MediaCaptureInitializationSettings.StreamincaptureMode to Video when initializing MediaCapture.
I'll ask around for torch/flash. The tablet driver likely exposes them using an older API. That might require some native COM code for you to access it.
From: moh-a-medmailto:notifications@github.com Sent: 2/9/2016 12:39 AM To: mmaitre314/MediaCaptureWPFmailto:MediaCaptureWPF@noreply.github.com Cc: Matthieu Maitremailto:mmaitre@live.com Subject: Re: [MediaCaptureWPF] Requirements - Windows 10 x64 new machine (#3)
I just play the virtual machine and I connect my camera on the host through Removable devices Menu.
I tried my code on another physical machine . Windows 8.1. Its working !
Thanks for your answers.
I have another question. Have you been able to use with your MediaCaptureWpf.dll the TorchControl and the FlashControl ?
All WinRT issues on the net says it cannot work without preview.
Is the WPF preview compatible with TorchControl and FlashControl ?
My tablet windows 8.1 has a flash and a torch and both elements are logged as not supported in my WPF application even with the preview active ...
Reply to this email directly or view it on GitHub: https://github.com/mmaitre314/MediaCaptureWPF/issues/3#issuecomment-181760274
This API may help (not sure what the driver requirements are for this one): https://msdn.microsoft.com/en-us/library/windows/apps/windows.devices.lights.lamp
Hello,
I am also having the same issue with moh-a-med.
I am running the MediaCaptureWPF on Win8.1 x64 machine DX11. Solution is built successfully. There are no errors, no warnings. But there is nothing on MainWindow as seen on image below.
I can see that camera is working properly. When I register Changed event of CapturePreview object, I can get preview object as D3dImage. Then I convert it to Bitmap and I can see frames streaming successfully. I can also see C++ projects loaded and working.
But when I run the unmodified version of application, there is nothing on screen. Do you have any idea for this ?
Thank you.
Now, I have debugged MediaCaptureWPF.Native and realised that it's always hitting the breakpoint located in snapshot.(After about 4.or 5. frames). So, RefreshPreview method couldn't be called.
Any idea ?
As i understand MediaCapture will not work on Windows 7?
Hi,
What about moh-a-med question about flash ? Is it possible to interface desktop application with WinRT (UWP ?) API ? I'm looking for a FlashControl solution.
Thanks for any hints.
Max.
What are the requirements to get wpfmediacapture.dll work on a new machine. Windows 10 x64.
My application is Wpf and works on development computer. It has been tested with a build x86 and with a build x64.
I installed visual c++ 2013 runtime x64 et x86 on the target machine windows 10.
I have zero error. Nothing is catched in exceptions. My camera is well detected. But i am not able to get the capture preview.
It just do nothing.
Has someone encountered that? Any ideas?