## frist post
Hello im very new to avisyth and now very littel of it started 3 days ago becuase some of my friends say its a powerfull tool for encoding and so it has come to me to try this out and i agree but i have troubles trying to remove interlace and when i convert from 29.970 to 23.976 the audio is messed up. Can u also provide me with a tut on mp3 framerating i have read the one on Besweet program but when i encode ac3 to mp3 the sounds is very deep and slow and from mp3 to mp3 where i encode vob to mp3 in AC3encoder both have same troubles when trying to change framerate. and finale out put has to be in mp3 fro personal reasons.
here is my script as of now please if some oen can help me with the interlace thing since its heavily interlace i havent a clue
LoadPlugin("D:\Program Files\AviSynth 2.5\plugins\Decomb.dll")
LoadPlugin("D:\Program Files\AviSynth 2.5\plugins\MPEG2DEC.dll")
LoadPlugin("D:\Program Files\AviSynth 2.5\plugins\MPEGDecoder.dll")
LoadPlugin("D:\Program Files\AviSynth 2.5\plugins\TemporalCleaner.dll")
LoadPlugin("D:\Program Files\AviSynth 2.5\plugins\mpasource.dll")
v=mpeg2source("c:\test\test.d2v")
A=MPASource("c:\test\test.mp3")
AudioDub(V,A)
AmplifyDB(10)
EnsureVBRMP3Sync()
Crop(4,6,696,474)
Trim(0,12075)
LanczosResize(640,480)
Telecide()
FieldDeinterlace()
bob
ChangeFPS(23.976)
+ Reply to Thread
Results 1 to 5 of 5
-
-
Whoa there, you got a lot of conflicting commands there, and the order is not right.
First off what you are attempting to do is called an inverse telecine (29.97->23.976fps) When you do this you need to perform the IVTC before you crop or resize, otherwise you can run into all sorts of problems. Also, when you run an IVTC filter, by its very nature it removes the interlacing and changes the fps. An iverse telecine filter essentially removes all of the repeated fields and combines the remaining ones back into the original whole progressive frames. In doing so, you eliminate extrensic frames, so the framerate is changed back to 23.97fps. So... your field deinterlace command and your changefps commands are unneeded, and may be what's causing the sync problem.
Telecide()
Decimate(cycle=5)
Crop(4,6,696,474)
LanczosResize(640,480)
Trim(0,12075)
Try something like that instead.
As for audio, there is no speed change necessary. 23.976fps and 29.97fps have the exact same playtime. The additional frames are created by repeating fields, not by time stretching. If you remove the repeated fields via an IVTC, the remaining fields will still sync up with audio because your movie still starts and ends at the same points. It seems your source is mp3 and your output needs to be mp3 as well. So, there is no encoding necessary at all. Just use the original audio source along with your encoded output video. -
so this is what i should have
LoadPlugin("D:\Program Files\AviSynth 2.5\plugins\Decomb.dll")
LoadPlugin("D:\Program Files\AviSynth 2.5\plugins\MPEG2DEC.dll")
LoadPlugin("D:\Program Files\AviSynth 2.5\plugins\MPEGDecoder.dll")
LoadPlugin("D:\Program Files\AviSynth 2.5\plugins\TemporalCleaner.dll")
LoadPlugin("D:\Program Files\AviSynth 2.5\plugins\mpasource.dll")
v=mpeg2source("c:\test\test.d2v")
A=MPASource("c:\test\test.mp3")
AudioDub(V,A)
AmplifyDB(10)
EnsureVBRMP3Sync()
Telecide()
Decimate(cycle=5)
Crop(4,6,696,474)
LanczosResize(640,480)
Trim(0,12075)
FieldDeinterlace()
bob
ChangeFPS(23.976)
by any chance is there any way to autoload plugins in the plugin dir instead
loading them in the script like that and I also noticed that the video was a bit dark and noisy any filters that might be usefull in the correction of that durr (3rd time editing this) do u know where i might a good tutrial about comands and there clashing as u stated b4 please and thank you -
No, like I said the IVTC (the telecide() command) removes all deinterlacing and changes the framerate. Therefore your fielddeinterlace (used to remove interlacing) and your changefps (used to change framerate) commands are unneccesary and are probably causing sync problems.
If you take out the
FieldDeinterlace()
bob
ChangeFPS(23.976)
commands from the last script you posted it should work. I don't know why you are including audio in your script though. There is no reason to re-encode the audio, its already running at the correct speed and is in the correct format. Just interleave the audio with your video after you are done encoding.
Yes you can skip the loading of the filters in your script. Just make sure the plugins are located in your avisynth/plugins dir and avisynth does the rest. You can then skip the loadplugin command, and just use the filter commands themselves.
The best guide for Avisynth is at avisynth.org.
There are literally thousands of filters for avisynth. You will just have to do some web searches and find some noise removal and color correction filter that suit your needs. If you go to the download section of www.doom9.net you will find some links to the most popular filters for avisynth. Don't forget to stop by the avisynth forum either. -
thank u very much the aduio works fine and the interlace is gone your are da best man this problem has ben bugging me for the longest
Similar Threads
-
VirtualDub unable to open avisyth scripts
By suroit in forum EditingReplies: 17Last Post: 19th Dec 2010, 15:13 -
Avisyth and overlay transparent png looking strange
By lindylex in forum EditingReplies: 4Last Post: 15th Aug 2010, 17:23 -
Converting DV to H.264 and comparing interlaced/de-interlaced
By amirh1 in forum Video ConversionReplies: 5Last Post: 23rd Jun 2010, 09:16 -
How to know if a video is interlaced?
By JLGUT in forum EditingReplies: 9Last Post: 20th Mar 2009, 15:40 -
Video Advantage PCI: Interlaced Video/No Live Audio Preview/Other Questions
By acid_burn in forum Capturing and VCRReplies: 2Last Post: 8th Feb 2008, 20:03