PDA

View Full Version : Hybrid Source


CCoug83
17th January 2004, 22:20
When using AutoGK I get beautiful results ripping my anime. However, the manufacturer of these discs produces one long source for all the episodes (ie. the episodes are not seperate when decrypted from DVD decrypter). When using GK I can't get as good of results, however I can split the episodes using DVD2AVI on my own.

Here is a copy of my log file from AutoGK if it heps and I was wondering if someone can tell me how to get the same results in GK. Also in the DVD2AVI process for movies like this would I use Forced Film or None? Thank you for your time and I look forward to recieving your replies.

[1/1/2004 3:33:43 AM] Input dir: C:\Documents and Settings\Chris\My Documents\My Videos\Movies\DBZ 205-208
[1/1/2004 3:33:43 AM] Output file: C:\Documents and Settings\Chris\My Documents\My Videos\Movies\DBZ 205-208\Dragon Ball Z 205-208.avi
[1/1/2004 3:33:43 AM] Audio: English
[1/1/2004 3:33:43 AM] Subtitles: none
[1/1/2004 3:33:43 AM] Codec: DivX
[1/1/2004 3:33:43 AM] Target size: 350Mb
[1/1/2004 3:33:43 AM] Custom resolution settings: minimum width of 480 pixels
[1/1/2004 3:33:43 AM] Custom audio settings: VBR MP3 with average bitrate: 128Kbps
[1/1/2004 3:33:43 AM] Started encoding.
[1/1/2004 3:33:43 AM] Demuxing and indexing.
[1/1/2004 3:35:00 AM] Analyzing source.
[1/1/2004 3:35:00 AM] Writing the following script to C:\Documents and Settings\Chris\My Documents\My Videos\Movies\DBZ 205-208\gk_tmp\lastjob.vcf
===========================================================
VirtualDub.Open("C:\\Documents and Settings\\Chris\\My Documents\\My Videos\\Movies\\DBZ 205-208\\gk_tmp\\_.avs",0,0);
VirtualDub.RemoveInputStreams();
VirtualDub.video.SetDepth(24,24);
VirtualDub.video.SetMode(0);
VirtualDub.video.SetFrameRate(0,1);
VirtualDub.video.SetIVTC(0,0,-1,0);
VirtualDub.video.SetCompression();
VirtualDub.video.filters.Clear();
VirtualDub.subset.Delete();
VirtualDub.SaveAVI("C:\\Documents and Settings\\Chris\\My Documents\\My Videos\\Movies\\DBZ 205-208\\gk_tmp\\_.avi");
===========================================================
[1/1/2004 3:43:47 AM] Source has percentage of interlacing in motion areas: 22.84
[1/1/2004 3:43:47 AM] Source has percentage of telecined patterns: 59.23
[1/1/2004 3:43:47 AM] Source has percentage of progressive patterns: 40.18
[1/1/2004 3:43:47 AM] Source has percentage of interlaced patterns: 0.58
[1/1/2004 3:43:47 AM] Source is considered to be hybrid (mostly FILM).
[1/1/2004 3:43:47 AM] Found 97367 frames
[1/1/2004 3:43:47 AM] Encoding audio.
[1/1/2004 3:54:42 AM] Audio size: 60,097,592 bytes (57.31 Mb)
[1/1/2004 3:54:42 AM] Overhead: 6,283,136 bytes (5.99 Mb)
[1/1/2004 3:54:42 AM] Video size: 300,620,872 bytes (286.69 Mb)
[1/1/2004 3:54:42 AM] Target bitrate is: 592kbps
[1/1/2004 3:54:42 AM] Running compressibility test.
[1/1/2004 3:54:42 AM] Writing the following script to C:\Documents and Settings\Chris\My Documents\My Videos\Movies\DBZ 205-208\gk_tmp\Dragon Ball Z 205-208_comptest.avs
===========================================================
LoadPlugin("C:\PROGRA~1\AutoGK\filters\mpeg2dec3dg.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\decomb.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\undot.dll")

function getOrder(clip c) {
order = GetParity(c) ? 1 : 0
return order }

