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

问题描述

我注意到,avisynth只能通过其中包含该源的graphedit文件来接受实时DirectShow源"作为输入.

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)?

ref: http://betterlogic.com/roger/2012/05/avisynth-live-capture

此处描述了graphedit文件的语法: http://msdn.microsoft.com/zh-cn/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文件. MSDN文章上的功能SaveGraphFile具有一个过滤器图并在那里进行过滤以支持持久性(IPeristStream接口和朋友),因此将图保存到GraphEdit可加载文件中.

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.

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

09-24 16:58