View Full Version : Auto Gordian Knot: current version 2.55
GizmoDerMokwai
3rd April 2004, 17:07
Hi, i've ripped Tomb Raider 2 - The Cradle of Life (PAL) with forced subs and xvid+ac3 to 1400mb, but final avi has 3 segments. last one with 4,81mb of size...
Here's the log:
[03.04.2004 12:29:03] Input dir: D:\tmp\DVD\Rips\LARA_CROFT_TOMB_RAIDER_2_VTS_01_PGC1
[03.04.2004 12:29:03] Output file: D:\tmp\lctr2dwdl.avi
[03.04.2004 12:29:03] Audio: Deutsch
[03.04.2004 12:29:03] Subtitles: Deutsch
[03.04.2004 12:29:03] Display only forced subtitles.
[03.04.2004 12:29:03] Codec: XviD
[03.04.2004 12:29:03] Target size: 1400Mb
[03.04.2004 12:29:03] Custom resolution settings: minimum width of 512 pixels
[03.04.2004 12:29:03] Custom audio settings: AC3
[03.04.2004 12:29:03] Started encoding.
[03.04.2004 12:29:03] Demuxing and indexing.
[03.04.2004 12:35:38] Analyzing source.
[03.04.2004 12:35:38] Writing the following script to D:\tmp\gk_tmp\lastjob.vcf
===========================================================
VirtualDub.Open("D:\\tmp\\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("D:\\tmp\\gk_tmp\\_.avi");
===========================================================
[03.04.2004 12:46:34] Source has percentage of interlacing in motion areas: 0,00
[03.04.2004 12:46:34] Source is considered to be progressive.
[03.04.2004 12:46:34] Found 168746 frames
[03.04.2004 12:46:34] Indexing subtitles.
[03.04.2004 12:46:34] Writing the following script to D:\tmp\gk_tmp\vobsub.params
===========================================================
D:\tmp\DVD\Rips\LARA_CROFT_TOMB_RAIDER_2_VTS_01_PGC1\VTS_01_0.ifo
D:\tmp\gk_tmp\lctr2dwdl
1
0
0 cc
CLOSE
===========================================================
[03.04.2004 12:52:33] WinRAR is not found. Switching to internal subtitles.
[03.04.2004 12:52:33] Audio size: 377,938,176 bytes (360.43 Mb)
[03.04.2004 12:52:33] Overhead: 2,003,840 bytes (1.91 Mb)
[03.04.2004 12:52:33] Video size: 1,088,064,384 bytes (1037.66 Mb)
[03.04.2004 12:52:33] Running compressibility test.
[03.04.2004 12:52:33] Writing the following script to D:\tmp\gk_tmp\lctr2dwdl_comptest.avs
===========================================================
LoadPlugin("C:\PROGRA~1\DVDRIP~1\AutoGK\filters\mpeg2dec3dg.dll")
LoadPlugin("C:\PROGRA~1\DVDRIP~1\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\PROGRA~1\DVDRIP~1\AutoGK\filters\vsfilter.dll")
LoadPlugin("C:\PROGRA~1\DVDRIP~1\AutoGK\filters\undot.dll")
function getOrder(clip c) {
order = GetParity(c) ? 1 : 0
return order }
movie = mpeg2source("D:\tmp\gk_tmp\lctr2dwdl.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) / 1.45868945868946)
input_par = float(c_width)/float(c_height)
fixed_aspect = input_par > 1.4 ? 1.45868945868946 : 1.42222222222222
c_height = round(height(cropclip) / fixed_aspect)
input_par = float(c_width)/float(c_height)
out_width = 704
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)
Undot()
VobSub("D:\tmp\gk_tmp\lctr2dwdl.idx")
LanczosResize(out_width,out_height)
SelectRangeEvery(300,15)
===========================================================
[03.04.2004 12:52:34] Writing the following script to D:\tmp\gk_tmp\lastjob.vcf
===========================================================
VirtualDub.Open("D:\\tmp\\gk_tmp\\lctr2dwdl_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(0x64697678,0,10000,0);
VirtualDub.video.filters.Clear();
VirtualDub.subset.Delete();
VirtualDub.SaveAVI("D:\\tmp\\gk_tmp\\lctr2dwdl_comptest.avi");
===========================================================
[03.04.2004 13:04:35] Duration was: 12 minutes 1 second.
[03.04.2004 13:04:35] Speed was: 11,69 fps.
[03.04.2004 13:04:36] Compressibility percentage is: 57,73
[03.04.2004 13:04:36] Chosen resolution is: 640x272 ( AR: 2,35 )
[03.04.2004 13:04:36] Predicted comptest value is: 70,97
[03.04.2004 13:04:36] Running first pass.
[03.04.2004 13:04:36] Writing the following script to D:\tmp\gk_tmp\lctr2dwdl_movie.avs
===========================================================
LoadPlugin("C:\PROGRA~1\DVDRIP~1\AutoGK\filters\mpeg2dec3dg.dll")
LoadPlugin("C:\PROGRA~1\DVDRIP~1\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\PROGRA~1\DVDRIP~1\AutoGK\filters\vsfilter.dll")
LoadPlugin("C:\PROGRA~1\DVDRIP~1\AutoGK\filters\undot.dll")
function getOrder(clip c) {
order = GetParity(c) ? 1 : 0
return order }
movie = mpeg2source("D:\tmp\gk_tmp\lctr2dwdl.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) / 1.45868945868946)
input_par = float(c_width)/float(c_height)
fixed_aspect = input_par > 1.4 ? 1.45868945868946 : 1.42222222222222
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)
Undot()
VobSub("D:\tmp\gk_tmp\lctr2dwdl.idx")
LanczosResize(out_width,out_height)
GizmoDerMokwai
3rd April 2004, 17:08
===========================================================
[03.04.2004 13:04:37] Writing the following script to D:\tmp\gk_tmp\lastjob.vcf
===========================================================
VirtualDub.Open("D:\\tmp\\gk_tmp\\lctr2dwdl_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(0x64697678,0,10000,0);
VirtualDub.video.filters.Clear();
VirtualDub.subset.Delete();
VirtualDub.SaveAVI("D:\\tmp\\lctr2dwdl.avi");
===========================================================
[03.04.2004 15:05:03] Duration was: 2 hours 0 minutes 26 seconds
[03.04.2004 15:05:03] Speed was: 23,35 fps.
[03.04.2004 15:05:04] Expected quality of first pass size: 70,16
[03.04.2004 15:05:04] Running second pass.
[03.04.2004 15:05:04] Writing the following script to D:\tmp\gk_tmp\lastjob.vcf
===========================================================
VirtualDub.Open("D:\\tmp\\gk_tmp\\lctr2dwdl_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(0x64697678,0,10000,0);
VirtualDub.video.filters.Clear();
VirtualDub.subset.Delete();
VirtualDub.RemoveInputStreams();
VirtualDub.stream[0].SetSource("D:\\tmp\\gk_tmp\\LCTR2DWDL AC3 T01 3_2ch 448Kbps DELAY 0ms.ac3",0x00000203,0);
VirtualDub.stream[0].SetMode(0);
VirtualDub.stream[0].SetInterleave(1,500,2,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("D:\\tmp\\lctr2dwdl.avi");
===========================================================
[03.04.2004 17:57:54] Duration was: 2 hours 52 minutes 50 seconds
[03.04.2004 17:57:54] Speed was: 16,27 fps.
[03.04.2004 17:57:55] Writing the following script to D:\tmp\gk_tmp\lastjob.vcf
===========================================================
VirtualDub.Open("D:\\tmp\\lctr2dwdl.avi",0,0);
VirtualDub.RemoveInputStreams();
VirtualDub.stream[0].SetSource(0x73647561,0,0);
VirtualDub.stream[0].SetMode(0);
VirtualDub.stream[0].SetInterleave(1,500,2,0,0);
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.Clear();
VirtualDub.subset.AddRange(0,84199);
VirtualDub.SaveAVI("D:\\tmp\\lctr2dwdl.cd1.avi");
===========================================================
[03.04.2004 17:57:55] Splitting video into: D:\tmp\lctr2dwdl.cd1.avi
[03.04.2004 17:59:30] Writing the following script to D:\tmp\gk_tmp\lastjob.vcf
===========================================================
VirtualDub.Open("D:\\tmp\\lctr2dwdl.avi",0,0);
VirtualDub.RemoveInputStreams();
VirtualDub.stream[0].SetSource(0x73647561,0,0);
VirtualDub.stream[0].SetMode(0);
VirtualDub.stream[0].SetInterleave(1,500,2,0,0);
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.Clear();
VirtualDub.subset.AddRange(84199,83928);
VirtualDub.SaveAVI("D:\\tmp\\lctr2dwdl.cd2.avi");
===========================================================
[03.04.2004 17:59:30] Splitting video into: D:\tmp\lctr2dwdl.cd2.avi
[03.04.2004 18:01:06] Writing the following script to D:\tmp\gk_tmp\lastjob.vcf
===========================================================
VirtualDub.Open("D:\\tmp\\lctr2dwdl.avi",0,0);
VirtualDub.RemoveInputStreams();
VirtualDub.stream[0].SetSource(0x73647561,0,0);
VirtualDub.stream[0].SetMode(0);
VirtualDub.stream[0].SetInterleave(1,500,2,0,0);
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.Clear();
VirtualDub.subset.AddRange(168127,618);
VirtualDub.SaveAVI("D:\\tmp\\lctr2dwdl.cd3.avi");
===========================================================
[03.04.2004 18:01:06] Splitting video into: D:\tmp\lctr2dwdl.cd3.avi
[03.04.2004 18:01:08] Job finished.
btw, i used xvid 1.0
Carraway
3rd April 2004, 17:54
Originally posted by manono
Either that, or you were fooling around trying to reproduce the AutoGK problem by using GKnot.
So maybe AutoGK can benefit from handling the problem the same way as does GKnot (Crop after IVTC).
Yep, that's exactly what I did -- I created the script in GKnot, then reversed the order of Crop and Telecide in the script to see if I could create the red/grey ghosting in a situation where AutoGK wasn't involved.
Originally posted by manono
It's not a Decomb bug, as the Decomb Doc states clearly:
Do not resize vertically before applying Decomb.
Thanks for pointing this out. Gives me peace of mind knowing that this bug isn't something that only affects me, or only affects my copy of AutoGK.
Thanks for your help manono.
Hesse
3rd April 2004, 22:06
Thanks for pointing this out. Gives me peace of mind knowing that this bug isn't something that only affects me, or only affects my copy of AutoGK.
I did an encode of an Andromeda episode and I had a similar type problem. I haven't tried the suggestion of reversing the order of telecide and crop, though to see if it makes a difference.
Any chance this could be corrected in the next version of AutoGK?
Jesse
fruitcake
5th April 2004, 11:44
Originally posted by MediaMage
STANDALONE REPORT:
-------------------
got the hiteker he-940 player today from the local MEDIA-MARKT here in Germany for 89 Euros (about 60 Pound Sterling)
XVID Got some nasty failures, but divx just looks perfect.
Player supports also .srt subtitles, also multiple subs, multiple audio trackt.
player supports PROGRESSIVE SCAN
got a coaxiac digital output
got a optica digital output
got a RGB output
got a 6 cinch 6-channel output.
this thing is so great!
even mp3pro and wma is supported, and firmware updates are supposed to come out every few month.
so if you live in germany and got an Media Markt near you, don´t hesitate to buy one ;)
Originally posted by orestis
Great tool... A few more things and it will rival GK for most encoding tasks:
Just a little request: Since AutoGK can use external subtitles (with vobsub), can you add an option of using multiple language subtitles (I really like to get both the Greek (my native)and the movie's subtitle stream, to be able to practice my english and not having to deal with stupid subtitle translations.
Thank you very much again!
You will probably by now have realised what I'm getting at, and I have a sneaking suspicion that len0x is going to say these things are outside the scope of AutoGK, but...
What I really want is this, and it would combine several things:
* seperate options for 'burned-in' and 'external' (VobSub) subtitles.
* 'burned-in' option is in the main interface, as it is now.
* for external subtitles, go to the 'Advanced' screen, where there is a list of all the subtitles, with a tick box (check box) next to each one, so that it is possible to select all at once.
Also:
* there should also be an option on the advanced screen (or on the main screen) to allow space for a few extra files, for example: DivX installer, .srt subs, etc. It should be possible to specify space to be left per CD.
Supposing I am doing 2 CDs, and I have a DivX installer which is 5 MB and I want it on the first CD, and I have .srt subtitles which are 2 MB per CD. Then AutoGK should create an .avi of 1391 MB, and split it after 693 MB.
(I'm pretty sure some people have asked for something like this before.)
If you could incorporate those, I wouldn't want to use the full GordianKnot anymore, and that would be great. What I like about AutoGK is that it does a compressibility test and then makes a sensible (-ish) decision about what resolution to choose, what bitrate for the sound, etc. Len0x' opinion about what constitutes a 'sensible decision' may differ from mine, but that I am prepared to trust to his (= his/her) (no doubt better) judgement.
Something else that would be cool is to have the program automatically decide how many CDs to do. I suppose one would then have to have a slider to specify priority for tradeoff between No. of CDs and picture/sound quality. Plus: is it currently possible to turn off the automatic split? (I suppose it can be done by specifying a custom size rather than selecting a number of CDs.)
Maybe you will decide for requests like this you want to do a one-click program for making files to be played back on a PC, but the full GK is probably good enough for that. Maybe GK could have a special .ogm mode, but then again, maybe Doom9's tutorial is good enough for that. I suppose, if you give someone a remote control, he (=he/she) will ask, "Can't it press the buttons by itself?"
The amazing thing about AutoGK is, like I said, the 'intelligence'. What one really does not want to have are options where all one does is tell the program, e.g., whether the video is interlaced or not. Great work Len0x!! :D
len0x
5th April 2004, 11:59
- AutoGK will never be able to produced OCR-ed subs, (i.e. srt like text subs).
As for other requests - I just don't see them happening atm.
P.S. Let me stress this: AutoGK is not intended to ppl who used to use GK and now wish to do everything they can in GK in AutoGK as well...
len0x
5th April 2004, 12:05
Originally posted by GizmoDerMokwai
Hi, i've ripped Tomb Raider 2 - The Cradle of Life (PAL) with forced subs and xvid+ac3 to 1400mb, but final avi has 3 segments. last one with 4,81mb of size...
FAQ, Q 6.2
len0x
5th April 2004, 12:19
Originally posted by AZEncoder
[B]Does AutoGK use the Stream Information.txt and the .IFO or does it just use the Stream Information.txt?
AutoGK only uses stream info file if its present. You posted it already and I have no problems opening it...
len0x
5th April 2004, 13:48
Originally posted by manono
The problem results from not cropping the height in multiples of 4 (the top and bottom crops must each be a multiple of 4, not just the resulting height) when dealing with interlaced material (which it is before IVTC is performed). The answer is to put Telecide/Decimate before Crop if you're not planning on cropping that way. It's not a Decomb bug, as the Decomb Doc states clearly:
Do not resize vertically before applying Decomb.
But crop is not really resize - is it ? In autocrop I use 4 as a multiplier for crop values, so what's produced afterewards should always comply with IVTC rules...
Originally posted by manono
So maybe AutoGK can benefit from handling the problem the same way as does GKnot (Crop after IVTC).
For the moment I thought that it would indeed solve the problem, but then I had some doubts about it since its autocrop that is going to be used before IVTC - I have to see how it behaves there (it might screw it a bit...)
manono
5th April 2004, 15:01
fruitcake-welcome to the forum-
In a short search, I can't find out which chipset your Hiteker uses, but I suspect it's the ESS chipset. Maybe you know already, or can find out. But if it is ESS based, you'll have to reinstall AutoGK with the special ESS option in order to get your AutoGK XviD videos looking good. If you're testing XviDs from other sources, if they've been made using Packed Bitstream, then they'll most likely stutter like crazy. And they may also have other things such as GMC or Q-PEL that your player doesn't support.
You don't have to allow extra space on the CD for SRT format subtitles, because they take only from 50-100 KB and it's usually closer to 50 than 100 KB. For such things as the DivX installer you want to allow room for, make the video for a custom size and split it yourself any way you want. It takes about 2 minutes or so.
To get your SRT subs, you'll have to OCR them yourself (as len0x said). There is no automatic SRT subfile generator anywhere. In my searches, though, I did find that there are problems with the player reading SRT subs. Maybe firmware updates will fix that.
fruitcake
5th April 2004, 15:50
Can't we have seperate options for burned-in and external subtitles? E.g. it would be nice to burn-in 'forced subtitles' (in one language) and VobSub all subs in all languages.
I wasn't asking for an automatic OCR.
manono
5th April 2004, 16:21
Hi-
OK, my mistake about the OCR'd SRT subs.
As for burning in the Forced Subs and having the rest be external; AutoGK is going to create the VobSubs anyway, so select the Forced Subs to be burned in, and rename the VobSubs (idx and sub files) to be the same as the movie name, and then use DirectVobSub to choose the language upon playback. Unless I'm missing something else again. Now I see; it's not your Hideker HE-940 player, but Mediamage's report on the Hideker.
fruitcake
5th April 2004, 16:32
It's not my Hiteker, by the way; that was a quote from MediaMage on page 67.
Could the automatic split thing decide where to split it before encoding, and make sure it splits at a chapter-break? (It would have to be before encoding so that it can then set the target size so that each CD is exactly filled.) AutoGK could do a seperate compressibility test for each chapter, or do one compressibility test for the first 2/5 of chapters, one for the last 40%, and then one for each chapter in between. I can't see how you could argue that that would make the UI more complicated, and therefore unsuitable for newbies. You can tell DVDecrypter to extract the chapters (I think).
The following is from page 71 (orestis' quote is from p. 69):
Originally posted by duwde
Hi Len0x,
Are you going to add a second subtitle option ? :) I know some people have already asked that (including myself), but I think that would be a really nice feature. Or maybe (if it's easier for you) an checkbox like "include all subtitles".
You may be wondering why would I want a second subtitle, and the answer is that I like to keep the original english subtitle (for myself) and the portuguese subtitle to my friends/family. I bet a lot of people from other countries (that doesn't speak english) would love this option as well.
Btw, again, congratulations for the hybrid threshold calculations ! it's now 10x better :)
@manono: What? I didn't understand that.
len0x
5th April 2004, 17:25
Originally posted by fruitcake
Could the automatic split thing decide where to split it before encoding, and make sure it splits at a chapter-break? (It would have to be before encoding so that it can then set the target size so that each CD is exactly filled.) AutoGK could do a seperate compressibility test for each chapter, or do one compressibility test for the first 2/5 of chapters, one for the last 40%, and then one for each chapter in between. I can't see how you could argue that that would make the UI more complicated, and therefore unsuitable for newbies.(I think).
You're right it won't complicate the GUI, but I can find myself better things to do with AutoGK... Now I can almost promice you that splitting will never be improved in AutoGK since everyone is moving to DVDRs and the whole problem slowly being phased out. And target quality mode will be the most used mode for AutoGK.
P.S. The whole ideology behind newbie-oriented tool is that newbies don't even care where movie is split. I feel very reluctant to spend time trying to please advanced users who know how to do everything manually.
therealjoeblow
5th April 2004, 18:08
Originally posted by len0x
You're right it won't complicate the GUI, but I can find myself better things to do with AutoGK... Now I can almost promice you that splitting will never be improved in AutoGK since everyone is moving to DVDRs and the whole problem slowly being phased out. And target quality mode will be the most used mode for AutoGK.
P.S. The whole ideology behind newbie-oriented tool is that newbies don't even care where movie is split. I feel very reluctant to spend time trying to please advanced users who know how to do everything manually.
I'd have to agree that this would be a *very* minimally used feature.
@ fruitcake - if you *really* need this feature, you can implement it yourself fairly simply as follows: _before_ you run autokg, use the equally impressive and free dvdshrink to cut yourself 2 new sets of vob files from the original disc - one set for chapters 1-x; another for chapters x-end. That only takes a couple of minutes up front. Then you can queue both sets of new vobs for encode in autogk and have 2 cd's split exactly where you want, and of equal file size (although why anyone would want 1/3 of the movie of better quality than the other half is beyond me).
racketboy
5th April 2004, 19:36
are there any issues with using RC4 of XviD 1.0 w/ AutoGK?
Sharktooth
5th April 2004, 19:39
I've done 2 encodings with RC4 and had no problems.
manono
5th April 2004, 19:41
Hi joeblow-
fruitcake's no dummy. I didn't give him enough credit to begin with. What he wants is to be able to split the movie on a chapter, but to have both (or 3) CDs have nearly equal quality. This is impossible to figure by just splitting before you start. I do something similar myself. I hate to have the movie split in the middle of a scene. As len0x said, a beginner won't care where it's split, and will be happy to have a good quality movie. Your method will fill the CDs, and will have the parts split at a good spot. But it will do nothing for making the 2 or 3 parts of the movie have more or less equal quality.
So when I have a 1400 MB movie after the encoding, and if there's no good place to split, I'll often find a better place to split nearby, split the stats file and the AC3 or MP3 at that same place, and run the second passes over again for the 2 parts. It's kind of a pain to do just for a good split spot, but I've done it enough times (but, of course, not in AutoGK), and like the results much better.
But running separate compress tests on the various chapters, and then combining the chapters afterwards in such a way that the resulting CDs have equal quality is a pretty cool idea. But I don't think it's going to happen. And, of course, doing it manually would be a nightmare, I think.
Taurus
5th April 2004, 19:56
@len0x and all the rest, watching this thread.
There are so many suggestions how to make this and that more comfortable (and complicated) for, let me say, advanced users.
I know there's a wishlist in the Gordian Knot Development Tree,
but I wonder why nobody else is heading for more quality on the rips they make.
If you put all that subs and dual audio to your encodes, not much space is left for the essential part of the game: THE MOVIE.
Sure, you can go for 2 or 3CDs.
But that is not how I'm thinking about the subject.
As I own all of the DVDs that I've ripped, you can be sure that I saw them, let's say, minimum two times.
So, what's the need for Credits?
If you cut them out entirely, plenty of space on your valuable Discs is more usable for the main video.
And all the fuzz about how to compress this fast moving lines and other bull... is gone.
So, if your goal is quality, that could be part of an solution...
Anyway, if nothing like that will be implanted in AutoGk, it is still the BEST, 'caus it gives me much time to do other things I love.
Cheers
Taurus
manono
5th April 2004, 19:59
fruitcake-
You didn't understand what? Choosing the language in DirectVobSub? OK, you have the forced subs burned in. You still have the VobSubs (idx and sub files) sitting there. When they are extracted, not just one language is extracted, but all the subs with all the languages. And when you burn in forced subs or any one of the languages, you're just burning in part of the whole set of languages included.
But you still have all the languages included in the vobsubs. Now, I always OCR myself. But when DirectVobSub is used to display vobsubs, you can choose which language to display. You right-click on the green arrow->DirectVobSub->General Settings->Language, and choose the language you want displayed.
I don't have any idx/sub files to test this, but I'm pretty sure that's the way it works. Someone correct me if I'm wrong. You just have to save some space on the CD for them. But you can rar them down to 4 or 5 MB at most, I think.
In Doom9's VobSub Guide (http://www.doom9.org/dvobsub.htm), at the bottom, step 4-Playback, he confirms what I've just said. He seems to say that you need the IFO for this, also. I don't know, as I've never done it that way. Maybe someone can confirm or deny.
vanart3030
5th April 2004, 21:22
Wouldn’t it be great If one not only could use this powerful software to convert DVD into mpeg4 (xvid & divx) but also to convert huge video (.avi) files that you upload from your mini DV camera into mpeg4 (xvid & divx)!?!
Or may be this or similar software does exist!?
Thanks for any ideas
P.S. VirtualDub is not recognizing them…
therealjoeblow
5th April 2004, 23:26
@len0x - one more 'tweak' request, if it's not too much:
I often encode a movie several times just to see what difference going from 640 to 608 or 576 width has. In each case, the process starts with demuxing, indexing and then encoding audio, which can take up to 30 minutes +/-. I've noticed that the first thing that AGK does is delete the gk_tmp directory if it exists.
Instead of starting the process from scratch every time, would there be any simple way for you to check if the file has been demuxed, analyzed and if the audio is already encoded to the correct spec, and then just reuse those files to save the time on re-encodes?
Wolfman
5th April 2004, 23:55
My vote would be to allow avi or other mpeg1/2 streams as input for those of us who capture and keep tv epsiodes or films. this would also include DV footage too.
Sandman2012
6th April 2004, 00:25
In order to save wear and tear on the DVD, I'm using AutoGK to create an Xvid backup copy of my Henry Rollins Live At Luna Park disc, and for some reason it gets the aspect ratio wrong (the original aspect ratio is 4:3). The top and bottom of the vid get cut off, cutting off the top of Henry's head during closer shots. I can't seem to find any way to correct this? Any suggestions?
I apologise if this question has been asked already, but this is a long thread to try to browse.
Great software, BTW. Has worked well for all my Futurama and Simpsons discs.
len0x
6th April 2004, 11:20
red/green problems should go for good (hopefully).
New icon and logo for AutoGK - sort of rebranding :)
fruitcake
6th April 2004, 11:30
Originally posted by Wolfman
My vote would be to allow avi or other mpeg1/2 streams as input for those of us who capture and keep tv epsiodes or films. this would also include DV footage too.
I'm now going to be really hypocritical, and say that you can use VirtualDubMod for that. Having said which, I am yet to find out how one is supposed to do a two-pass encode using VirtualDub or VDubMod.
Sharktooth
6th April 2004, 12:34
Originally posted by fruitcake
... I am yet to find out how one is supposed to do a two-pass encode using VirtualDub or VDubMod.
Easy, do the first pass and then the second pass or use batch mode.
Originally posted by Wolfman
My vote would be to allow avi or other mpeg1/2 streams as input for those of us who capture and keep tv epsiodes or films. this would also include DV footage too.
The easiest and most usefull thing to do is .avs input.
Once you have it you can feed autogk with any kind of source.
len0x
6th April 2004, 13:32
Originally posted by Sharktooth
The easiest and most usefull thing to do is .avs input.
Once you have it you can feed autogk with any kind of source.
not really - you're forgetting about audio: how one is supposed to feed audio from avs to BeSweet ? :)
Sharktooth
6th April 2004, 13:56
eh, nice question:)
a possible solution is to drop besweet for .avs and encode the audio directly thru virtualdubmod (lame ACM).
Stebs
6th April 2004, 14:27
Doh!
After a lot of successful rips with AutoGK, yesterday I was having the already known red/green ghosting Problem for the first time. :(
What I did was ripping "Jackass - The Movie" with AutoGK 1.12b and Xvid 1.0rc3. Then tried 1.0rc4 today but with same bad result.
I have done already a rip with the exact same source and an older version of AutoGK (I think it was a beta above 0.8) and the Xvid-version that comes with it, and there where no such red/green ghosting Problem, so this may be related to Xvid 1.0x ? btw. I used not the "ESS compatible mode".
EDIT: The size of the last film with problems was 416x224 and the old, good one was 384x208 (surely because in the older I did put 2 audio streams in) -perhaps this helps track the Problem (there where indications in this forum that ghosting Problem has something to do with multiplier of size)
Then I saw this :D:
VERSION HISTORY
1.14 beta
- field operations (ivtc, deinterlace) are performed before crop now to avoid colour problems
...
So I´m gonna do a new run with the new version and report the result here...
Here is the log from the last red/green ghosting run:
[06.04.2004 10:25:46] Input dir: D:\Record\JACKASS_THE_MOVIE\VIDEO_TS
[06.04.2004 10:25:46] Output file: D:\Record\JACKASS_THE_MOVIE\Jackass The Movie.avi
[06.04.2004 10:25:46] Audio: English
[06.04.2004 10:25:46] Subtitles: none
[06.04.2004 10:25:46] Codec: XviD
[06.04.2004 10:25:46] Target size: 700Mb
[06.04.2004 10:25:46] Started encoding.
[06.04.2004 10:25:46] Demuxing and indexing.
[06.04.2004 10:28:13] Analyzing source.
[06.04.2004 10:28:13] Writing the following script to D:\Record\JACKASS_THE_MOVIE\gk_tmp\lastjob.vcf
===========================================================
VirtualDub.Open("D:\\Record\\JACKASS_THE_MOVIE\\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("D:\\Record\\JACKASS_THE_MOVIE\\gk_tmp\\_.avi");
===========================================================
[06.04.2004 10:32:51] Source has percentage of interlacing in motion areas: 89,00
[06.04.2004 10:32:51] Source is considered to be interlaced.
[06.04.2004 10:32:51] Analyzing PAL source with different field order.
[06.04.2004 10:32:51] Writing the following script to D:\Record\JACKASS_THE_MOVIE\gk_tmp\lastjob.vcf
===========================================================
VirtualDub.Open("D:\\Record\\JACKASS_THE_MOVIE\\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("D:\\Record\\JACKASS_THE_MOVIE\\gk_tmp\\_.avi");
===========================================================
[06.04.2004 10:37:32] Source has percentage of interlacing in motion areas: 88,86
[06.04.2004 10:37:32] Source is considered to be interlaced.
[06.04.2004 10:37:32] Found 127495 frames
[06.04.2004 10:37:32] Encoding audio.
[06.04.2004 10:48:42] Audio size: 81,162,512 bytes (77.40 Mb)
[06.04.2004 10:48:42] Overhead: 5,099,776 bytes (4.86 Mb)
[06.04.2004 10:48:42] Video size: 647,740,912 bytes (617.73 Mb)
[06.04.2004 10:48:42] Running compressibility test.
[06.04.2004 10:48:42] Writing the following script to D:\Record\JACKASS_THE_MOVIE\gk_tmp\Jackass The Movie_comptest.avs
===========================================================
LoadPlugin("D:\dvd\AutoGK\filters\mpeg2dec3dg.dll")
LoadPlugin("D:\dvd\AutoGK\filters\autocrop.dll")
LoadPlugin("D:\dvd\AutoGK\filters\undot.dll")
LoadPlugin("D:\dvd\AutoGK\filters\kerneldeint.dll")
function getOrder(clip c) {
order = GetParity(c) ? 1 : 0
return order }
movie = mpeg2source("D:\Record\JACKASS_THE_MOVIE\gk_tmp\Jackass The Movie.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) / 1.45868945868946)
input_par = float(c_width)/float(c_height)
fixed_aspect = input_par > 1.4 ? 1.45868945868946 : 1.42222222222222
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)
KernelDeInt(order=getOrder(movie),sharp=true)
Undot()
LanczosResize(out_width,out_height)
SelectRangeEvery(300,15)
===========================================================
[06.04.2004 10:48:42] Writing the following script to D:\Record\JACKASS_THE_MOVIE\gk_tmp\lastjob.vcf
===========================================================
VirtualDub.Open("D:\\Record\\JACKASS_THE_MOVIE\\gk_tmp\\Jackass The Movie_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(0x64697678,0,10000,0);
VirtualDub.video.filters.Clear();
VirtualDub.subset.Delete();
VirtualDub.SaveAVI("D:\\Record\\JACKASS_THE_MOVIE\\gk_tmp\\Jackass The Movie_comptest.avi");
===========================================================
[06.04.2004 10:56:38] Duration was: 7 minutes 55 seconds
[06.04.2004 10:56:38] Speed was: 13,40 fps.
[06.04.2004 10:56:38] Compressibility percentage is: 30,20
[06.04.2004 10:56:38] Using softer resizer.
[06.04.2004 10:56:38] Chosen resolution is: 416x240 ( AR: 1,73 )
[06.04.2004 10:56:38] Predicted comptest value is: 68,13
[06.04.2004 10:56:38] Running first pass.
[06.04.2004 10:56:38] Writing the following script to D:\Record\JACKASS_THE_MOVIE\gk_tmp\Jackass The Movie_movie.avs
===========================================================
LoadPlugin("D:\dvd\AutoGK\filters\mpeg2dec3dg.dll")
LoadPlugin("D:\dvd\AutoGK\filters\autocrop.dll")
LoadPlugin("D:\dvd\AutoGK\filters\undot.dll")
LoadPlugin("D:\dvd\AutoGK\filters\kerneldeint.dll")
function getOrder(clip c) {
order = GetParity(c) ? 1 : 0
return order }
movie = mpeg2source("D:\Record\JACKASS_THE_MOVIE\gk_tmp\Jackass The Movie.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) / 1.45868945868946)
input_par = float(c_width)/float(c_height)
fixed_aspect = input_par > 1.4 ? 1.45868945868946 : 1.42222222222222
c_height = round(height(cropclip) / fixed_aspect)
input_par = float(c_width)/float(c_height)
out_width = 416
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)
KernelDeInt(order=getOrder(movie),sharp=true)
Undot()
BicubicResize(out_width,out_height,0,0.5)
===========================================================
[06.04.2004 10:56:38] Writing the following script to D:\Record\JACKASS_THE_MOVIE\gk_tmp\lastjob.vcf
===========================================================
VirtualDub.Open("D:\\Record\\JACKASS_THE_MOVIE\\gk_tmp\\Jackass The Movie_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(0x64697678,0,10000,0);
VirtualDub.video.filters.Clear();
VirtualDub.subset.Delete();
VirtualDub.SaveAVI("D:\\Record\\JACKASS_THE_MOVIE\\Jackass The Movie.avi");
===========================================================
[06.04.2004 11:56:40] Duration was: 1 hour, 0 minutes 1 second.
[06.04.2004 11:56:40] Speed was: 35,40 fps.
[06.04.2004 11:56:40] Expected quality of first pass size: 66,83
[06.04.2004 11:56:40] Running second pass.
[06.04.2004 11:56:40] Writing the following script to D:\Record\JACKASS_THE_MOVIE\gk_tmp\lastjob.vcf
===========================================================
VirtualDub.Open("D:\\Record\\JACKASS_THE_MOVIE\\gk_tmp\\Jackass The Movie_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(0x64697678,0,10000,0);
VirtualDub.video.filters.Clear();
VirtualDub.subset.Delete();
VirtualDub.RemoveInputStreams();
VirtualDub.stream[0].SetSource("D:\\Record\\JACKASS_THE_MOVIE\\gk_tmp\\JACKASS THE MOVIE AC3 T01 3_2ch 448Kbps 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("D:\\Record\\JACKASS_THE_MOVIE\\Jackass The Movie.avi");
===========================================================
[06.04.2004 13:06:53] Duration was: 1 hour, 10 minutes 12 seconds
[06.04.2004 13:06:53] Speed was: 30,26 fps.
[06.04.2004 13:06:53] Job finished.
cork
6th April 2004, 16:17
Hi all,
@len0x : nice to see some possibilities of more "advanced" options in autoGK through the recently appeared ".something" files in the project folder.
But IMHO, the format used is quite inconvenient.
I don't ask a nice GUI to configure all this, but why not using some unique configfile containing something like :
mono=0
cartoon=1
forceitvc=0
customcredits=1
firstcreditframe=12304
creditquant=20
greyscalecredits=0
Much clearer and easier to modify than several obscure files, don't you think ?
And btw, since you added greyscale credits, it would be nice to add another option to force greyscale for the -whole- movie (grayscale movies are rare, but they exist and it must be quite easy to add, no ?).
Many thanks !
len0x
6th April 2004, 16:26
Originally posted by cork
But IMHO, the format used is quite inconvenient.
I don't ask a nice GUI to configure all this, but why not using some unique configfile containing something like :
It never intended to be convenient. Its just a hack which requires 1 line of code. As I don't have time to write support for config files it'll stay as it is and will evolve later...
Stebs
6th April 2004, 18:18
Yeah, great work len0x! :p
Just finished encoding at exact same settings and codec as above (Xvid 1.0rc4) but with the new 1.14b and the output is perfect, no more red/green ghosting Problem.
So until no other finds a problem, I could see the next version beeing a stable one :D
Thanks again.
MindlessOath
6th April 2004, 20:30
just wanted to know what you guys think about this application.
http://simpledivx.click-now.org/
it looks to want to compete with autoGK, or gordenknot for that matter. im assuming autoGK will be much easier for one, as well as smarter, and probably even better performing in quality when the output is done.
just wanted to let ya guys know whats going on out their if ya dont get out to much :P
FSB-SPY
6th April 2004, 20:41
Great work and fast updates, len0x!
However, I do have an issue... :P I am doing 2 CD rips (2-CD in size only... I do not want them split into 2 files), and I use the custom size option. And, from what I understood, under custom size it should not be splitting my movies? Yet a custom size of 1400 (default 2-CD size rip) still yields a cd1 and cd2 split at the end. Is this a sharing "snafu" between the custom size + fixed CD size profile choosing?
Wolfman
6th April 2004, 20:51
I think you just need to make it 1399 or 1401 and it wont split it. This was asked about 8 pages ago, then again 3 pages ago ;)
Stebs
7th April 2004, 00:40
One thing I discovered with 1.14b:
The Sound seems to be more quietly than with previous versions, perhaps this has to do with the new BeSweet 1.5b26?
Someone could check this out?
NMachiavelli
7th April 2004, 09:01
I just upgraded to v1.14b from v1.10b, and XVID to RC4 from RC3, and now I'm getting the following error:
Avisynth open failure:
Script error: Invalid arguments to function "autocrop"
([FilePath\FileName.avs], line 22)
Avisynth script:
LoadPlugin("C:\PROGRA~1\AutoGK\filters\mpeg2dec3dg.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\undot.dll")
function getOrder(clip c) {
order = GetParity(c) ? 1 : 0
return order }
movie = mpeg2source("E:\Transfers\AutoGK-80%\BSG101-3\gk_tmp\BSG101-3.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 = 704
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(mode=0,wmultof=4,hmultof=4,samples=10,aspect=new_aspect,threshold=35)
Undot()
LanczosResize(out_width,out_height)
Thanks for assistance.
toshz
7th April 2004, 09:07
Originally posted by NMachiavelli
I just upgraded to v1.14b from v1.10b, and XVID to RC4 from RC3, and now I'm getting the following error:
Avisynth open failure:
Script error: Invalid arguments to function "autocrop"
([FilePath\FileName.avs], line 22)
Avisynth script:
LoadPlugin("C:\PROGRA~1\AutoGK\filters\mpeg2dec3dg.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\undot.dll")
function getOrder(clip c) {
order = GetParity(c) ? 1 : 0
return order }
movie = mpeg2source("E:\Transfers\AutoGK-80%\BSG101-3\gk_tmp\BSG101-3.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 = 704
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(mode=0,wmultof=4,hmultof=4,samples=10,aspect=new_aspect,threshold=35)
Undot()
LanczosResize(out_width,out_height)
Thanks for assistance.
i get the same error and can`t do enything about it. anyone have a fix?
Carraway
7th April 2004, 09:12
I'm getting the same error on some, but not all, of my encodes. Seems that if AutoGK analyzes the material, it ends up OK, but if the material is determined to be pure FILM after the DVD2AVI step, I end up with that error.
I'm not 100% certain of this correlation, but so far that seems to be the case. I'm still playing with it.
EDIT: OK, yeah, I think that must be it. Films that aren't analyzed by AutoGK are assumed to be pure FILM and don't need the Telecide() function included, and apparently the lack of Telecide causes autocrop to do weird things. I added Telecide to one of the pure FILM AVS files that gets the error message, and it works (albeit at the bizarre frame rate of 19.181fps). I'm not smart enough to figure out what crucial role Telecide plays in the autocrop function though, so I'll just leave it at that.
Ah, P.S.: Len0x, thanks for fixing the red/green thing. You're swell. :)
toshz
7th April 2004, 09:19
@Carraway: you are right, my source is also pure FILM. AutoKG recognized it, but there is a problem when opening the .avs file
Nikse555
7th April 2004, 09:37
Hi len0x & Co!
Thx for a very nice program :)
DrDivx does not work well for me - bad macro blocking.
I have just tried an encode with version 1.14b and XviD 1rc4 on a P4HP/WinXP.
Target size was 700mb but final file was 463mb.
Version 1.0 stable worked fine (699mb).
Log:
...
[06-04-2004 22:55:45] Codec: XviD
[06-04-2004 22:55:45] Target size: 700Mb
[06-04-2004 22:55:45] Custom audio settings: VBR MP3 with average bitrate: 112Kbps
[06-04-2004 22:55:45] Started encoding.
[06-04-2004 22:55:45] Demuxing and indexing.
[06-04-2004 23:01:29] Analyzing source.
[06-04-2004 23:01:29] Writing the following script to C:\testHP\gk_tmp\lastjob.vcf
===========================================================
VirtualDub.Open("C:\\testHP\\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:\\testHP\\gk_tmp\\_.avi");
===========================================================
[06-04-2004 23:12:07] Source has percentage of interlacing in motion areas: 0,06
[06-04-2004 23:12:07] Source is considered to be progressive.
[06-04-2004 23:12:08] Found 219178 frames
[06-04-2004 23:12:08] Encoding audio.
[06-04-2004 23:41:49] Indexing subtitles.
[06-04-2004 23:41:49] Writing the following script to C:\testHP\gk_tmp\vobsub.params
===========================================================
D:\Rips\HP 1\vts_01_0.ifo
C:\testHP\gk_tmp\HP1
1
0
1 cc
CLOSE
===========================================================
[06-04-2004 23:45:00] WinRAR is not found. Switching to internal subtitles.
[06-04-2004 23:45:00] Audio size: 121,738,330 bytes (116.10 Mb)
[06-04-2004 23:45:00] Overhead: 8,767,104 bytes (8.36 Mb)
[06-04-2004 23:45:00] Video size: 603,497,766 bytes (575.54 Mb)
[06-04-2004 23:45:00] Running compressibility test.
[06-04-2004 23:45:00] Writing the following script to C:\testHP\gk_tmp\HP1_comptest.avs
===========================================================
LoadPlugin("C:\PROGRA~1\AutoGK\filters\mpeg2dec3dg.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\vsfilter.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\undot.dll")
function getOrder(clip c) {
order = GetParity(c) ? 1 : 0
return order }
movie = mpeg2source("C:\testHP\gk_tmp\HP1.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) / 1.45868945868946)
input_par = float(c_width)/float(c_height)
fixed_aspect = input_par > 1.4 ? 1.45868945868946 : 1.42222222222222
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)
Undot()
VobSub("C:\testHP\gk_tmp\HP1.idx")
LanczosResize(out_width,out_height)
SelectRangeEvery(300,15)
===========================================================
[06-04-2004 23:45:01] Writing the following script to C:\testHP\gk_tmp\lastjob.vcf
===========================================================
VirtualDub.Open("C:\\testHP\\gk_tmp\\HP1_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(0x64697678,0,10000,0);
VirtualDub.video.filters.Clear();
VirtualDub.subset.Delete();
VirtualDub.SaveAVI("C:\\testHP\\gk_tmp\\HP1_comptest.avi");
===========================================================
[06-04-2004 23:56:04] Duration was: 11 minutes 2 seconds
[06-04-2004 23:56:04] Speed was: 16,53 fps.
[06-04-2004 23:56:05] Compressibility percentage is: 39,97
[06-04-2004 23:56:05] Using softer resizer.
[06-04-2004 23:56:05] Chosen resolution is: 512x208 ( AR: 2,46 )
[06-04-2004 23:56:05] Predicted comptest value is: 61,49
[06-04-2004 23:56:05] Running first pass.
[06-04-2004 23:56:05] Writing the following script to C:\testHP\gk_tmp\HP1_movie.avs
===========================================================
LoadPlugin("C:\PROGRA~1\AutoGK\filters\mpeg2dec3dg.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\vsfilter.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\undot.dll")
function getOrder(clip c) {
order = GetParity(c) ? 1 : 0
return order }
movie = mpeg2source("C:\testHP\gk_tmp\HP1.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) / 1.45868945868946)
input_par = float(c_width)/float(c_height)
fixed_aspect = input_par > 1.4 ? 1.45868945868946 : 1.42222222222222
c_height = round(height(cropclip) / fixed_aspect)
input_par = float(c_width)/float(c_height)
out_width = 512
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)
Undot()
VobSub("C:\testHP\gk_tmp\HP1.idx")
BicubicResize(out_width,out_height,0,0.5)
===========================================================
[06-04-2004 23:56:05] Writing the following script to C:\testHP\gk_tmp\lastjob.vcf
===========================================================
VirtualDub.Open("C:\\testHP\\gk_tmp\\HP1_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(0x64697678,0,10000,0);
VirtualDub.video.filters.Clear();
VirtualDub.subset.Delete();
VirtualDub.SaveAVI("C:\\testHP\\HP1.avi");
===========================================================
[07-04-2004 01:57:46] Duration was: 2 hours 1 minute, 40 seconds
[07-04-2004 01:57:46] Speed was: 30,02 fps.
[07-04-2004 01:57:47] Expected quality of first pass size: 69,83
[07-04-2004 01:57:47] Running second pass.
[07-04-2004 01:57:47] Writing the following script to C:\testHP\gk_tmp\lastjob.vcf
===========================================================
VirtualDub.Open("C:\\testHP\\gk_tmp\\HP1_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(0x64697678,0,10000,0);
VirtualDub.video.filters.Clear();
VirtualDub.subset.Delete();
VirtualDub.RemoveInputStreams();
VirtualDub.stream[0].SetSource("C:\\testHP\\gk_tmp\\HP1 AC3 T01 3_2ch 448Kbps 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:\\testHP\\HP1.avi");
===========================================================
[07-04-2004 03:56:17] Duration was: 1 hour, 58 minutes 30 seconds
[07-04-2004 03:56:17] Speed was: 30,83 fps.
[07-04-2004 03:56:17] Job finished.
Also, subtitles seem to be placed a bit high (in my opinion) in both 1.14b and 1.0.
What about looking for winrar in registry HKEY_CLASSES_ROOT\WinRAR?
Keep up the good work!
len0x
7th April 2004, 10:39
Originally posted by Nikse555
I have just tried an encode with version 1.14b and XviD 1rc4 on a P4HP/WinXP.
Target size was 700mb but final file was 463mb.
Version 1.0 stable worked fine (699mb).
FAQ Q6.3
len0x
7th April 2004, 10:39
Its a bug indeed, version 1.16 is coming shortly.
len0x
7th April 2004, 10:51
FF bug fixed, sorry about that :)
toshz
7th April 2004, 10:52
Originally posted by len0x
Its a bug indeed, version 1.16 is coming shortly.
GREAT!
10nx len0x!:)
cork
7th April 2004, 14:01
Hi all,
I'm using the credits options and the video newbie I am has difficulties to obtain a frame number (credits start). The only way I've found is to install GordianKnot, create a dvd2avi project and goto the frame in the preview window of GK.
Quite a lot for so few :(
Could somebody tell me a smarter and faster way to get a damn frame number in (splitted) vobs ?
Thanks.
len0x
7th April 2004, 14:04
Originally posted by cork
Could somebody tell me a smarter and faster way to get a damn frame number in (splitted) vobs ?
Open all vobs in VDubMod directly...
cork
7th April 2004, 14:24
Originally posted by len0x
Open all vobs in VDubMod directly...
Sorry to continue with such stupid questions but yes, i've tried that, and even if I check the box "automatically detect and load additional segments", VDubMod only loads the first vob !?
And after it has loaded it, the "append segment" is greyed.
len0x
7th April 2004, 14:35
Originally posted by cork
Sorry to continue with such stupid questions but yes, i've tried that, and even if I check the box "automatically detect and load additional segments", VDubMod only loads the first vob !?
Yeah, look like you have to do a bit of math: open all of the one by one write down frames, sum them up and add frame number from the last vob when credits starts.
P.S. just to remind to everyone who is not satisfied with automation of this process that AutoGK doesn't support credits and this hack with the frame number is merely a gesture to those who can't live without that feature no matter what. The rest can still think of this feature as non-existent :)
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.