Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试从 IGraphBuilder 编码视频,为此我需要一个 HBitmap 我可以这样做吗?
PS 我知道 IGraphBuilder 已经有一个 RenderFile 函数,但是这对我来说太慢了,我也更喜欢在 H264 中渲染
IGraphBuilder控制管道,它没有,拥有,甚至有一个最微弱的位图或它们的句柄的概念。
IGraphBuilder
典型的方法是Sample Grabber在管道中插入一个过滤器并从那里抓取视频帧(那里有很多示例代码可以做到这一点)。您仍然必须提供有关您的特定任务的更多详细信息才能获得合理的建议。
Sample Grabber