Hello !
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 !
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 9 of 9
Thread
-
-
I've set :
Code:DirectShowSource("D:\tests\grf.graph.stream.test.grf", fps=25.000, audio=false, convertfps=true, seek=false, framecount=9999999)
Edit :
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.
-
Can Windows Media Player play the MP4 file on your system? Ie, do you have all the require DirectShow components to play the MP4? If not, don't expect DirectShowSource() to work with MP4. I don't know what else you can try with the grf source.
-
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 :
http://avisynth.nl/index.php/DirectShowSource
Similar Threads
-
Audio Player with stereo-to-AC3 encoding & user graph playback ?
By zamar27 in forum AudioReplies: 1Last Post: 11th Feb 2012, 17:21 -
FFCoder & Avisynth
By jammerD in forum Newbie / General discussionsReplies: 2Last Post: 30th Jan 2012, 11:43 -
AviSynth & VirtualDub - Comfortable ways to create avs-files?
By klischee in forum EditingReplies: 7Last Post: 28th Oct 2010, 16:20 -
AVISynth Error DirectShowSource: Timeout waiting for graph to start - .m2ts
By onesikgypo in forum Video ConversionReplies: 2Last Post: 22nd Jun 2010, 21:30 -
Opening files in Graph Edit
By tb582 in forum Newbie / General discussionsReplies: 1Last Post: 7th Aug 2009, 12:27