Hi All,
I'm trying to take material from my set-top recorder and apply some Avisynth filters to it. I demuxed the material with DVD Decrypter and then cut scenes and created my .d2v project with Cuttermaran. The script works fine until I try to add a BlankClip to the mix. I keep getting the following error: "Splice: Video framerate doesn't match"
I've double-checked the framerate in Cuttermaran and it says it's 29.97, so that's what I'm using for my blank-clip, yet the script keeps erroring out.
Any suggestions?
Thanks,
Trevor
Code:LoadPlugin("C:\Program Files\HCEnc\HC021\DGDecode\DGDecode13.dll") LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\NicAudio.dll") video=MPEG2source("C:\demuxed\CSI.d2v") audio=NicAC3Source("C:\demuxed\CSI.ac3",2) mov=AudioDub(video,audio) bc=BlankClip(mov, length=120, width=720, height=480, fps=29.97, color=$000000) bc+fadeio2(trim(mov,500,1000),20)+fadeio2(trim(mov,1500,2000),20)
+ Reply to Thread
Results 1 to 6 of 6
-
-
How about this:
LoadPlugin("C:\Program Files\HCEnc\HC021\DGDecode\DGDecode13.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\NicAudio.dll")
video=MPEG2source("C:\demuxed\CSI.d2v")
audio=NicAC3Source("C:\demuxed\CSI.ac3",2)
video=video.AssumeFPS(29.97)
mov=AudioDub(video,audio)
bc=BlankClip(mov, length=120, width=720, height=480, fps=29.97, color=$000000)
bc+fadeio2(trim(mov,500,1000),20)+fadeio2(trim(mov ,1500,2000),20)
http://avisynth.org/mediawiki/UnalignedSplice
Have you done this kind of thing before? -
29.97 isn't really 29.97. The frame rate in an AVI file is encoded as two integers, a numerator and a denominator. The true NTSC frame rate is 30000/1001 which is 29.9700299700299700... That small difference is probably what's causing the problem. Manono's AssumeFPS(29.97) should fix it.
-
Manono's AssumeFPS(29.97) should fix it.
Also, shouldn't you be using Alligned Splice, rather than the Unaligned Splice you're using?
Have you done this kind of thing before?
Trevor -
Your first script, eh? You believe in jumping right into the deep end, don't you?
That's not exactly a beginner's script.
Yeah, when I asked if you had done this before, I was wondering if you had had audio synch problems when using scripts like that. But if, as you say, the videos are real short and there's not much of a break between the parts with audio, then you might not notice the difference. It's still a good idea to train yourself right when joining clips with audio and using transitions like fades and dissolves with a blankclip. Good luck. -
Gentlemen,
SUCCESS!!!
Now it's time to start applying all of this to the larger file and see how it turns out. Thanks so much for the help!
Trevor
Similar Threads
-
Avisynth filter RemoveDirt not doing anything
By ThePhoenix in forum Newbie / General discussionsReplies: 10Last Post: 4th Mar 2012, 18:40 -
AviSynth and Filter Order
By sambat in forum EditingReplies: 3Last Post: 11th Jan 2012, 10:04 -
Lav filter and avisynth
By Creed in forum Newbie / General discussionsReplies: 7Last Post: 15th Dec 2011, 16:10 -
Need Avisynth filter
By fubuki81 in forum RestorationReplies: 5Last Post: 30th Sep 2008, 13:04 -
Logoaway filter for AviSynth?
By DRP in forum Video ConversionReplies: 2Last Post: 8th Aug 2008, 04:30