I'm trying to inverse telecine an anime video clip using virtual dub mod/Avi synth. My Avs script says:
loadplugin("C:\Users\user1\Desktop\stuff\AviSynth 2.5\plugins\TIVTC.dll")
AVISource("Berserk trailer 2.avi")
TFM(order=0) #0=BFF, 1=TFF
TDecimate()
But whenever I open the .Avs file in Virtual Dub Mod, an error occurs that says "Avisynth open failure, Avisource autodetect: Berserk Trailer 2 could not be read." "Error code: 2." Can anyone give any advice?
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 22 of 22
Thread
-
-
As a general principle, simplify the script to find errors.
Comment out everything except the Avisource and see if that works.
Could be Avisynth can't find the file.
Usually due to a typo in the filename.
Just try opening the AVI directly in VirtualDub and see if it plays, scan for errors.
If any, try DivFixPP.
Minor thing: you don't need the Loadplugin if the dll is in the plugins folder. -
Originally Posted by AlanHK
Originally Posted by AlanHK -
Open the AVI file in VirtualDub and save it as a new file using a lossless codec such as Lagarith or Huffyuv. If you have the disk space, that is.
"Quality is cool, but don't forget... Content is King!" -
Originally Posted by Soopafresh
I first tried to ivtc the trailer using the "reconstruct from fields- adaptive" setting in VDM. I looked in the frame rate info of the finished AVI file and it said the current fps was 23.97, which would lead one to believe that the footage had been successfully IVTC'd to progressive. Yet the end result still has artifacts like this:
-
Originally Posted by Eva-Unit01
Do you have a small sample you can show us?
As for not being able to open it using your script, sometimes similar things happen to me if the AVI is being used by something else. Do a CTRL-Alt-Delete and check if it might be tied up by something, a player maybe. -
Instead of AVISource, try DirectShowSource.
AVISource may not be detecting the codec of the video file. -
I re saved the footage to a huffyuv AVI in 29.97 fps. I opened the following script in virtualdubmod:
loadplugin("C:\Users\User1\Desktop\stuff\decomb523 \Decomb.dll")
AVISource("C:\Users\User1\Desktop\stuff\Anime vob\Berserk Trailer")
Telecide()
Decimate(5)
and it gave the same "Error code 2" saying the problem was in line 2, the Avisource line. -
Got it to IVTC finally, but there are still combing artifacts, and blurring for rounded edges. Which settings should I use for the tfm() of these?
mode:
* 0 = 2-way match
* 1 = 2-way match + 3rd match on combed
* 2 = 2-way match + 3rd match (same order) on combed
* 3 = 2-way match + 3rd match on combed + 4th/5th matches if still combed
* 4 = 3-way match
* 5 = 3-way match + 4th/5th matches on combed
PP
* 0 = nothing (don't even look for combed frames)
* 1 = find/hint combed frames but don't deinterlace
* 2 = dumb blend deinterlacing
* 3 = dumb cubic interpolation deinterlacing
* 4 = dumb modified-ela deinterlacing
* 5 = motion-adaptive blend deinterlacing
* 6 = motion-adaptive cubic interpolation deinterlacing
* 7 = motion-adaptive modified-ela deinterlacing
I have IVTC the video many times but combing artiacts such as this are still present in the ivtc file. This is the script
loadplugin("C:\Users\!\Desktop\!\TIVTC\TIVTC.dll")
AVISource("C:\Users\!\Desktop\!\Anime vob\Berserk_Trailer_v2.avi")
TFM(mode=5,PP=5)
TDecimate(mode=1,rate=24)
-
Post a 10 second sample of the source, one that shows the problems when IVTC'd (but not already reencoded). You can't really tell from pics, but if this thing is field blended no IVTC can do it properly.
-
What do you mean not reencoded? The file was already an Xvid AVI when I IVTC'd it.
-
Those aren't regular combing artifacts. They are improper handling of interlaced chroma channels. It probably happened when you converted the original file to Huffyuv. VirtualDub does not handle interlaced YV12 properly.
-
Originally Posted by jagabo
-
Note, I added more to my last post.
You need to open your original file in AviSynth and ConvertToYUY2(interlaced=true) before giving the video to VirtualDub. Then hope the problem isn't in your original file. -
Originally Posted by jagabo
-
Originally Posted by Eva-Unit01
-
Originally Posted by Eva-Unit01
Code:WhateverSource("Filename.ext") ConvertToYUY2(interlaced=true)
-
Originally Posted by jagabo
Edit: I IVTC'd the YUY2 footage and all the combing is gone. The only thing is, the video and audio skip at random times during playback in virtual dub. Hm, i did use rate=24 in the TDecimate(). -
VirtualDub is not optimized as a video player. In addition, filtering with AviSynth CPU usage may be too high to get smooth realtime playback. Just convert your video and test the resulting file.
Similar Threads
-
Should i use and avisynth script for Dv ?
By smartel in forum Newbie / General discussionsReplies: 0Last Post: 10th Mar 2012, 08:29 -
Avisynth Script Help
By jamhat in forum Video ConversionReplies: 2Last Post: 29th Nov 2009, 06:13 -
Still images from AviSynth script problem
By Leo48 in forum Newbie / General discussionsReplies: 5Last Post: 27th May 2008, 15:54 -
Avisynth script problem (aac to wav conversion)
By greggery in forum Video ConversionReplies: 0Last Post: 22nd Nov 2007, 11:59 -
avisynth script
By magenta2007 in forum SVCD2DVD & VOB2MPGReplies: 7Last Post: 25th Sep 2007, 11:29