Questions tagged [dmo]

DirectX Media Objects (DMOs) are COM-based data-streaming components. In some respects, DMOs are similar to Microsoft DirectShow filters; DMOs are easier to create, test, and use.

DirectX Media Objects (DMOs) are COM-based data-streaming components. In some respects, DMOs are similar to Microsoft DirectShow filters. Like DirectShow filters, DMOs take input data and use it to produce output data. However, the application programming interfaces (APIs) for DMOs are much simpler than the corresponding APIs for DirectShow. As a result, DMOs are easier to create, test, and use. DMOs can be used in many scenarios.

Note that DMOs have been superseded by Media Foundation Transforms (MFTs). The DMO interfaces are still supported. However, if you are writing a custom codec or audio/video processing plug-in, you should consider implementing it as an MFT.

21 questions
0
votes
1 answer

How to use IMediaObject?

I just want to query the number of streams in a file. But an unimaginable difficulty has emerged from this simple task. It seems the query involves using IMediaObject.I have searched IMediaObject documentation in DirectShow. It only lists out its…
Hoy Cheung
  • 1,552
  • 3
  • 19
  • 36
0
votes
1 answer

How to write a no-input stream DMO (directx media object) component

DMO seems to be used for replacing DirectShow transform filter. Some documents say there could be a DMO without input streams. But how is it supposed to work? If there is no input stream, in function IMediaObject::CheckInputType what should be…
0
votes
0 answers

Video Playback on Win7/Vista [dshow, dmo]

I have a video clip that has some issues on default install of Win7: video plays without sound. The video clip comes from a mobile phone, it's a 3gp (mp4) file format with H264 video and AMR audio. I wanted to find out what I can do to add playback…
Pavel P
  • 15,789
  • 11
  • 79
  • 128
0
votes
1 answer

Unexpected behavior when DMOs are inserted to the graph as Filters

im trying to insert a certain DMO into my DirectShow Graph. i've wrapped this DMO using the appropriate interfaces: ATL::CComPtr< IBaseFilter > spDMOWrapper; ATL::CComPtr< IDMOWrapperFilter > spDMOWrapperEx; if(FAILED(hr =…
igal k
  • 1,883
  • 2
  • 28
  • 57
0
votes
1 answer

HResult 0x80040204 from IMediaObject::ProcessInput

I get this Hresult when i resample PCM Sound to a IEEE:Float Sound with DirectXMediaResampler. Changing the bits per sample with the same sampling rate is no problem. Also resamppling from IEEE:Float to PCM. This HResult is not documented in context…
-1
votes
1 answer

Has any one Used DMO in C#?

Has any one Used DMO (Microsoft DirectX Media Objects) in C#? Not using DShow. Any Libs, Wrapers, etc?
Rella
  • 65,003
  • 109
  • 363
  • 636
1
2