DvD Decryter, DGIndex, and AVS

This forum is for questions and discussion of all the aspects of handling your footage. If you have questions about capturing/ripping footage, AviSynth, or compression/encoding/converting, look here.

Postby Kariudo » Wed Jan 24, 2007 12:37 am

Osakaisthebomb wrote:
Kariudo wrote:well...according to EADFAG, you should index the vobs with DGIndex
(I can't recall exactly why at the moment...)

then you can use avisynth to clean up the footage (avisynth is often better than vdub at cleaning footage)



well there is my problem. I was told to use DGIndex to be able to make AVS files but it doesn't seem to work. 1st dgindex doesn't make a avs no matter what I do. 2nd everytime I try to make it myself it will not open in virtual dub or my editor program. (avs I make from videos made in the editor work fine)


to do that, you have to have a template (I think...I've never used the feature myself)
it's just as easy to write your own script (though if you have a lot of single episodes the template could be kinda nice)

load your vob file(s) into DGIndex and go to file, save project.
this creates a .d2v file
after that, open up notepad (or wordpad)
type (or cpoy/paste) the following.
Code: Select all
Mpeg2Source("filepath to your d2v file.d2v")


save the file, and put .avs at the end of the filename (ex: eva_script.avs)
you should then be able to open the avs file in vdub(/mod)
you can (and probably will end up) add more things to your script to make the video look better.

one of the most common things people do is IVTC(inverse telecine) their footage.
[this is one method of trying to restore the original progressive footage]
last I heard, the TIVTC package was better than the old telecide/decimate combo
if you wanted to do that, you'd add the following to your script:
Code: Select all
TFM()
tdecimate()

with most filters/functions, you can specify paramaters to make the filter/function work better for your source (the paramters and values are usually given in the documentation for that filter/function)
Code: Select all
TFM(order=-1,mode=5,PP=7,field=-1,slow=2)
tdecimate(mode=1)


*sorry if I went over stuff you already know
ImageImage
Image
User avatar
Kariudo
Twilight prince
 
Joined: 15 Jul 2005
Location: Los taquitos unidos
Status: 1924 bots banned and counting!

Postby Krisqo » Wed Jan 24, 2007 6:15 pm

Kariudo wrote:
one of the most common things people do is IVTC(inverse telecine) their footage.
[this is one method of trying to restore the original progressive footage]
last I heard, the TIVTC package was better than the old telecide/decimate combo
if you wanted to do that, you'd add the following to your script:
Code: Select all
TFM()
tdecimate()

with most filters/functions, you can specify paramaters to make the filter/function work better for your source (the paramters and values are usually given in the documentation for that filter/function)
Code: Select all
TFM(order=-1,mode=5,PP=7,field=-1,slow=2)
tdecimate(mode=1)


*sorry if I went over stuff you already know


For TFM, don't you have to add another call to your D2V file?

For example
Code: Select all
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\TIVTC.dll")
mpeg2source("C:\AMV_SOURCES\CARDCAPTOR1\sakura1-FIXED.d2v",cpu=4,upconv=true)
TFM(d2v="C:\AMV_SOURCES\CARDCAPTOR1\sakura1-FIXED.d2v", PP=0)
TDecimate(mode=1)


I can't get it to work without that d2v in there.
Image
User avatar
Krisqo
Cooking Oil
 
Joined: 07 Jul 2003
Location: Moderating the Adobe Forums
Status: W.O.A (Waiting on Aion)

Postby Kariudo » Wed Jan 24, 2007 6:21 pm

works for me just fine.
are you thinking of having to add "d2v=" to mpeg2source?
in the DGDecode documentation it says that you have to specify that the file is a d2v like that...but it didn't work when I tired it... :?
ImageImage
Image
User avatar
Kariudo
Twilight prince
 
Joined: 15 Jul 2005
Location: Los taquitos unidos
Status: 1924 bots banned and counting!

Postby Krisqo » Wed Jan 24, 2007 6:33 pm

It's just like I posted

Code: Select all
TFM(d2v="C:\AMV_SOURCES\CARDCAPTOR1\sakura1-FIXED.d2v", PP=0)


In the TFM function, not the mpeg2source.
Image
User avatar
Krisqo
Cooking Oil
 
Joined: 07 Jul 2003
Location: Moderating the Adobe Forums
Status: W.O.A (Waiting on Aion)

Postby Qyot27 » Wed Jan 24, 2007 7:51 pm

The 'd2v=' parameter in TFM is an override, it isn't required, and TFM naturally assumes that the file loaded by MPEG2Source is the one it's working with. As an aside, I wouldn't recommend using PP=0, though.

I would imagine that problems may be caused if AviSynth doesn't want to autodetect TIVTC, which might be why the d2v parameter needs to be there for TFM to work for you (I'm assuming TIVTC not autoloading is the reason you're using LoadPlugin - as that's the only reason it should be there).

For instance, this is the script I'm currently using on Please Teacher:
Code: Select all
MPEG2Source("pt03_1.d2v", ipp=true, cpu=4)
TFM(order=-1,mode=5,PP=7,field=-1,slow=2)
TDecimate(mode=1, nt=2, m2PA=true, denoise=true)
Crop(4,0,-4,0)
Lanczos4Resize(720,480)
deen("w3d",3,4,6)
ConvertToRGB24()
AssumeFPS(24)


And it loads just fine, albeit slowly (which is why I'm going to cut HuffYUV clips from it to edit with in Premiere instead, hence the ConvertToRGB24 call).
User avatar
Qyot27
Surreptitious fluffy bunny
 
Joined: 30 Aug 2002
Location: St. Pete, FL
Status: Creepin' between the bullfrogs

Postby Scintilla » Wed Jan 24, 2007 10:30 pm

Qyot27 wrote:The 'd2v=' parameter in TFM is an override, it isn't required, and TFM naturally assumes that the file loaded by MPEG2Source is the one it's working with. As an aside, I wouldn't recommend using PP=0, though.

I would imagine that problems may be caused if AviSynth doesn't want to autodetect TIVTC, which might be why the d2v parameter needs to be there for TFM to work for you (I'm assuming TIVTC not autoloading is the reason you're using LoadPlugin - as that's the only reason it should be there).

The way I understand it, the "d2v=" parameter in TFM is there so that TFM doesn't just look at the video footage it's being given, it also looks at the D2V file itself and gets hints from it on how to match the fields properly.

The d2v parameter is essential, for instance, if you have DVD footage that exhibits illegal field order switching (Excel Saga, Love Hina); TFM will then create a fixed D2V file for you that solves the problem and tell you where it is so that you can now change TFM to call the fixed D2V file instead.
ImageImage
:pizza: :pizza: Image :pizza: :pizza:
User avatar
Scintilla
(for EXTREME)
 
Joined: 31 Mar 2003
Location: New Jersey
Status: Quo

Postby Osakaisthebomb » Fri Jan 26, 2007 8:07 pm

let me repeat myself. The files made using DGIndex DON'T WORK in virtual dub.
Image
Image
User avatar
Osakaisthebomb
 
Joined: 09 Jul 2005
Location: Florence,Alabama
Status: 16 kib limit is a crime.

Postby Kariudo » Fri Jan 26, 2007 8:36 pm

that's why you have to use avisynth to frameserve the .d2v files to another program (in your case vdub)
ImageImage
Image
User avatar
Kariudo
Twilight prince
 
Joined: 15 Jul 2005
Location: Los taquitos unidos
Status: 1924 bots banned and counting!

Postby Osakaisthebomb » Fri Jan 26, 2007 8:41 pm

Kariudo wrote:that's why you have to use avisynth to frameserve the .d2v files to another program (in your case vdub)


Sorry I said it wrong. Aparrently the file made from DGIndex is mess up because the .avs I created will not open up in virtual dub.
Image
Image
User avatar
Osakaisthebomb
 
Joined: 09 Jul 2005
Location: Florence,Alabama
Status: 16 kib limit is a crime.

Postby Kariudo » Fri Jan 26, 2007 8:49 pm

can you post the text of the error you are getting?
and can you post your script?
ImageImage
Image
User avatar
Kariudo
Twilight prince
 
Joined: 15 Jul 2005
Location: Los taquitos unidos
Status: 1924 bots banned and counting!

Postby Osakaisthebomb » Fri Jan 26, 2007 9:13 pm

Error:
Avisynth open failure:
MPEG@Source: couldn't open source file, or obsolete D2V file
(E:\KKJN1\Finish\ep 1 his her.ave,line 1)

avisynth file:

Mpeg2Source("E:\KKJN1\Finish\ep 1 his her.d2v")
TFM(order=-1,mode=5,PP=7,field=-1,slow=2)
tdecimate(mode=1)
Image
Image
User avatar
Osakaisthebomb
 
Joined: 09 Jul 2005
Location: Florence,Alabama
Status: 16 kib limit is a crime.

Postby Kariudo » Fri Jan 26, 2007 10:00 pm

I know this error (I think it's caused by using different versions of dgindex and dgdecode, or trying to use dgdecode.dll with d2v files you made with dvd2avi)...try getting the latest version of dgdecode.dll and dgindex (and put dgdecode.dll into avisynth's plugins directory).

if you used dvd2avi you have to use mpeg2dec3.dll
ImageImage
Image
User avatar
Kariudo
Twilight prince
 
Joined: 15 Jul 2005
Location: Los taquitos unidos
Status: 1924 bots banned and counting!

Postby Osakaisthebomb » Sat Jan 27, 2007 2:13 am

Kariudo wrote: (and put dgdecode.dll into avisynth's plugins directory).

if you used dvd2avi you have to use mpeg2dec3.dll


I have no idea what any of that means or how to do it.
Image
Image
User avatar
Osakaisthebomb
 
Joined: 09 Jul 2005
Location: Florence,Alabama
Status: 16 kib limit is a crime.

Postby Osakaisthebomb » Sat Jan 27, 2007 2:29 am

also I need to check if the settings are correct on DGIndex because I might have changed something. These are my settings now.

video-
- iDCT Alogorithm (Skal SSE MMX)
-field opperation (ignore pulldown flags)
audio-
-output method (demux all tracks)
options-
-use full paths
-use directdraw overlay
Image
Image
User avatar
Osakaisthebomb
 
Joined: 09 Jul 2005
Location: Florence,Alabama
Status: 16 kib limit is a crime.

Postby Kariudo » Sat Jan 27, 2007 2:57 am

options I have are similar.
I honor pulldown flags and correct field order (people, don't yell at me if they do similar things, program default)

alright, to get to the plugins directory go to my computer and double-click on your main drive.
then double-click program files.
look for avisynth and double-click it.
you should now see a folder named "plugins", open it.

(if you don't see dgdecode.dll in that plugins folder)
now go to start, find and search for dgdecode.dll (use the documents, files and folders option for searching)
once you find it, click and drag to avisynth's plugins folder
ImageImage
Image
User avatar
Kariudo
Twilight prince
 
Joined: 15 Jul 2005
Location: Los taquitos unidos
Status: 1924 bots banned and counting!

PreviousNext

Return to Footage Help

Who is online

Users browsing this forum: No registered users and 0 guests