Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Video Encoding > (Auto) Gordian Knot

Reply
 
Thread Tools Search this Thread Display Modes
Old 31st October 2003, 20:14   #1  |  Link
len0x
I'm afraid we've to stop
 
len0x's Avatar
 
Join Date: Mar 2003
Location: Amongst mad people
Posts: 5,400
Auto Gordian Knot: current version 2.55

This tool is designed mainly for people who know very little (or nothing) about video conversion and want to create videos for their standalones or PC in a few clicks of a mouse.

Download website: http://www.autogk.me.uk/modules.php?name=Downloads

Tutorial is included with the application as well as available online here: http://www.autogk.me.uk/modules.php?name=Tutorial

Special thanks goes to:

- manono for great ideas and starting a wonderful tutorial for AutoGK
- Swede, ampex69, cooltool, bob0r, Gabnoj, HannibalX and others for web hosting
- doom9 for great support of video community at www.doom9.org
- authors of the tools I'm using within this application
- and the rest of Doom9's forums for testing and suggestions

VERSION HISTORY
2.55 stable

- XviD bundled was still 1.3.0 somehow, which is updated to 1.2.1
- ColorMatrix filter updated

2.53 beta

- fixed compatibility with non-english characters in the input path (excluding support of subs in this case)
- XviD now uses VAQ if source is not a cartoon (XviD setting in hidden options control's that) or have burnt-in subs.
- fixed bug with not all subtitles being processed if IFO file does not have them all in order (i.e. some are edited out)
- fixed bug with first subtitle track not being default one after rearranging order of subs
- included MPC that was missing from 2.50/52 installer
- fixed support of PCM audio tracks in MPG files

2.52 beta

- fixed file split bug (introduced in 2.50a)
- XviD updated to the release version of 1.2.1 plus VAQ patch (VAQ is not used by AutoGK yet though)
- Avisynth updated to the version 2.5.8

2.50 alpha

- built with a new compiler
- changed detection of VBR MP3 for muxing purposes
- DGMpgDec updated to version 1.5.3
- ColorMatrix, Decomb and FDecimate filters updated to the latest versions
- lame updated to the version 3.98.2
- XviD updated to version 1.3.0 12/12/08 with new x64 compatible installer


2.48 beta

- XviD build downgraded to CVS 08/12/06 as in 2.40
- DGMpgDec updated to version 1.5.0 beta 12

2.47 beta

- fixed external subs problem
- add command line option to start AutoGK in multi-instance mode: "-multi"
- DGMpgDec updated to version 1.5.0 beta 4
- XviD downgraded to version 1.2.0 CVS 20/12/06 to prevent undersize with ESS option enabled

2.46 beta

- DGMpgDec updated to version 1.5.0 beta 2 to prevent popups during encode
- included MPC 6.4.9.0 that does preview now
- compiled with new compiler/libraries
- added option to go to sleep (stand by) mode after encode
- colormatrix filter is updated to version 2.2

2.45

- XviD build updated to CVS 25/07/07
- DGMpgDec updated to version 1.4.9
- avisynth updated to version 2.5.7
- filters updated to latest versions
- colormatrix uses multiple threads on multiple CPUs
- added hidden option to hide DGIndex

<see pre 2.45 change log in application itself >
__________________
Gordian Knot Family:
Gordian Knot: website, download
Auto Gordian Knot: Website and download, tutorial, FAQ

Last edited by len0x; 1st February 2009 at 16:54.
len0x is offline   Reply With Quote
Old 1st November 2003, 01:23   #2  |  Link
SiXXGuNNZ
Your Buddy
 
SiXXGuNNZ's Avatar
 
Join Date: Jan 2003
Location: WA, USA
Posts: 299
woot! gk for dummies! it just gets better, I myself will still use gk, but I know alot of newbs who will love this app, good work len
SiXXGuNNZ is offline   Reply With Quote
Old 1st November 2003, 11:43   #3  |  Link
len0x
I'm afraid we've to stop
 
len0x's Avatar
 
Join Date: Mar 2003
Location: Amongst mad people
Posts: 5,400
Btw, those ones who think they do decent rips with XviD can try it and tell me if they satisfied with results. The goal of application was to achieve as good as results as with manual encoding, i.e. quality should not be compromised.

P.S. reading doom9's post in the news - just wanted to say that the tool is based on GK ideas and my experience while developing it, but written from scratch (so it's not GPLed like it should be if it was really based on the sources of GK).
__________________
Gordian Knot Family:
Gordian Knot: website, download
Auto Gordian Knot: Website and download, tutorial, FAQ
len0x is offline   Reply With Quote
Old 1st November 2003, 13:21   #4  |  Link
twist3d
encoder enthusiast
 
