将图形编辑图转换为C#代码 [英] convert graph edit diagram to c# code

查看:109
本文介绍了将图形编辑图转换为C#代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何使用directshow.lib graphbuilder将图形编辑中的graphfilter图转换为c#代码?
http://www.omnivex.com/media/forums/capture/WinTV-PVR- 150.png [ ^ ]

可以使您单击链接[/编辑]

how to convert this graphfilter diagram in graph edit to c# code using directshow.lib graphbuilder?
http://www.omnivex.com/media/forums/capture/WinTV-PVR-150.png[^]

Made you''re able to click on the link[/Edit]

推荐答案

您好,

在这里,您只需要将捕获源("Hauppauge WinTV PVR PCI II捕获")插入过滤器图形,然后使用RenderStream通过ICaptureGraphBuilder2从引脚"656"进行渲染.因此,简短的图形构建将如下所示:
Hello,

Here you just need to insert your capture source ("Hauppauge WinTV PVR PCI II Capture") into filter graph, then render it via ICaptureGraphBuilder2 from pin "656" using RenderStream. So the brief graph building will be looks:
ICaptureGraphBuilder2 _builder;
IPin _output = FindPinByName("656"); 
_builder.RenderStream(null,null,_output,null,null);


问候,
Maxim.


Regards,
Maxim.


这篇关于将图形编辑图转换为C#代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