Need Help! Badly

This forum is for questions and discussion of all the aspects of handling and cleaning up your footage with Avisynth.
Locked
OniZabuza
Joined: Tue Jan 04, 2005 1:42 pm
Org Profile

Need Help! Badly

Post by OniZabuza » Mon Apr 02, 2007 2:53 am

So I've read and followed VicBond's DVD ripping guide exactly, but I'm not getting the results I want. The interlacing is horrible and I don't know what to do about it. I'll briefly explain what I did, but I followed the guide exactly...

1. Ripped the DVD to .vob files with DVD Decrypter
2. Used AVI Synth to make the d2v files
3. Used the following script to convert the files in VirtualDub


LoadPlugin(long list of sources)
Telecide(order=1, guide=1, post=4)
Decimate(quality=3)

I've tried adjusting the order from 0 and 1 and I don't believe there is any improvement. Anyway, the interlacing is unbearably bad in my final product. You can watch what I mean here (15mb avi divx) ...

The below image is a screenshot from my video, after being exported as an UNCOMPRESSED avi from premiere (frame taken with virtualdub):
Image

The next image is the same screenshot, but from my source MPEG file, after being converted. It looks slightly cleaner, but few the third image before judging:
Image

A few frames later, you can see how bad the interlacing is (again from the converted MPEG file):
Image

I've also tried the following script instead, as per a guide my friend picked up at a convention...

MPEG2Source(long list of sources)
Telecide(1)
Decimate(5)
AssumeFPS(24)
LanczosResize(848,480)

My source is the Trinity Blood DVDs (American) and I'm pretty sure the source is interlaced. DGIndex indicated that the file was interlaced (Frame Type: Interlaced), and I checked it myself.

What's going wrong here? What do I need to do?
The hottest AMVer you'll ever meet...
http://www.animemusicvideos.org/members ... p?v=126261

User avatar
Willen
Now in Hi-Def!
Joined: Sun Jul 10, 2005 1:50 am
Status: Melancholy
Location: SOS-Dan HQ
Org Profile

Post by Willen » Mon Apr 02, 2007 4:00 am

Try using TIVTC (available here: http://web.missouri.edu/~kes25c/) instead. Example:
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\TIVTC\TIVTC.dll") #see note 1
Mpeg2Source("C:\path\video.d2v", cpu=4)
TFM(d2v="C:\path\video.d2v")
TDecimate(mode=1)
LanczosResize(848, 480)
AssumeFPS(24)
Note 1: If TIVTC is in the plugin directory directly (not nested like in this example), you won't need to load it manually. More detail here: http://www.animemusicvideos.org/guides/ ... ssive.html.
Having trouble playing back videos? I recommend: Image

OniZabuza
Joined: Tue Jan 04, 2005 1:42 pm
Org Profile

Post by OniZabuza » Mon Apr 02, 2007 2:16 pm

ok thank you sir. ill be trying this tonight. it feels like there should be some uber simple way to do this... *sigh*
The hottest AMVer you'll ever meet...
http://www.animemusicvideos.org/members ... p?v=126261

OniZabuza
Joined: Tue Jan 04, 2005 1:42 pm
Org Profile

Post by OniZabuza » Tue Apr 03, 2007 3:59 am

no luck. when i use that plug in and open the script with virtual dub, it says it cant load the source file...

any other advice? is there a program to de-interlace? also, is there a good program to rip straigh to MPG or AVI? would that help me?
The hottest AMVer you'll ever meet...
http://www.animemusicvideos.org/members ... p?v=126261

User avatar
Willen
Now in Hi-Def!
Joined: Sun Jul 10, 2005 1:50 am
Status: Melancholy
Location: SOS-Dan HQ
Org Profile

Post by Willen » Tue Apr 03, 2007 6:03 am

Can you post the exact error message? (Line, function, etc?)

One possibility is that you have to make sure the source statements are the same:
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\TIVTC\TIVTC.dll") #see note 1
Mpeg2Source("C:\path\video.d2v", cpu=4)
TFM(d2v="C:\path\video.d2v")
TDecimate(mode=1)
LanczosResize(848, 480)
AssumeFPS(24)
Or, you can omit the d2v parameter from TFM() but the accuracy will not be as good since TIVTC references the original d2v file for best results.

Sometimes when I copy and paste scripts, I forget to change the d2v= source and VirtualDubMod throws up this error message:
Avisynth open failure:
TFM: d2v frame count does not match filter frame count (xxxxxx vs yyyyyy)
(C:\path\script.avs, line z)
Where x = frames for the correct video, y = frames for the wrong video (referenced), and z = the line of the script where the error occurred (the line of the TFM() function).

If possible, could you post your AviSynth script?
Having trouble playing back videos? I recommend: Image

OniZabuza
Joined: Tue Jan 04, 2005 1:42 pm
Org Profile

Post by OniZabuza » Tue Apr 03, 2007 12:09 pm

Millen! You are exactly correct sir... here's what i'm using and i'm getting your message. 41919 vs 41917 is what i'm getting. but my sources are theoretically identical... any idea what i should do?
LoadPlugin("C:\Program Files\AMVapp\Avisynth Filters\TIVTCv101\TIVTC\TIVTC.dll") #see note 1
MPEG2Source("C:\Documents and Settings\Ben Hedman\My Documents\Video Projects\The Vatican Falls\d2vs\e1.d2v", cpu=4)
TFM(d2v="C:\Documents and Settings\Ben Hedman\My Documents\Video Projects\The Vatican Falls\d2vs\e1.d2v")
TDecimate(mode=1)
LanczosResize(848, 480)
AssumeFPS(24)
The hottest AMVer you'll ever meet...
http://www.animemusicvideos.org/members ... p?v=126261

User avatar
Willen
Now in Hi-Def!
Joined: Sun Jul 10, 2005 1:50 am
Status: Melancholy
Location: SOS-Dan HQ
Org Profile

Post by Willen » Wed Apr 04, 2007 6:01 am

That's strange, you should be referencing the same d2v file so the frame counts should be exactly the same (and you shouldn't get that error message).

