在Windows上进行视频捕获的DirectShow的替代方法

在Windows上进行视频捕获的DirectShow的替代方法

本文介绍了在Windows上进行视频捕获的DirectShow的替代方法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在更新当前使用DirectShow进行视频捕获的程序。尽管DirectShow似乎运行良好,但我想知道是否应该研究更强大或最新的SDK或API。


  1. 在捕获过程中提供一致的帧速率(NTSC的帧间隔为33ms)。


    1. li>
    2. 与DirectShow兼容捕获设备一起使用。

    3. 不需要在客户的PC上安装额外的许可证。

    4. 允许视频的同时预览和硬件编码。

    5. 能够集成到C ++ / MFC应用程序中。

    我研究了和和,但只是想知道其他人在我投资之前已经成功使用了时间或金钱成为这些选择之一。我不在乎这是商业产品还是开放源代码产品。



    编辑:虽然我很欣赏尝试解决我的特定问题的尝试,但是这个问题应该是关于DirectShow的替代品。因此,我删除了所有针对我的特定问题的参考。解决该问题需要等待另一个问题。

    解决方案

    DirectShow API非常好,我从来没有发现更好的解决方案。 Windows平台。 DirectShow已被取代,后者仅是Vista(及更高版本)操作系统。



    在人们开始使用Media Foundation进行大规模开发之前,我们必须等待XP消失...



    请问为什么您要寻找DirectShow的替代品-它是受很好支持的API-在MSDN上有很好的文档说明,并且有一个非常活跃的在MSDN上进行DirectShow开发。


    I am looking at updating a program that currently uses DirectShow for video capture. While DirectShow seems to work well, I was wondering if there were any more powerful or up to date SDKs or APIs that I should look into. Some features that would be helpful would be ones that will:

    1. Provide a consistent framerate (33ms between frames for NTSC) during capture.
    2. Work with DirectShow compatible capture devices.
    3. Not require an extra license to be installed on the customer's PC.
    4. Allow for simultaneous preview and hardware encoding of video.
    5. Be able to be integrated into a C++/MFC application.

    I've looked into LeadTools Multimedia Capture SDK and VisioForge Capture SDK and Microsoft Media Foundation, but just wanted to know what others have used successfully before I invest time or money into one of these alternatives. I don't care if this is a commercial or open source product.

    EDIT: While I appreciate the attempts to solve my particular problem, this question was supposed to be about alternatives to DirectShow. So, I removed all of the references to my specific problem. Solving that will need to wait for another question.

    解决方案

    The DirectShow API is very good, I've never found better on the windows platform. DirectShow has been superseded by Media Foundation, which is Vista (and later) operating systems only.

    We'll have to wait for XP to die before people will start mass development using Media Foundation...

    May I ask why you're seeking an alternative to DirectShow - it's a very well supported API - well documented on MSDN and there's a very active and friendly forum on MSDN for DirectShow Development.

    这篇关于在Windows上进行视频捕获的DirectShow的替代方法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-30 17:20