VideoHelp Forum




+ Reply to Thread
Results 1 to 11 of 11
  1. I'm finally upgrading from xp 32bit to win7 64bit and hoping i can get megui running again a bit quicker than i managed all those years ago; the steps i took are unfortunately long forgotten.

    I've downloaded

    ffdshow

    and ensured all the relevant codecs have the libavcodec option enabled in the video and audio configuration windows.

    followed by

    ffmpegsource_20071006
    ffmpeg-2.5.4.tar
    ffmpeg-20150402-git-d759844-win64-shared

    And because there's never a clear indication of what to do with them, i've installed every dll in each and every directory i can think of including megui tools, avisynyth2.5 plugins, windows\system32.

    If i try to use directshowsource as in this script:

    DirectShowSource("G:\FilmTitle.2013.1080p.DTS.mkv" , fps=23.976, convertfps=true)

    it just tells me that the video and audio sources are not supported.

    If I try to use ffmpegsource as in this script:

    FFmpegSource("G:\FilmTitle.1080p.DTS.mkv")

    It hangs for a long time and then opens very blocky video. It also leaves a file called FilmTitle.1080p.DTS.mkv.ffv0cache, which it never used to do before.

    Can someone help please?

    Thanks.
    Quote Quote  
  2. ffmpegsource is very old version (probably broken), about 7-8 years old

    ffmpegsource2 (ffms2) is the newer version. You can download it separately, but I think the newer megui versions have it included

    If you still want to get directshowsource working, try installing lav filters. You might have to fiddle with preferred codec tweaker to get lav working
    Quote Quote  
  3. Appreciate the reply - but can you be a bit more precise please?
    Do I actually need ffms2 if i have the latest megui?
    If so, what do i do with all the dlls when i download them? If not, why don't my scripts work?
    What do i do with all the lav dlls and ax filters? where do i put them?
    Quote Quote  
  4. I think everything should be included in the modern megui versions . It can create the script for you




    But if you want manual steps :

    Download ffms2, and unzip it.
    https://github.com/FFMS/ffms2/releases

    If you place the contents in your avisynth/plugins folder, ffms2.dll will autoload, otherwise load it manually in the script with LoadPlugin for the avisynth 2.58 version, LoadCPlugin for the 2.6 version

    The syntax has changed, it's FFVideoSource() now, not FFMpegSource()

    LoadPlugin("PATH\ffms2.dll")
    FFVideoSource("G:\FilmTitle.1080p.DTS.mkv")


    That's just for video, audio is loaded with FFAudioSource

    LoadPlugin("PATH\ffms2.dll")
    aud = FFAudioSource("G:\FilmTitle.1080p.DTS.mkv")
    vid = FFVideoSource("G:\FilmTitle.1080p.DTS.mkv")
    AudioDub(vid,aud)



    There is an ffms2.avsi in the zip folder which is a "helper" fuction, FFMpegSource2(). It basically combines the above FFAudioSource and FFVideoSource with audiodub. atrack =-1 for the 1st audio track


    FFMpegSource2("G:\FilmTitle.1080p.DTS.mkv", atrack=-1)
    Quote Quote  
  5. That's really helpful and thanks for taking the time. I do already have ffms2.dll in my avisynth plugin folder, but a simple script:

    FFVideoSource("G:\FilmTitle.1080p.DTS.mkv")

    gives the script error: there is no function named "FFVideoSource".
    Quote Quote  
  6. If it's FFMS2 2.6.x , you need to use LoadCPlugin, not LoadPlugin. Cplugin won't autoload, unless you put an .avsi in there with a LoadCPlugin statement

    LoadCPlugin("PATH\ffms2.dll")
    FFVideoSource("G:\FilmTitle.1080p.DTS.mkv")
    Quote Quote  
  7. I think i had the x64 file in avisynth. With the other ffms.dll it takes minutes to open, but it does in the end. It only used to take a few seconds. Any idea why? Is there a directshow method?
    Last edited by Bully9; 3rd Apr 2015 at 16:50.
    Quote Quote  
  8. Everything should be x86 for avisynth - the x64 branch is unstable, and doesn't have as many plugins/filters available

    It is supposed to "hang" for a minute or so, because it's indexing the file. The larger and longer the file, the longer it will take to index

    You can try it on another, smaller MKV to see if it works at all first
    Quote Quote  
  9. Well, it seems to work and thanks a lot for that, but it seems a step back - we're talking 90secs with a big film including the audio. Is there no way i can return to the old system that worked so well on xp with directshowsource or FFMpegsource? i.e no indexing?
    Quote Quote  
  10. The old ffmpegsource took just as long (it indexed it too)

    You can use directshowsource, but you have to configure your system directshow filters to work, and you are prone to directshow issues (frame accuracy problems, especially with temporal filters, possible directshow configuration/filter issues)
    Quote Quote  
  11. Ok that's enough for one day, my brain is starting to ache. I'm sure i'll be back to pick yours again soon
    Thanks again and have a good bank holiday.
    Quote Quote  



Similar Threads

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