Try using TFM() without any arguments in the parenthesis.

If that doesn't work, then it may be that the version of DVD2AVI/MPEG2Dec or DGIndex/DGDecode you are using has a bug resulting in a 2 frame difference between the source calls. Try downloading and installing the newest version of DGMPGDec (DGIndex/DGDecode) here: http://neuron2.net/dgmpgdec/dgmpgdec.html (you'll want DGMPGDec Version 1.4.9 Beta 14 Executables, or the 1.4.8 release if you dislike beta versions). Unzip the files and drop DGDecode.dll into your AviSynth plugins folder (C:\Program Files\AviSynth 2.5\plugins). If you installed the AMVapp, then DGIndex.exe (and the other files) should go into C:\Program Files\AMVapp\DGMPEGDec. If not, then you can leave them in the folder where you extracted them to. Then run DGIndex to re-create your d2v files (the older ones won't work with the newer DGDecode/MPEG2Dec (aka. MPEG2Source) filter.
Having trouble playing back videos? I recommend: Image

OniZabuza
Joined: Tue Jan 04, 2005 1:42 pm
Org Profile

Post by OniZabuza » Wed Apr 04, 2007 6:33 pm

Hey your blank TFM() parameter suggestion loaded the video just fine, however, I had no luck deinterlacing with it. Take a look, it looks like interlacing is still going on...

Image
The hottest AMVer you'll ever meet...
http://www.animemusicvideos.org/members ... p?v=126261

User avatar
Kariudo
Twilight prince
Joined: Fri Jul 15, 2005 11:08 pm
Status: 1924 bots banned and counting!
Location: Los taquitos unidos
Contact:
Org Profile

Post by Kariudo » Wed Apr 04, 2007 6:58 pm

Qyot_27 suggested that I use some pretty extreme paramaters (the first time I used TFM)...and it's always seemed to do the trick.
if this doesn't work, you should look through the TFM documentation to try and come up with the best paramater values for you

TFM(order=-1,mode=5,PP=7,field=-1,slow=2)
Image
Image

User avatar
Scintilla
(for EXTREME)
Joined: Mon Mar 31, 2003 8:47 pm
Status: Quo
Location: New Jersey
Contact:
Org Profile

Post by Scintilla » Wed Apr 04, 2007 7:17 pm

OniZabuza wrote:Hey your blank TFM() parameter suggestion loaded the video just fine, however, I had no luck deinterlacing with it. Take a look, it looks like interlacing is still going on...

http://kithedman.com/help/damn.jpg
That doesn't look like interlacing, but it's impossible to tell unless you give us a frame that's actually at full resolution.
ImageImage
:pizza: :pizza: Image :pizza: :pizza:

Locked

Return to “AviSynth Help”