movie = mpeg2source("C:\Documents and Settings\Chris\My Documents\My Videos\Movies\DBZ 205-208\gk_tmp\Dragon Ball Z 205-208.d2v")
cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=10,aspect=0,threshold=35)
c_width = width(cropclip)
c_height = round(height(cropclip) / 0.911392405063291)
input_par = float(c_width)/float(c_height)
fixed_aspect = input_par > 1.4 ? 0.911392405063291 : 0.888888888888889
c_height = round(height(cropclip) / fixed_aspect)
input_par = float(c_width)/float(c_height)
out_width = 640
out_height = round(float(out_width) / input_par)
hmod = out_height - (floor(out_height / 16 ) * 16)
out_height = (hmod > 4) ? (out_height + (16 - hmod)) : (out_height - hmod)
new_aspect = (float(out_width) / float(out_height)) / fixed_aspect
autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=10,aspect=new_aspect,threshold=35)
Telecide(order=getOrder(movie),guide=1,post=2).Decimate(mode=3,threshold=1.0)
Undot()
LanczosResize(out_width,out_height)
SelectRangeEvery(280,14)
===========================================================
[1/1/2004 3:54:42 AM] Writing the following script to C:\Documents and Settings\Chris\My Documents\My Videos\Movies\DBZ 205-208\gk_tmp\lastjob.vcf
===========================================================
VirtualDub.Open("C:\\Documents and Settings\\Chris\\My Documents\\My Videos\\Movies\\DBZ 205-208\\gk_tmp\\Dragon Ball Z 205-208_comptest.avs",0,0);
VirtualDub.video.SetMode(1);
VirtualDub.video.SetFrameRate(0,1);
VirtualDub.video.SetIVTC(0,0,-1,0);
VirtualDub.video.SetRange(0,0);
VirtualDub.video.SetCompression(0x78766964,0,10000,0);
VirtualDub.video.SetCompData(563,"OAEAAAAAAAABAAAAUAkJAAAAAEABAAAAAAAAAAAAAAAAAAAA8AAAADIAAAAgEWoAAAAwAAAAJAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACamZmZmZnJP5qZmZmZmck/AAAAAAAAAAAAAAAAgAIAAOABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4D8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACgAAABkAAAAAAAAAAAAAAABAAAAAQAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAA/////wIAAAABAAAAAAAAAAEAAAACAAAAQzpcRG9jdW1lbnRzIGFuZCBTZXR0aW5nc1xDaHJpc1xNeSBEb2N1bWVudHNcTXkgVmlkZW9zXE1vdmllc1xEQlogMjA1LTIwOFxna190bXBcRHJhZ29uIEJhbGwgWiAyMDUtMjA4X2NvZGVjLmxvZwBjOlx0ZXN0LmRpdngAQzpcRG9jdW1lbnRzIGFuZCBTZXR0aW5nc1xDaHJpc1xNeSBEb2N1bWVudHNcTXkgVmlkZW9zXE1vdmllc1xEQlogMjA1LTIwOFxna190bXBcRHJhZ29uIEJhbGwgWiAyMDUtMjA4X2NvZGVjLm12AGM6XG5ld3JjLnR4dAA=");
VirtualDub.video.filters.Clear();
VirtualDub.subset.Delete();
VirtualDub.SaveAVI("C:\\Documents and Settings\\Chris\\My Documents\\My Videos\\Movies\\DBZ 205-208\\gk_tmp\\Dragon Ball Z 205-208_comptest.avi");
===========================================================
[1/1/2004 4:09:43 AM] Duration was: 15 minutes 0 seconds
[1/1/2004 4:09:43 AM] Speed was: 5.41 fps.
[1/1/2004 4:09:43 AM] Compressibility percentage is: 11.96
[1/1/2004 4:09:43 AM] Using softer resizer.
[1/1/2004 4:09:43 AM] Using softer resizer.
[1/1/2004 4:09:43 AM] Chosen resolution is: 480x368 ( AR: 1.30 )
[1/1/2004 4:09:43 AM] Predicted comptest value is: 22.91
[1/1/2004 4:09:43 AM] Running first pass.
[1/1/2004 4:09:43 AM] Writing the following script to C:\Documents and Settings\Chris\My Documents\My Videos\Movies\DBZ 205-208\gk_tmp\Dragon Ball Z 205-208_movie.avs
===========================================================
LoadPlugin("C:\PROGRA~1\AutoGK\filters\mpeg2dec3dg.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\decomb.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\undot.dll")

function getOrder(clip c) {
order = GetParity(c) ? 1 : 0
return order }

