VideoHelp Forum
+ Reply to Thread
Results 1 to 8 of 8
Thread
  1. 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 :


    Code:
    DirectShowSource("D:\tests\grf.graph.stream.test.grf", audio=false)
    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.




    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 !
    Quote Quote  
  2. Set framecount to a very high value. Like 9999999.
    Quote Quote  
  3. Same error :/, I'm trying other filter on the graph..
    Quote Quote  
  4. Try forcing the frame rate too. And disable seeking.
    Quote Quote  
  5. I've set :

    Code:
    DirectShowSource("D:\tests\grf.graph.stream.test.grf", fps=25.000, audio=false, convertfps=true, seek=false, framecount=9999999)
    but still the same error ...



    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.
    Quote Quote  
  6. 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.
    Quote Quote  
  7. 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?
    Quote Quote  



Similar Threads