VideoHelp Forum




+ Reply to Thread
Results 1 to 13 of 13
  1. Hi all. I am trying to use AviSynth for the first time, but I'm having a problem. I have installed AviSynth and Avspmod. I have also clearly typed full directory to my video, but the script still won't open it. I am trying to use AviSynth with Virtualdub and I have saved frameserver on Virtualdub. I've searched the website and videos and followed instructions, but still doesn't work. This has been going on for many months now and I am getting very frustrated. It seems like working on my own is insufficient, so I really need help from people who are very knowledgeable with this. I've also posted a video up on Youtube regarding this problem. https://www.youtube.com/watch?v=sEySwWFoF8w&feature=youtu.be. I would be very appreciated if anyone can help me. Thank you.
    Quote Quote  
  2. Did you run auxsetup.exe yet?

    How do I install the frameserver?
    The frameserver is an integral part of VirtualDub, but you will need to install various clients. There is an auxsetup.exe application included that will install the AVIFile client; directions for installing the codec (VCM) client are in the help file. In addition, there is an aviproxy directory in the binary distribution which will allow you to boost the AVIFile client into proxy mode, the most compatible mode.
    http://www.virtualdub.org/docs_frameserver.html


    Why do you want to use the virtualdub frameserver, btw? Most people open video files in AviSynth using a source filter like ffms2 to directly open mp4/mkv/ts files.
    Quote Quote  
  3. Yes, VirtualDub's auxsetup.exe must be run once on your system in order for its frameserver to work.

    And you should install an AviSynth source filter that allows you to open mp4 files directly in your script. LSMASH or the old ffmpeg source filters are usually good for that.

    https://www.youtube.com/watch?v=sEySwWFoF8w&feature=youtu.be
    http://avisynth.nl/index.php/FFmpegSource

    Your script will then start with something like:
    Code:
    LSmashVideoSource("C:\Tutorial\Tekken 4.mp4")
    or
    Code:
    ffvideoSource("C:\Tutorial\Tekken 4.mp4")
    Note that these filters only load the video. You can use the audio from the original video when you encode, or use additional source filters to your script to get the audio.



    Your script as shown will not work once you take out the "return video" line. Each filter requires a source stream and produces an output stream. If you don't specify a name for those streams the name "last" is assumed. So a script like:

    Code:
    LSmashVideoSource("C:\Tutorial\Tekken 4.mp4")
    ConvertToYV12()
    really means:

    Code:
    last = LSmashVideoSource("C:\Tutorial\Tekken 4.mp4")
    last = ConvertToYV12(last)
    return(last) #implied
    The first line creates a stream called last, the source video. The second line creates a new stream called last using last from the first line. last from the first line is no longer available to filters lower down in the script, the new last has replaced it.

    So your script
    Code:
    video = AVISource("c:\Tutorial\Tekken 4.vdr")
    video = ConvertToYV12()
    is saying

    Code:
    video = AVISource("c:\Tutorial\Tekken 4.vdr")
    video = ConvertToYV12(last)
    Since no last has been created the script will fail. You want the script to look like:

    Code:
    video = AVISource("c:\Tutorial\Tekken 4.vdr")
    video = ConvertToYV12(video)
    The same is true for the rest of the lines your script, you need to specify the source for each filter, or last will be assumed.

    So you can let AviSynth assume last for each filter:

    Code:
    LSmashVideoSource("C:\Tutorial\Tekken 4.mp4")
    AssumeTFF()
    ConvertToYV12(interlaced=true)
    QTGMC(Preset="Slower", SourceMatch=3, Lossless=2, EdiThreads=1)
    or specify a named stream for each filter:

    Code:
    video = LSmashVideoSource("C:\Tutorial\Tekken 4.mp4")
    video = AssumeTFF(video)
    video = ConvertToYV12(video, interlaced=true)
    video = QTGMC(video, Preset="Slower", SourceMatch=3, Lossless=2, EdiThreads=1)
    return(video)
    You also need to specify interlaced=true (as depicted above) for your ConvertToYV12 or the chroma channels will get messed up. And I like to put AssumeTFF before any other filtering (though it's not strictly necessary here).
    Quote Quote  
  4. So I have downloaded the source filter as shown in my video, but I don't know how to install it. Also, how do I run auxsetup.exe?
    Quote Quote  
  5. Originally Posted by jseo13579 View Post
    So I have downloaded the source filter as shown in my video, but I don't know how to install it.
    Just put the dll files in AviSynth's plugins folder. Also ffms2.avsi. I usually put the docs there too. You need to put them somewhere for reference.

    Originally Posted by jseo13579 View Post
    Also, how do I run auxsetup.exe?
    Use Explorer to navigate to VirtualDub's folder and double click on auxsetup.exe.

    A few other Windows settings that will make your life easier: from Explorer select Organize -> Folder And Search Options. Go to the View tab. Enable "Display the full path in the title bar". Disable "Hide extensions for known file types".
    Quote Quote  
  6. Thank you so much. Now the video has finally opened. I have another problem. When I add QTGMC filter, it says "There's no function named Dither Luma Rebuild". I have installed QTGMC avsi file. What's the problem here? Also, AviSynth output video has no audio. What can I do about it?
    Last edited by jseo13579; 19th Aug 2018 at 13:27.
    Quote Quote  
  7. QTGMC has a lot of dependencies to other plugins. (Dither_Luma_Rebuild is part of SMDegrain)

    http://avisynth.nl/index.php/QTGMC#Requirements
    Quote Quote  
  8. I have downloaded and installed them, but it gives me that message. Okay, when I download SMDegrain, I have to download it as a text message. Is that why it's not working?
    Quote Quote  
  9. Give the SMDegrain script the extension .AVSI. Put it in AviSynth's plugins folder. .AVSI scripts load automatically.
    Quote Quote  
  10. Done. Now only problem I have is the sound. The output video has no audio when rendered with Virtualdub. What should I do?
    Quote Quote  
  11. Always post the complete script you are using.

    With ffvideosource/lsmashvideosource you can load video+sound like this:
    Code:
    a=ffaudiosource("C:\Tutorial\Tekken 4.mp4")
    v=ffvideosource("C:\Tutorial\Tekken 4.mp4")
    AudioDub(v, a)
    QTGMC()
    Quote Quote  
  12. When I render in VirtualDub, rendering stops in the middle of the time, saying FFMPEG.dll reading error. Do you know how to fix it?
    Quote Quote  
  13. Thank you so much more helping guys. I honestly have decided to forget about AviSynth since it has a lot of issues. A lot of downloading files listed in the website have problems as dll files are missing. I was forced to get it via other webpage. Anyway, thanks.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!