movie = mpeg2source("C:\Documents and Settings\Chris\My Documents\My Videos\Movies\DBZ 205-208\gk_tmp\Dragon Ball Z 205-208.d2v")
cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=10,aspect=0,threshold=35)
c_width = width(cropclip)
c_height = round(height(cropclip) / 0.911392405063291)
input_par = float(c_width)/float(c_height)
fixed_aspect = input_par > 1.4 ? 0.911392405063291 : 0.888888888888889
c_height = round(height(cropclip) / fixed_aspect)
input_par = float(c_width)/float(c_height)
out_width = 480
out_height = round(float(out_width) / input_par)
hmod = out_height - (floor(out_height / 16 ) * 16)
out_height = (hmod > 4) ? (out_height + (16 - hmod)) : (out_height - hmod)
new_aspect = (float(out_width) / float(out_height)) / fixed_aspect
autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=10,aspect=new_aspect,threshold=35)
Telecide(order=getOrder(movie),guide=1,post=2).Decimate(mode=3,threshold=1.0)
Undot()
BicubicResize(out_width,out_height,0,0.5)
===========================================================
[1/1/2004 4:09:43 AM] Writing the following script to C:\Documents and Settings\Chris\My Documents\My Videos\Movies\DBZ 205-208\gk_tmp\lastjob.vcf
===========================================================
VirtualDub.Open("C:\\Documents and Settings\\Chris\\My Documents\\My Videos\\Movies\\DBZ 205-208\\gk_tmp\\Dragon Ball Z 205-208_movie.avs",0,0);
VirtualDub.video.SetMode(1);
VirtualDub.video.SetFrameRate(0,1);
VirtualDub.video.SetIVTC(0,0,-1,0);
VirtualDub.video.SetRange(0,0);
VirtualDub.video.SetCompression(0x78766964,0,10000,0);
VirtualDub.video.SetCompData(563,"OAEAAAAAAAACAAAAUAkJAAAAAEABAAAAAAAAAAAAAAAAAAAA8AAAADIAAAAgEWoAAAAwAAAAJAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACamZmZmZnJP5qZmZmZmck/AAAAAAAAAAAAAAAAgAIAAOABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4D8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACgAAABkAAAAAAAAAAAAAAABAAAAAQAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAABAAAAAAAAAAEAAAAAAAAA/////wIAAAABAAAAAAAAAAAAAAACAAAAQzpcRG9jdW1lbnRzIGFuZCBTZXR0aW5nc1xDaHJpc1xNeSBEb2N1bWVudHNcTXkgVmlkZW9zXE1vdmllc1xEQlogMjA1LTIwOFxna190bXBcRHJhZ29uIEJhbGwgWiAyMDUtMjA4X2NvZGVjLmxvZwBjOlx0ZXN0LmRpdngAQzpcRG9jdW1lbnRzIGFuZCBTZXR0aW5nc1xDaHJpc1xNeSBEb2N1bWVudHNcTXkgVmlkZW9zXE1vdmllc1xEQlogMjA1LTIwOFxna190bXBcRHJhZ29uIEJhbGwgWiAyMDUtMjA4X2NvZGVjLm12AGM6XG5ld3JjLnR4dAA=");
VirtualDub.video.filters.Clear();
VirtualDub.subset.Delete();
VirtualDub.SaveAVI("C:\\Documents and Settings\\Chris\\My Documents\\My Videos\\Movies\\DBZ 205-208\\Dragon Ball Z 205-208.avi");
===========================================================
[1/1/2004 6:16:10 AM] Duration was: 2 hours 6 minutes 26 seconds
[1/1/2004 6:16:10 AM] Speed was: 12.83 fps.
[1/1/2004 6:16:10 AM] Running second pass.
[1/1/2004 6:16:10 AM] Writing the following script to C:\Documents and Settings\Chris\My Documents\My Videos\Movies\DBZ 205-208\gk_tmp\lastjob.vcf
===========================================================
VirtualDub.Open("C:\\Documents and Settings\\Chris\\My Documents\\My Videos\\Movies\\DBZ 205-208\\gk_tmp\\Dragon Ball Z 205-208_movie.avs",0,0);
VirtualDub.video.SetMode(1);
VirtualDub.video.SetFrameRate(0,1);
VirtualDub.video.SetIVTC(0,0,-1,0);
VirtualDub.video.SetRange(0,0);
VirtualDub.video.SetCompression(0x78766964,0,10000,0);
VirtualDub.video.SetCompData(563,"OAEAAAAAAAADAAAAUAkJAAAAAEABAAAAAAAAAAAAAAAAAAAA8AAAADIAAAAgEWoAAAAwAAAAJAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACamZmZmZnJP5qZmZmZmck/AAAAAAAAAAAAAAAAgAIAAOABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4D8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACgAAABkAAAAAAAAAAAAAAABAAAAAQAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAABAAAAAAAAAAEAAAAAAAAA/////wIAAAABAAAAAAAAAAAAAAACAAAAQzpcRG9jdW1lbnRzIGFuZCBTZXR0aW5nc1xDaHJpc1xNeSBEb2N1bWVudHNcTXkgVmlkZW9zXE1vdmllc1xEQlogMjA1LTIwOFxna190bXBcRHJhZ29uIEJhbGwgWiAyMDUtMjA4X2NvZGVjLmxvZwBjOlx0ZXN0LmRpdngAQzpcRG9jdW1lbnRzIGFuZCBTZXR0aW5nc1xDaHJpc1xNeSBEb2N1bWVudHNcTXkgVmlkZW9zXE1vdmllc1xEQlogMjA1LTIwOFxna190bXBcRHJhZ29uIEJhbGwgWiAyMDUtMjA4X2NvZGVjLm12AGM6XG5ld3JjLnR4dAA=");
VirtualDub.video.filters.Clear();
VirtualDub.subset.Delete();
VirtualDub.RemoveInputStreams();
VirtualDub.stream[0].SetSource("C:\\Documents and Settings\\Chris\\My Documents\\My Videos\\Movies\\DBZ 205-208\\gk_tmp\\DRAGON BALL Z 205-208 AC3 T01 2_0ch 256Kbps DELAY 0ms.mp3",0x00000202,1);
VirtualDub.stream[0].SetMode(0);
VirtualDub.stream[0].SetInterleave(1,500,1,0,0);
VirtualDub.stream[0].SetClipMode(1,1);
VirtualDub.stream[0].SetConversion(0,0,0,0,0);
VirtualDub.stream[0].SetVolume();
VirtualDub.stream[0].SetCompression();
VirtualDub.SaveAVI("C:\\Documents and Settings\\Chris\\My Documents\\My Videos\\Movies\\DBZ 205-208\\Dragon Ball Z 205-208.avi");
===========================================================
[1/1/2004 7:44:41 AM] Duration was: 1 hour, 28 minutes 30 seconds
[1/1/2004 7:44:41 AM] Speed was: 18.34 fps.
[1/1/2004 7:44:41 AM] Job finished.

