是否有任何帮助工具可以“即时"创建图形编辑文件?(以编程方式) [英] Is there any helper tool for creating graphedit files "on the fly" (programmatically)

查看:34
本文介绍了是否有任何帮助工具可以“即时"创建图形编辑文件?(以编程方式)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我注意到 avisynth 只能通过包含该源的 graphedit 文件来接受实时直接显示源"作为输入.如果您知道捕获源名称(和/或您想要从该引脚获取的输出格式),是否有任何帮助工具可以即时创建图形编辑文件?

I notice that avisynth can accept as input a "live directshow source" only through a graphedit file that includes that source in it. Is there any help tool out there to create a graphedit file on the fly, given you know a capture sources name (and/or the output format you want from that pin)?

参考:http://betterlogic.com/roger/2012/05/avisynth 实时捕获

graphedit 文件语法描述如下:http://msdn.microsoft.com/en-us/library/windows/desktop/dd388788(v=vs.85).aspx(虽然它没有提到如何发现正确的值放在那里).

The graphedit file syntax is described here: http://msdn.microsoft.com/en-us/library/windows/desktop/dd388788(v=vs.85).aspx (though it doesn't mention how to discover the right values to put in there).

推荐答案

文件格式在 MSDN 的相邻部分:将过滤器图保存到 GraphEdit 文件 .有一个过滤器图并在那里过滤器支持持久性(IPeristStream 接口和朋友),MSDN 文章中的函数 SaveGraphFile 将把图保存到 GraphEdit-loadable 文件中.

The file format is in the neighboring section on MSDN: Saving a Filter Graph to a GraphEdit File . Having a filter graph AND filter there with support for persistence (IPeristStream interface and friends), the function SaveGraphFile on MSDN article will save graph into GraphEdit-loadable file.

这篇关于是否有任何帮助工具可以“即时"创建图形编辑文件?(以编程方式)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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