twist3d's Avatar
 
Join Date: Aug 2003
Location: Lahti, Finland
Posts: 115
I get always virtualdub error:
Script error: syntax error
(G:\\tmp\test_comptest.avs, line 14, column 56)

LoadPlugin("G:\gk\GKITFA~1.ALP\filters\mpeg2dec3dg.dll")
LoadPlugin("G:\gk\GKITFA~1.ALP\filters\autocrop.dll")
LoadPlugin("G:\gk\GKITFA~1.ALP\filters\undot.dll")

movie = mpeg2source("G:\\tmp\test.d2v")
cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=10,aspect=0,threshold=40)
c_width = width(cropclip)
c_height = round(height(cropclip) / 1,45868945868946)
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 > 8) ? (out_height + (16 - hmod)) : (out_height - hmod)
new_aspect = (float(out_width) / float(out_height)) / 1,45868945868946
autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=10,aspect=new_aspect,threshold=40)
Undot()
LanczosResize(out_width,out_height)
SelectRangeEvery(280,14)
twist3d is offline   Reply With Quote
Old 1st November 2003, 13:44   #5  |  Link
MediaMage
The X in DivX
 
Join Date: Nov 2001
Posts: 76
the failure is here:
(line 14, column 56)
its the ","
instead itīs probably "." ?


new_aspect = (float(out_width) / float(out_height)) /1,09401709401709

also i noticed when selecting another audio track than the first, the log tells me:

[01.11.2003 13:41:16] Indexing input for preview.
[01.11.2003 13:41:25] Started encoding.
[01.11.2003 13:41:25] Demuxing and indexing.
[01.11.2003 13:41:26] Audio is not found.
[01.11.2003 13:41:26] Found 1014 frames
*************************************

this should be minor problems, but the program looks REALLY nice to me!
__________________
AutoGK rulez!
MediaMage is offline   Reply With Quote
Old 1st November 2003, 14:05   #6  |  Link
len0x
I'm afraid we've to stop
 
len0x's Avatar
 
Join Date: Mar 2003
Location: Amongst mad people
Posts: 5,400
@twist3d
what's you system's decimal separator ?
Comma I assume ? Does the problem go away if you change it to dot in the system properties ?

@MediaMage

thanks for pointing that out. at the last moment i changed the way audio picked up (more generic way), but didn't test it with other tracks. will have look at it.
__________________
Gordian Knot Family:
Gordian Knot: website, download
Auto Gordian Knot: Website and download, tutorial, FAQ

Last edited by len0x; 1st November 2003 at 14:12.
len0x is offline   Reply With Quote
Old 1st November 2003, 15:00   #7  |  Link
epere4
Doom9 in Spanish Team
 
epere4's Avatar
 
Join Date: Nov 2001
Location: Trenque Lauquen - Bs As - Argentina
Posts: 244
Quote:
Originally posted by len0x Please welcome new kid on the block: GordianKnotItFast4U
Welcome

Thanks, Lenox. Great tool!!


Quote:
Originally posted by len0x reading doom9's post in the news - just wanted to say that the tool is based on GK ideas and my experience while developing it, but written from scratch (so it's not GPLed like it should be if it was really based on the sources of GK).
I have make that clear in the Spanish news
__________________
epere4
Doom9 in Spanish
[Site] - [Forum]

