User Activity

  • Posted a comment on discussion Open Discussion on Media Foundation .NET

    Thanks snarfle. Yes I will use MFNet and I'm building application using c#. Is it possible to capture "What you hear" using MFNet?

  • Posted a comment on discussion Open Discussion on Media Foundation .NET

    Is there any sample code for Audio Recording? I tried searching on google but I couldn't find any reference. I'm using c#. And Is it possible to combine the input sound the the music playing from the background?

  • Posted a comment on discussion Open Discussion on Media Foundation .NET

    How can I add both sound coming from mic and audio card into the sink writer and produce single mp4 file? I have working screen recording but has no sounds. Below is how I initialize the meditype for audio. // Create the Audio output type if (Succeeded(hr)) hr = (int)MFExtern.MFCreateMediaType(out audioTypeOut); if (Succeeded(hr)) hr = (int)audioTypeOut.SetGUID(MFAttributesClsid.MF_MT_MAJOR_TYPE, MFMediaType.Audio); if (Succeeded(hr)) hr = (int)audioTypeOut.SetGUID(MFAttributesClsid.MF_MT_SUBTYPE,...

  • Posted a comment on discussion Open Discussion on Media Foundation .NET

    Wow!.Thanks ozeanix. it works.

  • Modified a comment on discussion Open Discussion on Media Foundation .NET

    Yes it is in thesame thread. I tried your suggestion and replace the last parameter and rebuild . MediaFoundation.dll unfortunately I get thesame result E_NOINTERFACE. I tried changing the GUID value that I passed on th first parameter to check if I really passing the right value and now I'm getting E_INVALIDARG which I think correct because thats not the GUID of ID3D11Texture2D . I'm still not losing hope that one day it will work. That I can feed d3dbuffer the sinkwriter without consuming cpu....

  • Posted a comment on discussion Open Discussion on Media Foundation .NET

    Yes it is in thesame thread. I tried your suggestion and replace the last parameter and rebuild . MediaFoundation.dll unfortunately I get thesame result E_NOINTERFACE. I tried changing the GUID value that I passed on th first parameter to check if I really passing the right value and now I'm getting E_INVALIDARG which I think correct because thats not the GUID of ID3D11Texture2D . I'm still not losing hope that one day it will work. That I can feed d3dbuffer the sinkwriter without consuming cpu....

  • Posted a comment on discussion Open Discussion on Media Foundation .NET

    Sorry if I posted here. My App is MTA but I created the texture2d on the same thread where I initialized the SinkWriter

  • Posted a comment on discussion Open Discussion on Media Foundation .NET

    Hi Snarfle. I'm working on screen recording application which used the Direct X and DXGI with MediaFoundation.Net as my encoder. The idea of the application is to feed the SinKWriter with ID3D11Texture2D but unfortunately the released version of MediaFoundation.Net does not support the MFCreateDXGISurfaceBuffer which is needed to create a IMFMediaBuffer from ID3D11Texture2D. I tried downoading the source code of MF.NET and enabled the MFCreateDXGISurfaceBuffer so I can test if it will work but unfortunately...

View All

Personal Data

Username:
gvon18
Joined:
2017-05-15 05:14:36

Projects

  • No projects to display.

Personal Tools

MongoDB Logo MongoDB