问题标签 [dmo]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
windows-store-apps - Windows 应用商店应用程序是否支持 DMO COM 接口?
Windows 应用商店应用程序是否支持 DirectX 媒体对象 COM 接口?我似乎在 MSDN 上找不到任何说法。我正在考虑IMediaObject等接口。
winapi - 如何编写无输入流 DMO(directx 媒体对象)组件
DMO 似乎用于替换 DirectShow 变换过滤器。一些文件说可能存在没有输入流的 DMO。但它应该如何工作?如果没有输入流,函数中IMediaObject::CheckInputType
应该写什么?
directshow - 如何使用 IMediaObject?
我只想查询文件中的流数。但这个简单的任务却出现了难以想象的困难。
查询似乎涉及使用 IMediaObject。我在 DirectShow 中搜索了 IMediaObject 文档。它只列出了它的功能,但没有关于如何使用它的示例和描述。
我还搜索了 Windows 7 SDK。唯一的演示是在dmoenum 初始化被封装在 ShowSelectedDMOInfo(const GUID *pCLSID)
pCLSID 可以是哪些类型?是否有任何示例来说明如何使用 IMediaObject?
video - 枚举所有已安装的 DMO 过滤器
我想知道这里是否有人知道如何枚举计算机当前安装的 DMO 过滤器?我想做一个枚举所有当前安装的 DMO 过滤器的应用程序。
我知道这是可能的,因为 GraphEdit 和 GraphStudio 接下来会这样做。
我需要这个的原因是我在一家每天都会收到很多不同类型的专有 (CCTV) 视频的公司工作。很多时候,给我发视频的人不是一个技术含量很高的人,所以我给他发了一个应用程序,它可以导出所有当前安装的程序和 DirectShow 过滤器(使用“InstalledCodec”),并将它们与我们的程序用来处理的程序进行比较那个视频在他的电脑上,这样我就可以找到编解码器并在我的电脑上处理电影。
现在,我偶尔会收到一个使用 DMO 过滤器处理的视频(通常是 ASF),不幸的是,我找不到枚举它们的方法(至今)。
这里有没有人知道如何解决这个问题?
谢谢你,-YS
video - 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 to compress the data and write it to a file. This time i want to do this using directshow framework to provide directshow support.
However while checking on MSDN I found there different types of filters for different codecs, so there is no single interface. http://msdn.microsoft.com/en-us/library/windows/desktop/dd375464(v=vs.85).aspx Do I need to switch between different filters each time I switch codec.
Also how DMO is different from Directshow as per MSDN they too can be used for encoding. http://msdn.microsoft.com/en-us/library/windows/desktop/ff819088(v=vs.85).aspx
So which should I use to support maximum number of codecs?
Please share you thoughts.
c++ - 如何使用缩放器 DMO 放大视频
我正在使用 re sizer DMO 来重新调整输入视频的大小。当我缩小视频时它工作正常。但是当我将视频放大到大于源矩形的大小时,我得到一个空白屏幕。
谁能告诉我如何设置输出类型属性以增加输出窗口
winapi - How to connect a source filter to an encoder DMO?
I have a DirectShow app for generating silent videos, whose filter graph is
or just
This mostly works as expected, unless the selected compressor is a DMO, in which case the pFilterGraph->Connect() call from source to compressor fails - typically with VFW_E_TYPE_NOT_ACCEPTED or VFW_E_CANNOT_CONNECT. I would like to make DMOs work too. I found a deprecated sample (AVIEncoderDShow) that I was able to tweak to compress an input AVI file with the WMV9 DMO, which seemed promising on this score. Its filter graph is
so I thought I could just swap out the source filter for my filter (or the bouncing ball DirectShow sample that it's based on). Trying that just gives the same connection failures though. The source I'm supplying is 32 bit RGB, which WMV9 should accept. What might it be stumbling on?
EDIT: The details of my preferred media type are:
and the exact point of failure with VFW_E_TYPE_NOT_ACCEPTED is
My media type's pbFormat is set up as a VIDEOINFO, which seems to have the same structure as a VIDEOINFOHEADER but with additional data tacked on the end of it. It looks like this:
windows - 在 CBR 音频编码中指定所需比特率的属性名称
我正在尝试将“Windows Media Audio Standard”DMO 编解码器配置为以单通道、恒定比特率模式 (CBR) 进行压缩。不幸的是,我在 MSDN 文档中找不到如何将所需的比特率传递给编码器对象。
换句话说,我正在寻找MFPKEY_RMAX的等效项,它似乎确定了两遍可变比特率编码的所需比特率设置,但对于单遍 CBR 编码。
windows - 错误 LNK2001:未解析的外部符号 _CLSID_CMP3DecMediaObject
我想使用 mp3 解码器来解码 mp3 文件。但我收到以下链接错误:
error LNK2001: Unresolved external symbol _CLSID_CMP3DecMediaObject
我应该链接哪个库?
windows - 为什么 AllocateStreamingResources 会失败,错误代码为 0x80004005?
我正在尝试让 AEC DMO 的演示工作(在此处找到)。它有效,但仅在某些机器上有效。在那些失败的机器上,AllocateStreamingResources失败,错误代码为 0x80004005。确切的代码行在这里。
我在演示代码生成的 .exe 和它失败的机器上运行了依赖walker,没有检测到依赖失败。报告 AllocateStreamingResources 失败后,代码什么也不做。
我正在使用以下参数运行:-out mic_out.pcm -mod 0 -spkdev 0 -micdev 0。
所有机器都有功能扬声器和麦克风。当我运行应用程序时,声音从扬声器中播放出来。有什么想法吗?