Log in

View Full Version : Use of Graphedit grf files


vcmohan
20th December 2007, 11:14
I have read the wiki on use of graphedit grf file in Avisynth, but could not get a clear idea of how exactly one should draw the filter graph and how to script. Whatever I tried has resulted in Avisynth error message of "only one stream supported for grf files. One of audio/video be disabled". Not knowing how to disable I searched Doom9 and found In one of threads an advice that one stream be connected to a dummy renderer. When I tried this by connecting the audio to a directshow audio renderer I still got the same error message. Then I tried
in graphedit

input file---video filter(codec)..video output pin..
\
\
-----audio filter---audio output pin

Saved as grf file. Used the script line to open

Directshowsource("...grf", audio = false)

This did not give any error message and produced an output (unfortunately in my case it was blank and I am struggling to process m2ts files. That is in another thread)

It took a few hours to figure out. Since there may be others equally unclear about usage of grf files I have detailed it here.
My request is to include in wiki an example of graphedit file and Avisynth script