Log in

View Full Version : How create grf files for analog capture


yup
29th January 2013, 19:29
Hi all!

I want create grf file using Graphedit or Graphstudio and open in avisynth script for filtering.
I can playback grf files at GraphEdit or Studio but when try open using DirectshowSource I get error file does not have compatible video pin.
At video capture filter I set RGB24 720x576.
Please advice.
yup.

poisondeathray
29th January 2013, 21:13
did you specify audio=false for the video ?

you have to do audio & video separately in avisynth with filter graph



vid=DirectShowSource("video.grf", audio=false)
aud=DirectShowSource("audio.grf", video=false)
audiodub(vid,aud)

IanB
29th January 2013, 22:55
You need to delete the final renderer before you save the .grf, i.e. you need to leave the pin at the end of the chain unconnected, this is the pin DirectShowSource() will attempt to connect to and negotiate a suitable format.

yup
30th January 2013, 05:04
:thanks: for reply!
Script simple
DirectShowSource("simple.grf",audio=false,fps=25)
Graph
http://thumbnails106.imagebam.com/23467/6aa775234665956.jpg (http://www.imagebam.com/image/6aa775234665956)
I get error
DirectShowSource unable to determine the duration of the video.
yup.

Gavino
30th January 2013, 16:43
I get error
DirectShowSource unable to determine the duration of the video

Use the framecount parameter of DirectShowSource, with a large number (at least as big as the number of frames you intend to capture).

yup
31st January 2013, 12:48
Use the framecount parameter of DirectShowSource, with a large number (at least as big as the number of frames you intend to capture).

Gavino :thanks: for advice.
Now all work.
yup.