I have recently started using Avisynth and am having two problems with it.
The firt one and most important to me to solve is that I can't get assumeFPS(23.976, sync_audio=true) to work properly. It changes the frame rate but not the sound. the script I am using is:
movie = AVISource("D:\Projects\StarCops3.avi"
audio = WAVSource("D:\Projects\StarCops3.wav"![]()
movie = movie.audiodub(audio)
movie = movie.letterbox(8,![]()
movie = movie.assumeFPS(23.976, sync_audio=true)
return movie
The second problem is I can't open the files I captured with my DV500 directly with Avisynth but have to preprocess them with VirtualDub into another codec first (I use huffyuv 2.1.1).
I've tried the following:
movie = AVISource("D:\StarCops3.avi"
movie = AVIFileSource("D:\StarCops3.avi"
movie = OpenDMLSource("D:\StarCops3.avi"
movie = DirectShowSource("D:\StarCops3.avi"
All produce the Error message:
AVISource:The Video decompressor Couldn't Produce YUY2 or RGB output
(D:\StarCops3.asv line 1)
with only the function name at the beginning of the message changing to mach the function used.
any help greatly appreciated,
Richard
+ Reply to Thread
Results 1 to 7 of 7
-
-
For YUY2 go to c:\windows\SYSTEM.INI
Add the line VIDC.YUY2=huffyuv.dll -
What version of AVISynth are you using, and are you sure you can use that framerate? Try using whole number 24 instead of the decimal.
irc.webmaster.com port 6667 #DDR -
OOPS, I forgot to disable smiles, the scripts should look like this:
movie = AVISource("D:\Projects\StarCops3.avi")
audio = WAVSource("D:\Projects\StarCops3.wav")
movie = movie.audiodub(audio)
movie = movie.letterbox(8,8)
movie = movie.assumeFPS(23.976, sync_audio=true)
return movie
and
movie = AVISource("D:\StarCops3.avi")
movie = AVIFileSource("D:\StarCops3.avi")
movie = OpenDMLSource("D:\StarCops3.avi")
movie = DirectShowSource("D:\StarCops3.avi")
also I failed to mention the DV500 uses the Pinnacle DV codec version 1.2 -
Eek... so that's why AVISynth won't support your captures straight off the bat.
irc.webmaster.com port 6667 #DDR -
The frame rate works fine it's the sync_audio=true part that isn't working. It seems to make no diference whether it is set to true or false.
AVISynth 1.0 beta3
as to the error message I will try that but it works fine if the codec used is huffyuv, the problem is with AVIs codes with the Pinnacle DV codec.
Thanks
Richard -
I fixed my problem with assumeFRS. TIbrO was correct Avisyth will only use hole numbers, 24 worked fine where 23.976 did not.
Thanks
Now I just have the problem with Avisyth not being able to open AVIs coded with the Pinnacle DV codec. Any ideas on how to over come this? Fixing this problem would cut 2+ hours off the time it takes to code 1 hour of video to MPEG.
Richard
Similar Threads
-
New AVISynth UI
By tin2tin in forum Latest Video NewsReplies: 23Last Post: 19th Jan 2012, 01:53 -
avisynth
By sportflyer in forum Newbie / General discussionsReplies: 1Last Post: 16th Feb 2010, 04:36 -
Using avisynth
By bsuska in forum Video ConversionReplies: 8Last Post: 16th Jul 2009, 08:32 -
AVIsynth help!
By helper in forum Newbie / General discussionsReplies: 11Last Post: 15th Oct 2008, 03:35 -
Avisynth 3.0
By nbi in forum LinuxReplies: 1Last Post: 30th Oct 2007, 16:50