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
ThksCode:DirectShowSource("D:\vid\loubna_0_10.mp4")
+ Reply to Thread
Results 1 to 6 of 6
-
Last edited by kaskaï; 30th Jan 2017 at 10:20.
-
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)
-
Yes, this is why DirectShowSource() is deprecated. It's behavior is unpredictable since it depends on what DirectShow filters are installed on your computer.
-
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)
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 ? -
Thx jagabo & poisondeathray, your availability on the forum for eternal newbie like me, is really appreciated
Similar Threads
-
Help with avisynth script please - mpeg audio
By pooksahib in forum Video ConversionReplies: 6Last Post: 24th Oct 2016, 10:54 -
Avisynth Script audio problem
By Mr_Flintstone in forum Video ConversionReplies: 12Last Post: 19th Apr 2014, 23:01 -
avisynth - How to write avisynth script for rgba overlay
By moelover in forum EditingReplies: 3Last Post: 13th Apr 2014, 12:24 -
How can i Use VDub Script[.vcf] into Avisynth Script[.avs] ( Megui )
By Maskoff in forum EditingReplies: 1Last Post: 25th Jun 2013, 15:30 -
Encoding AAC Audio from an Avisynth script
By pengy in forum AudioReplies: 3Last Post: 6th Sep 2012, 13:09