【问题标题】:how to create our own custom filter so that we get an access over there using directshow如何创建我们自己的自定义过滤器,以便我们使用 directshow 访问那里
【发布时间】:2014-12-03 23:18:06
【问题描述】:

我有一个关于媒体播放的问题,如下所示。 请解决我的问题

"我有一个使用直接显示成功压缩的音频流,现在在将其输入渲染过滤器之前 我需要创建自己的自定义过滤器,以便我可以完全访问它,因为通过使用现有过滤器我无法访问文件。”//这是我的问题

我已阅读有关 Direct Show 的信息。Microsoft Direct Show 应用程序编程接口 (API) 是 Microsoft Windows 的媒体流架构。使用 Direct Show,您的应用程序可以执行高质量的视频和音频播放或捕获。

Windows SDK 中提供了 Direct Show 标头、库、SDK 工具和示例。

请建议..

【问题讨论】:

    标签: winapi audio com directshow


    【解决方案1】:

    Windows SDK 还为您提供示例。 Gargle Filter Sample in \Samples\multimedia\directshow\filters\gargle 接近您的需求:音频中点过滤器,可完全控制流式数据。

    //     Summary
    //
    // A simple, in-place transform, audio effect which modifies the data
    // in the samples that pass through it.  The effect is an amplitude
    // modulation with a synthesised secondary wave function.
    // The secondary wave can be a triangular or square wave.  A properties
    // sheet allows the shape and frequency of the secondary wave to be chosen.
    //
    // At low modulation frequencies it sounds like a tremolo, at higher
    // modulation frequencies it sounds like a distortion, adding extra
    // frequencies above and below the original unmodulated sound.
    

    【讨论】:

      猜你喜欢
      • 2013-01-26
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2018-02-05
      • 1970-01-01
      • 2012-03-11
      • 1970-01-01
      相关资源
      最近更新 更多