Get DVobSub 2.23 and VobSub 2.23 in Spanish
epere4 is offline   Reply With Quote
Old 1st November 2003, 16:44   #8  |  Link
MediaMage
The X in DivX
 
Join Date: Nov 2001
Posts: 76
@lenOx:

heīs probably from germany, as i am , therefore i got the same problem.

BUT:

the problem DOES not exist anymore if you change the decimal separator (just learned some new english words from "," to "." in the system properties (for the germans: its under "Ländereinstellungen / Dezimaltrennzeichen")

maybe you should override the decimal separator.

compressibility test is not running because of this:

[01.11.2003 16:41:41] Started encoding.
[01.11.2003 16:41:41] Demuxing and indexing.
[01.11.2003 16:41:43] Encoding audio.
[01.11.2003 16:41:58] Found 1014 frames
[01.11.2003 16:41:58] Audio size: 468224
[01.11.2003 16:41:58] Overhead: 40576
[01.11.2003 16:41:58] Video Size: 366492800
[01.11.2003 16:41:58] Running compressability test.
*************************************
EXCEPTION: Cannot open file "C:\tmp\frames.log". Das System kann die angegebene Datei nicht finden
*************************************
[01.11.2003 16:44:09] Finished encoding.


Exception translated: (THE SYSTEM CANNOT FIND THE SPECIFIED FILE)

then following VirtualDub Error appers:
mpeg2dec3dg.dll is not an avisynth 1.0 plugin

AVS Script Line, that creates the error is:
LoadPlugin("C:\GKITFA~1.ALP\filters\mpeg2dec3dg.dll"

replacing vdub mod with the latest version from gknot, and replacing mpeg2dec3.dll wasnīt helping.

also noted: i got avisynth 2.52 installed, i donīt know why avisynth 1.0 is used?
now reinstalling avisynth 2.52....

EDIT 15 or so : WORKING!!!
comp test is running... more feedback to come
__________________
AutoGK rulez!

Last edited by MediaMage; 1st November 2003 at 16:57.
MediaMage is offline   Reply With Quote
Old 1st November 2003, 17:00   #9  |  Link
MediaMage
The X in DivX
 
Join Date: Nov 2001
Posts: 76
here is what came out when encoding a freshly ripped (full dvd, file mode) of deep space nine season 5 dvd 1:

[01.11.2003 16:56:26] Started encoding.
[01.11.2003 16:56:26] Demuxing and indexing.
[01.11.2003 16:56:26] Indexing subtitles.
[01.11.2003 16:56:34] Found 1014 frames
[01.11.2003 16:56:34] Audio size: 767232
[01.11.2003 16:56:34] Overhead: 12032
[01.11.2003 16:56:34] Video Size: 1467227136
[01.11.2003 16:56:34] Running compressability test.
[01.11.2003 16:56:52] Compressability percentage is: 5215.31
[01.11.2003 16:56:52] Switching b-frames off.
[01.11.2003 16:56:52] New width is : 704
[01.11.2003 16:56:52] Predicted comptest value is: 3755.03
[01.11.2003 16:56:52] Running first pass.
[01.11.2003 16:58:10] Running second pass.
[01.11.2003 16:59:18] Muxing Audio.
[01.11.2003 16:59:19] Finished encoding.


it has ripped a rather small track.. but itīs an alpha.
now testing it on a ripped program chain.. more feedback to come

let me know if you need more alpha testing, got plenty cpu power to spare, and i am able to track down errors (in the level i am able to understand the plugins and so).
from now on iīll archive the temp dir and other logs as well
__________________
AutoGK rulez!

Last edited by MediaMage; 1st November 2003 at 17:05.
MediaMage is offline   Reply With Quote
Old 1st November 2003, 17:22   #10  |  Link
MediaMage
The X in DivX
 
Join Date: Nov 2001
Posts: 76
this far this good, episode is encoding.

i notice the very slow encoding speed, 14 fps
may the reason be the enormous calculations you do in the avisynth script?
usually i got around 40-50 fps with nearly the same parameters, using gknot, lanczos, and cropped image.
__________________
AutoGK rulez!
MediaMage is offline   Reply With Quote
Old 1st November 2003, 17:49   #11  |  Link
PatchWorKs
Registered User
 
PatchWorKs's Avatar
 
Join Date: Aug 2002
Posts: 213
Collaboration

Keep in touch with FairUse author, togheter you can improve your applications... (and, why not, mantain 2 different language versions)
PatchWorKs is offline   Reply With Quote
Old 1st November 2003, 19:00   #12  |  Link
len0x
I'm afraid we've to stop
 
len0x's Avatar
 
Join Date: Mar 2003
Location: Amongst mad people
Posts: 5,400
@MediaMage

About that comma problem - I certainly will fix that in the next version. I never tried it on a system with comma as decimal separator before obviously.

Regarding sample tests - if you have a sample with just 1014 frames (how did you rip it btw?) and aiming for 2CDs - then numbers will be huge

About speed - are you used to get 50fps with XviD and vhq1 and b-frames ? The only other option I'm using is custom matrixes. On my pc I'm getting only 12-14fps both in GK and GKIF4U (1.5Ghz Athlon)

P.S. can you tell me more about those plugin&avisynth problems you had - was it something wrong on your system or it's my fault ?
__________________
Gordian Knot Family:
Gordian Knot: website, download
Auto Gordian Knot: Website and download, tutorial, FAQ

Last edited by len0x; 1st November 2003 at 19:03.
len0x is offline   Reply With Quote
Old 1st November 2003, 19:40   #13  |  Link
MediaMage
The X in DivX
 
Join Date: Nov 2001
Posts: 76
1) sample with 1000 frames:
i used the star trek ds9 dvd, full iso mode ripped to hdd
therefore your tool selected the 1000 frame ifo file, which seems to be the first on the dvd, without my interferrence (BUT your tool was supposed to choose the file with the highest playtime??, therefore it SHOULD have chosen the episode with the longest playtime (about 45 minutes)

2) XVID --> i got 50 frames per secodn with divx5, therefore forget about that .. i got 25-27 fps, which is about the same i got before in gknot.

3) I reinstalled Avisynth 2.52, then it worked fine, donīt know why, because gknot and dvd2svcd just worked fine with 2.5 plugins



