VideoHelp Forum




+ Reply to Thread
Results 1 to 6 of 6
  1. Member
    Join Date
    May 2011
    Location
    Paris (France)
    Search Comp PM
    Hi,

    I've never met such a simple crazy issue. Whenever I play the video (see attachment) the result is normal. But as soon as i use a basic script, audio is playing accelerated. I don't know what's happening and how I could slow down the audio speed. I've tried so many filters (re-assign fps, resample to 44100), ... in vain
    Code:
    DirectShowSource("D:\vid\loubna_0_10.mp4")
    Thks
    Image Attached Files
    Last edited by kaskaï; 30th Jan 2017 at 10:20.
    Quote Quote  
  2. It's in sync / no distortion for me with directshowsource() . It just suggests your directshow filters / system has issues . You would need to fix your directshow filters

    For avisynth, it's more reliable is to use something other than directshowsource (it's not frame accurate, and has many issues, not necessarily reliable)

    e.g. lsmash or ffms2
    Code:
    aud=LSmashAudioSource("loubna_0_10.mp4")
    vid=LSmashVideoSource("loubna_0_10.mp4")
    
    
    audiodub(vid,aud)
    Quote Quote  
  3. Yes, this is why DirectShowSource() is deprecated. It's behavior is unpredictable since it depends on what DirectShow filters are installed on your computer.
    Quote Quote  
  4. Member
    Join Date
    May 2011
    Location
    Paris (France)
    Search Comp PM
    Thanks jagabo & poisondeathray for your help
    Ok, a simple update of K-lite codec has fixed the directshow filter issue.

    In fact, I knew that directshowsource() was not frame accurate especially when you need to multicut (trim) a clip; that's why for years, i was using a basic script closer to this one :
    Code:
    v = dss2("loubna.mp4",  lavs="l3", lavd="l3", preroll=64)
    a = DirectShowSource("loubna.mp4", video=False)
    AudioDub(v,a)
    And it was not so bad for multi cuts. Frame accurate

    Could you tell me the steps to follow to test lsmash ?
    - Download L-SMASH-Works
    - Choose 32 bits version for avisynth r921
    - Copy LSMASHSource.dll & other stuff directly in avisynth plugins folder
    What else. There is a patch folder concerning FFmpeg: what should I do whith that ?
    Quote Quote  
  5. Poisondeathray already gave you a sample script. Just put LSMASHSoure.dll in AviSynth's plugins folder then open the script.
    Quote Quote  
  6. Member
    Join Date
    May 2011
    Location
    Paris (France)
    Search Comp PM
    Thx jagabo & poisondeathray, your availability on the forum for eternal newbie like me, is really appreciated
    Quote Quote  



Similar Threads

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