When I changed the sample to Release,and used Simulator to open it,in the AudioCapture,I got the exception "HRESULT:0xC00D
4A44" first time I clicked the button "StopRecord".Is that a bug?
I'm trying to build an app that records audio, but allows the user to upload it to their skydrive or website. But I can't seem recreate this code with Windows Phone 8 Dev. Please, give me an example or step by step instructions. This is the only problem that I'm currently having with the app.
The line: await m_mediaCaptureM
gr.InitializeAs ync(); thows an exception: the specified device interface or feature level is not supported on this system Any ideas? I've tried changing it to: await m_mediaCaptureM gr.InitializeAs ync(settings);
Any answers to this? I have the same problem, this code just doesn't work on my machine. I made no changes to the code, just downloaded and ran it. When i click the start button, it gives the error message, "the specified device interface or feature level is not supported on this system". Other programs (ie Skype) access my webcam without issues.
Hi All, Has anyone managed to make use of an external non-WinRT C++ dll? I tried integrating the DirectX Toolkit and I'm having several issues. In short, I used this sample and I added the DirectXTK_Windo
ws8 (http://directx tk.codeplex.com /) project to the solution and referenced it in the C++ project. I added a few methods to make sure the reference work without actually calling them. This is where I started running in problems: 1.The application would not build, complaining about DirectXTK.winmd . To correct this I applied the changes specified in this post (http://directx tk.codeplex.com /discussions/36 0555) and manually edited the pre-processor and linker properties of the WinRT C++ library. 2.The next problem I encountered is the following error message: "error LNK2005: DllCanUnloadNow already definied in dllmain.obj". This issue was described in detail here (http://stackov erflow.com/ques tions/12893355/ windowsstoragea pplicationdatac urrent-not-foun d-in-c). It seems it's due to conflicting definitions. I applied the suggested fix in pre-processor and linker. 3.The application finally build and ran ok initially. When I invoked the modified WinRT dll (which does not call any new logic though) I got a cryptic "Error in the DLL" exception, without any additional detail. At this point I'm stuck trying to find out how to resolve it. Any suggestions on how to troubleshoot this further or working examples of this sample using an external non-WinRT dll would be most useful. Many thanks in advance, Stefan
How can modify the CGrayscale MFT so that it can operate on 3 input streams and 1 output stream? I want to implement HDR kind of functionality. I modified function CGrayscale::Get
StreamLimits(.. .) and CGrayscale::Get StreamCount(... ) but it didn't seem to work. Am I missing something?
I'm making my camera program based on this sample program and trying implementing own camera filter. Now I'm modifying Grayscale.cpp to make a sepia effect filter. In this process, I put a breakpoint in Grayscale.cpp and start debug run but IDE would not stop at the breakpoint. How can I debug media foundation transform?
In your C# project (MediaCapture), go the Debug properties, change Debugger Type to Mixed (Managed and Native)
Yan It works fine. Thanks.
I want to set sample rate,bitrate,ch
annel when record audio,should I do somethings?I see AudioEncodingPr operties ,but I did't use it.Thanks.
When I want to see the design view of this sample a message notice me as the title. Anything I can do to solve this question?
I have a non webcam video device in the USB port, Other apps can see it but not this example. If I use task<DeviceInfo
rmationCollecti on^>(DeviceInfo rmation::FindAl lAsync(DeviceCl ass::All)).then ([this](task<De viceInformation Collection^> findTask) to sift through all of the devices my video capture device shows up in there, but not if I use DeviceClass::Vi deoCapture. DeviceClass::Al l also reports every other device that has ever been plugged into the pc. It's also peculiar that the device shows up many times in the list with different device IDs, so trying to use any one of them gives me a device is in use error. Any suggestions i can get to help figure out which device is the one I should be using? or to get VideoCapture to show my avermedia usb device?
I am using C#/C++ project. I had done all the image processing in GrayscaleTransf
orm. However, how I can pass back the data structure from GrayscaleTransf orm, back to C# MediaCapture? Say, if I use C++ project (Both GrayscaleTransf orm and MediaCapture project are in C++), will it be easier? If yes, how I can achieve so? In fact, the problem is similar as described here : http://stackove rflow.com/quest ions/12907538/h ow-to-get-feedb ack-from-mediac apture-api-in-w indows-8