0

hi every one this is my first post here . i got a misunderstanding of the DirectShow the First at all is the render : here is the question if i create a stream where it should appear . should i create IVideoWindow * pointerV; and create the window form by hand "from scratch" ? because i need to create a sophisticated GUI and coding it will be mission impossible V.

i am using VC++ ; i wondering if is it possible to use the winFrame directly with all .net 's components and combine the all with directShow functionality ?

4

2 回答 2

1

您只需添加并连接一个 Video Renderer 过滤器,它将创建窗口。然后从此过滤器或图形对象本身请求 IVideoWindow 接口(如果图形中只有一个视频渲染器)。

于 2012-08-23T10:28:40.590 回答
0

您可以创建 GUI 并渲染到该 GUI 中的任何组件。您只需提供该 GUI 元素的句柄,这样您就可以拥有不可能的 GUI 以及直接显示。

对于 .Net 组件,我相信最好的方法是使用 .net(比如 c# .net),您可以使用名为 dshow.net 的直接显示包装器,它使事情变得非常容易,因为您使用的是 C# 并获得了 Direct show 的强大功能,但请请注意,这会在尝试实现高级功能时偶尔引起问题。但我仍然认为这是使用 dshow 的好方法。

但是,如果您打算使用 directshow 并且有一个非常复杂的 ui ,让我建议另一种使用直接显示的方法。使用框架 Qt 使用 vc++ 编译器。

抱歉,我无法正确回答您的问题,但希望对您有所帮助。

于 2015-08-28T00:49:58.783 回答