jggimi
18th January 2004, 00:42
If you look at the log you posted, you'll see the AutoGK selected no field operation in DVD2AVI, and then used an IVTC in the .avs script:Telecide(order=getOrder(movie),guide=1,post=2).Decimate(mode=3,threshold=1.0)If you do the same in GK 0.28.7.2, the script will have:
Telecide(order=1,guide=1).Decimate()You may edit the .avs script to match, if you wish, from within Gknot, by using the "Edit" button. You'll find documentation for these DeComb filters in the Gknot docs folder.

manono
18th January 2004, 02:30
Hi-

There's a bit more to it than that. After all the LoadPlugins, but before the mpeg2source line put this:

function getOrder(clip c) {
order = GetParity(c) ? 1 : 0
return order }

And then replace the Mpeg2source line with this:

movie = mpeg2source("C:\Documents and Settings\Chris\My Documents\My Videos\Movies\DBZ 205-208\gk_tmp\Dragon Ball Z 205-208.d2v")

And then in the IVTC line, put this:

Telecide(order=getOrder(movie),guide=1,post=2).Decimate(mode=3,threshold=1.0)

I think that'll work. There are some other, perhaps easier, ways to do it, though. I think your problem with not getting good results from GKnot stems from cutting the vobs in DVD2AVI. That opens you up to needing "Order=0" sometimes. My suggestion is not to split the episodes in DVD2AVI, but in DVDDecrypter, splitting by chapters. For example, if there are a total of 20 chapters and 4 episodes on the DVD, then each episode comprises 5 chapters. Then you can skip the first 2 additions to the script, and just have:

Telecide(order=1,guide=1).Decimate(mode=3,threshold=1.0)

That assumes that DBZ is a hybrid as AutoGK says it is. I've never worked with DBZ, so I don't know.

jggimi
18th January 2004, 02:44
Thanks for the clarification, Manono.

CCoug83
18th January 2004, 10:01
Thanks for all the help guys. I'm already getting much better results using GK thanks to your advise. All this info in one day, amazing what you can learn at these forums.

len0x
20th January 2004, 20:00
I'm curious why you got much better results in GK?
Can you please try AutoGK 0.88 to see if you get better results there as I managed to tune handling of hybrid sources there (which is impossible to do manually).

P.S. or "by much better results" you mean that you were able to get episodes separately and not better quality results ?

manono
21st January 2004, 08:35
Hi len0x-

I think he means better results in GKnot than he was getting before when using GKnot, and not necessarily better results then when using AutoGK. He's trying to get the same results that he got when using AutoGK.

Correct me if I'm wrong, CCoug83.

CCoug83
28th January 2004, 08:42
Manono is correct. I was trying to achieve the results I got in AutoGK in GK because I wanted the cutting ability that I could do in DVD2AVI. Sorry for the misunderstanding.

len0x
28th January 2004, 12:22
there is a trick for AutoGK which allows you to cut out a piece of video (will go to FAQ soon):

- run job as usual
- when DVD2AVI runs in the taskbar switch to it
- hit escape
- do manual selection
- save d2v over the incomplete one
- everything will proceed as usual...

CCoug83
29th January 2004, 00:34
Thanks Lenox! That piece of info is of great help.