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
4
votes
1 answer

How to use Frame Rate convertor DMO in MF app

I wish to use the Frame Rate convertor DSP in my media foundation application. I'm using the 'SourceReader' to read the video file. Can anyone tell me where and how to integrate the DMO with MF to obtain frame rate conversion. I don't seem to…
mots_g
  • 637
  • 8
  • 27
2
votes
1 answer

Why would AllocateStreamingResources fail with error code 0x80004005?

I'm trying to get the demo for the AEC DMO working (found here). It works, but only on certain machines. On those machines it fails on, AllocateStreamingResources fails with error code 0x80004005. The exact line of code is here. I ran dependency…
Ben
  • 314
  • 2
  • 11
2
votes
2 answers

trying to copy a bitmap into the WMP Renderer -> upside down!

I'm writing a video DMO decoder and trying to return a bitmap to the WMP renderer for display ... but WMP displays it upside down! This is the code : HBITMAP* hBmp = new HBITMAP(); int result; m_pScrRenderer->CreateFrame(hBmp, &result); ///This…
Roey
  • 391
  • 1
  • 8
  • 14
1
vote
1 answer

How to get CResamplerMediaObject to work as it is supposed to?

I am trying to use CResamplerMediaObject to resample audio I capture from the DefaultAudioEndpoint in order to clone it to any other AudioEndpoint I choose. But whatever the Input/OutputType is, it seems to just pass through what I input to it…
Marschos
  • 33
  • 4
1
vote
1 answer

How do I create a simple video effect filter for DirectShow or DMO?

How do I create a simple video effect filter for DirectShow or DMO? What I need is simple - a tutorial or tutorials on how to create simple filter (like a brightness/contrast adjustment filter or any other pixel-per-pixel kind of filter) for…
Rella
  • 65,003
  • 109
  • 363
  • 636
1
vote
1 answer

Encoding with DirectShow filters

I'm working on encoding raw images into avi file on windows possibly using directshow filter. The type of codec used will be selected by user. I've already done a similar thing using video for windows (VFW) which was pretty as it provide simple api…
praks411
  • 1,972
  • 16
  • 23
1
vote
1 answer

Are the DMO COM interfaces supported in Windows Store apps?

Are the DirectX Media Object COM interfaces supported in Windows Store apps? I can't seem to find anything that says either way on MSDN. I'm thinking of interfaces like IMediaObject etc.
Mark Heath
  • 48,273
  • 29
  • 137
  • 194
0
votes
1 answer

Setting Properties in Directshow DMO "Constant FrameRate Conveter" in C#

Has anyone any code examples on how to set the properties of the 'Constant Framerate Converter' DMO filter. I am using it in a graph and wish to programmatically control output framerate. When I try to access IAMStreamConfig, it errors.
Denny
  • 1
  • 1
0
votes
1 answer

DMO missing in XP

On my Win2008 dev machine, I'm making use of NAudio's DmoMp3FrameDecompressor. It makes use of the following DMO: MP3 Decoder DMO ({BBEEA841-0A63-4F52-A7AB-A9B3A84ED38A}) On an XP machine, playback is failing because this DMO is not present on the…
spender
  • 117,338
  • 33
  • 229
  • 351
0
votes
0 answers

error LNK2001: Unresolved external symbol _CLSID_CMP3DecMediaObject

I want to use mp3 decoder to decode mp3 file. But I get the following link error: error LNK2001: Unresolved external symbol _CLSID_CMP3DecMediaObject Which lib should I link with?
0
votes
1 answer

Name of the property that specifies the desired bit rate in CBR audio encoding

I'm trying to configure a "Windows Media Audio Standard" DMO codec to compress in single-pass, constant bit-rate mode (CBR). Unfortunately I can not find on the MSDN documentation how can I pass the desired bit-rate to the encoder object. In other…
BlueStrat
  • 2,202
  • 17
  • 27
0
votes
1 answer

How to connect a source filter to an encoder DMO?

I have a DirectShow app for generating silent videos, whose filter graph is my video frame generator -> selectable video compressor -> AVI mux -> file writer or just my video frame generator -> AVI mux -> file writer This mostly works as expected,…
tombola
  • 165
  • 12
0
votes
2 answers

ASF duration is 29 secs, WMP plays 25 secs. How come?

I've created a custom ASF file containing compressed voice + screen streams. The total duration of the file according to the header is 29 secs. When opening it in WMP (using custom DMOs to play the streams), the file plays 25 seconds, and then the…
Roey
  • 99
  • 5
  • 12
0
votes
0 answers

How to upscale the video using resizer DMO

I am using re sizer DMO to re-size the input video. when I downscale the video it works fine. But when i upscale the video to a size greater than the source rectangle, i get a blank screen. Can anyone tell me how to set the output type properties to…
gopi
  • 25
  • 1
  • 2
  • 8
0
votes
1 answer

Enumerating all installed DMO filters

I was wondering if anyone here knows how to enumerate the computer's currently installed DMO filters? I would like to make a application that enumerates all of the currently installed DMO filters. I know this is possible as GraphEdit and GraphStudio…
Yotam S.
  • 141
  • 1
  • 11
1
2