使用 DirectShow 过滤器解压缩 AVI 文件

发布于 2024-08-21 20:56:33 字数 339 浏览 3 评论 0原文

我正在尝试使用 DirectShow 过滤器解压缩 AVI 文件。

这是我正在构建的图表。

文件阅读器-> AVI 分割器 -> AVI解压器-> SampleGrabber -> AVI Mux ->文件编写器

我起诉 SampleGrabber 是为了报告转换进度,仅此而已。

我遇到的问题是,文件转换后,其中没有音频。视频一切正常,但没有音频。我已经使用 GraphEdt 尝试了同一组过滤器,它转换正常(音频和视频都完好无损)。

我真的不知道在这整个过程中可能会出现什么问题。有什么想法吗?

我正在使用 DirectShowNet

I am trying to decompress an AVI file using DirectShow filters.

Here is the graph I am building.

File Reader -> AVI Splitter -> AVI decompressor -> SampleGrabber ->AVI Mux -> File Writer

I am suing SampleGrabber to report progress of conversion, nothing else.

The issue that I am having is that once the file is converted there is no audio in it. Video is all ok, but there is no Audio. I have tried the same set of filters using GraphEdt and it converts ok (Both Audio and Video are intact).

I really don't know what might be going wrong in this whole process. Any ideas?

I am using DirectShowNet

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文