ffmpeg总是通过directshow传递视频?
ffmpeg总是通过directshow传递视频?
我需要获取来自 ip 摄像机的流视频,并将其传递给 directshow。我正在使用 ffmpeg 来获取此视频,我想知道在 Windows 上,ffmpeg 所做的所有内容是否都使用 directshow?
我知道如何在 rstp 协议中获取电影,但我不知道如何将其输出到 directshow。
如果是真的,我怎样才能获取一部电影,阅读它并将输出传递给 directshow?
谢谢。
ffmpeg always passes the video through directshow?
I need to get a streaming video that came from a ip camera, and pass it to directshow. I'm using ffmpeg to get this video, and I'd like know if on windows, everything that ffmpeg makes use the directshow?
Iknow how can I get a movie in rstp protocol, but I don't know how can I output it to directshow.
If true how can I get a movie, read it and pass the output to directshow?
Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
ffmpeg 是一个独立的压缩/解压缩工具/库,默认情况下它不使用 directshow,但是 您可以配置它,以便它使用 directshow(通过 avisynth),并且它也可以与基于 directshow 的应用程序一起使用,(ffdshow 过滤器)。
为了使用 directshow 捕获 rtsp 流,我建议使用 rtsp 源过滤器,您可以在此处找到一个。
为了进一步了解整个过程,我建议遵循一些 directshow 教程< /a> 作为预备步骤。
编辑:
根据评论,在我看来,您需要一个可以在 Flash Media Encoder 内部使用的 directshow 源过滤器。我不知道有任何(免费)过滤器,但是这里有评论和 这里介绍如何处理这个问题。
ffmpeg is a self-contained compression/decompression tool/library, it does not use directshow by default, however you can configure it so that it uses directshow (via avisynth), and it can also be used with directshow-based applications, (ffdshow filter).
In order to capture a rtsp stream using directshow I would suggest to use a rtsp source filter, you can find one here.
For further understanding of the whole process I would suggest following a few directshow tutorials as a preliminary step.
Edit:
According to comments, it seems to me that you need a directshow source filter that can be used inside Flash Media Encoder. I do not know about any (free)filter for this, but there are comments here and here about how to deal this problem.