so here the log of the finished encode of a 45 Minutes episode, 100% load for the tool, without other tools running in the background:
25 frames per second first pass (81816 frames / 3300 seconds)
27 frames per second 2nd pass
(roughly estimated)


[01.11.2003 17:06:46] Indexing input for preview.
[01.11.2003 17:07:39] Indexing subtitles for preview.
[01.11.2003 17:09:12] Started encoding.
[01.11.2003 17:09:12] Demuxing and indexing.
[01.11.2003 17:10:01] Encoding audio.
[01.11.2003 17:13:09] Indexing subtitles.
[01.11.2003 17:13:49] Found 81816 frames
[01.11.2003 17:13:49] Audio size: 37763792
[01.11.2003 17:13:49] Overhead: 3272704
[01.11.2003 17:13:49] Video Size: 325965104
[01.11.2003 17:13:49] Running compressability test.
[01.11.2003 17:17:33] Compressability percentage is: 63.31
[01.11.2003 17:17:33] New width is : 576
[01.11.2003 17:17:33] Predicted comptest value is: 77.96
[01.11.2003 17:17:33] Running first pass.
[01.11.2003 18:12:27] Running second pass.
[01.11.2003 19:03:25] Muxing Audio.
[01.11.2003 19:03:53] Finished encoding.


file came out 349 mb,
encoding with subtitles was enabled,
quality of the picture is not that great; i give it a try without subtitles, the subs are perfectly sharp.
i assume the source material is too noisy for perfect quality
deinterlacing and resizing worked perfect, though.
iīll also will give it a try with a not so noisy source

let me know if you want the other log files etc.
__________________
AutoGK rulez!
MediaMage is offline   Reply With Quote
Old 1st November 2003, 20:03   #14  |  Link
GizmoDerMokwai
..uses Linux now...
 
