I've been searching for a while on how to use Avisynth to open live source.
I found GraphStudio to create the GRF file that Avisynth can open, that's great BUT, Avisynth returns an error :
DirectShowSource : couldn't set null sync source
when i'm playing the .avs file. And when I use the preview from GraphStudio, well it works.
Here's my Avisynth script :
I also tried with the "framecount" parameter, but as far as I don't know the lengh of the clip (because it's live source from capture card) it's isn't usefull I think.Code:DirectShowSource("D:\tests\grf.graph.stream.test.grf", audio=false)
I don't know what to do, that's why I'm asking you .
I'm french, so sorry for my english, which might be hard to understand... :S
Have a nice day !
+ Reply to Thread
Results 1 to 9 of 9
To idea? :S
Set framecount to a very high value. Like 9999999.
Same error :/, I'm trying other filter on the graph..
Try forcing the frame rate too. And disable seeking.
I've set :
DirectShowSource("D:\tests\grf.graph.stream.test.grf", fps=25.000, audio=false, convertfps=true, seek=false, framecount=9999999)
I've tried to open an mp4 file, so not from a capture device, and still, the same error.
Last edited by Keller501; 22nd Dec 2013 at 07:24.
Yes I have the directshow filters, and the mp4 can be opened..
I've tried with other filters but it doesn't seems to work.
Maybe there's another way to open the file from my capture card, like in python or something?
I got the same error on a .grf file with an open audio pin, no open video pin and using DirectShowSource (..., audio = false).
I could correct it by creating an open video pin in the .grf file (in my case, remove the last block, video renderer).
Before this, I was not aware of the requirement below :
"A given GRF file must only target one of an audio or video stream to avoid confusion when DirectShowSource attempts the connection to your open pin(s). This single stream restriction is enforced."
found on this page :