GizmoDerMokwai's Avatar
 
Join Date: Oct 2001
Posts: 109
Hey, I tested you nice piece of code, too. I'll also think, it's somewhat slow, normally I got around 30fps with using LanczosResize and XviD Koepi build. Maybe you shouldt use a different avs script after the comp test. I'll test some scripts, so i'll can tell you, which filter makes the script beeing encoded that slow.
Like the others I just can say, keep on developing! I like the program, cause normally I user Robot4Rip and GKnot, so you Program is a good combine.
GizmoDerMokwai is offline   Reply With Quote
Old 1st November 2003, 21:33   #15  |  Link
GizmoDerMokwai
..uses Linux now...
 
GizmoDerMokwai's Avatar
 
Join Date: Oct 2001
Posts: 109
dunno what's wrong with your vDub useage...
i encoded the GKIF4U AVS Script manuelly with vdubmod with default XviD Settings and got min. the dopple fps....
GizmoDerMokwai is offline   Reply With Quote
Old 1st November 2003, 22:03   #16  |  Link
len0x
I'm afraid we've to stop
 
len0x's Avatar
 
Join Date: Mar 2003
Location: Amongst mad people
Posts: 5,400
@MediaMage

About first ripping step: ISO/File mode is not ideal for GKIF4U. I have to check situation with multiple IFOs, but I think I'm just picking up the first one anyway (because in IFO mode DVDDecrypter produces just one ifo file and I select the longest chain from there). May be I'm wrong and it's a bug. In any case I recommend using IFO mode and only rip what you gonna encode. It will help solving problems with audio (the one you mentioned ealier). In fact I checked and audio is being picked up right, but info you see in the combobox is probably incorrect (there is no second audio for the chain which is later processed by DVD2AVI). Was stream info txt file created when you ripped? (or maybe you didn't rip it in IFO mode)

Moreover - if you have multiple episodes in one vobset and you ripped them all in ISO or File mode, the GKIF4U cannot do anything right since it always works on the stripped VOBs already (with just one chain there). Hope this is clear now for everybody who uses GKIG4U.

@GizmoDerMokwai

Default XviD settings don't use VHQ if I'm not mistaken. But I'm using VHQ1 which makes encoding at least twice as slow. And AVS script doesn't matter in this case at all as you found out already.
__________________
Gordian Knot Family:
Gordian Knot: website, download
Auto Gordian Knot: Website and download, tutorial, FAQ

Last edited by len0x; 1st November 2003 at 22:08.
len0x is offline   Reply With Quote
Old 2nd November 2003, 00:04   #17  |  Link
GizmoDerMokwai
..uses Linux now...
 
GizmoDerMokwai's Avatar
 
Join Date: Oct 2001
Posts: 109
so maybe it wouldt be nice, to make it possible for the users, to change the elementary codec settings in one of the next builds...
GizmoDerMokwai is offline   Reply With Quote
Old 2nd November 2003, 02:06   #18  |  Link
manono
Moderator
 
Join Date: Oct 2001
Location: Hawaii
Posts: 7,082
Hi-

I've done a couple of movies now using gkItFast4U. Did them both for 1 CD. The speeds seem about the same as before. Perhaps those finding it to be slower are used to using different codecs, or have been using XviD with different settings. If, for example, you haven't been using VHQ, since gkItFast4U does use VHQ, then you'll get a pretty big slowdown. And if you're not used to using LanczosResize, then that slows you down a little bit.

The first movie had 82% Film. It detected that, put on IVTC, ran the compression test and encoded. I preset the Horizontal Res to 640, so it kept that and came out with a 74% compress test result. It made the subs, did the audio, cropped the black bars perfectly, encoded the movie and muxed with no problem, and it looks great. Perfect 700 MB size.

The second movie it handled differently. I had done both movies before, so I knew what I was looking for. This time I changed the final file size to 701 MB, from the 700 MB of the first movie. It kept the AC3 track. It looks like anything over 700 MB gets AC3 (I just confirmed that in the Usage.txt). Many people might raise the size slightly, still intending to make 1 CD (perhaps even overburning). One suggestion is to make MP3 audio up to about 705 MB. Either that or let us choose the Audio in the Advanced Settings box. Some people might prefer MP3 Audio, even for a 2 CD rip. This time I let it choose the Horizontal Resolution (Auto Width). This one had 0% Film in DVD2AVI, but I knew from experience that it IVTC'd well. It kept it at 29.97fps, kept the AC3 audio, did the subs, chose a softer matrix, cropped properly, kept LanczosResize interestingly, and chose a resolution based on a 74% compress test result. The resolution wound up as 480x256. I don't know any way around deciding to IVTC or just Deinterlace based just on the DVD2AVI results. You have to have a look at it usually. I don't know if you want to add an IVTC box in the Advanced settings or not. Heck, just deciding to Deinterlace or not follow the ITU Standard is going to confuse a lot of beginners. In fact, I'd suggest not giving anyone that particular choice. Make the ITU Standard the default and don't give anyone the chance to change it. But it came out to exactly 701 MB, and except for looking a bit soft, turned out fine.

A lot of these issues that will crop up are judgement calls. And you've made some reasonable choices in order to keep it as simple as possible. And it's real simple. A person that has never encoded anything in his life will have no problem at all with this. This is as close to a click-and-forget program as I've ever seen. And that includes Fair Use.

Lets see-questions.
1. Is there any point in running a compress test if the user has already chosen a Horizontal Resolution? Perhaps to show why his movie didn't turn out as well as expected after it's finished? If someone comes around later and says his movie looks like crap, you can say, "Post the log.", and then tell the guy, "Hey, you got a 30% compress test result with 640 Horizontal Res for 1 CD. What did you expect?"

2. What Deinterlacer are you using, and at what settings? Maybe I'll do that second movie again with the deinterlacer turned on and find out.

3. Which Matrices are you using? When it said "Using Softer Matrix", did it go from HVS_Best to HVS_Good, by chance?

4. What does the "Normal" in "4:3 Normal" mean? It's in Video Info, below the Input Directory. It was a widescreen letterboxed 4:3 DAR movie.

5. It looks like you choose the Horizontal Resolution based on around 75% in the compress test results. I'd suggest that if you're in danger of going below, say 512*xxx, that you switch to a 60 or 65% result, and perhaps also switch to Bicubic resizing. That may be tricky to implement, so I'd understand if you don't much like the idea. And I realize that you can choose a minimum Hor. Res. in the Advanced Settings.

6. Maybe add a line in the log with the actual final percentage based on the actual first pass size. When you're running a compress test at 640*xxx, and then extrapolating to get the percentage for a different resolution, that, on top of the compress test's margin of error, may give up to, what, 10% or so difference?

I guess that's it for now. My suggestions are minor, and even if you change nothing, this thing's great. Now when people complain that GKnot's too hard to use, I can say, "Use gkItFast4U." I'm impressed. Good work, len0x.

Last edited by manono; 3rd November 2003 at 05:38.
manono is offline   Reply With Quote
Old 2nd November 2003, 04:13   #19  |  Link
ammer
Registered User
 
Join Date: Mar 2002
Posts: 95
nice app. very simplified.
ammer is offline   Reply With Quote
Old 2nd November 2003, 10:46   #20  |  Link
len0x
I'm afraid we've to stop
 
len0x's Avatar
 
Join Date: Mar 2003
Location: Amongst mad people
Posts: 5,400
Quote:
Originally posted by GizmoDerMokwai
so maybe it wouldt be nice, to make it possible for the users, to change the elementary codec settings in one of the next builds...
That kind of things I'm trying to avoid at all cost. But as I said ealier in my first post I might introduce some settings via a config file (but not gui).
__________________
Gordian Knot Family:
Gordian Knot: website, download
Auto Gordian Knot: Website and download, tutorial, FAQ
len0x is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 16:45.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2017, vBulletin Solutions Inc.