Log in

View Full Version : new_gordian_knot


Pages : 1 2 3 [4] 5 6

talen9
11th August 2008, 13:39
Well, it's missing both output (via "-o" option) and input file, but the rate control method is correctly specified, if that's what you were asking for :)

If, as in this case, you're doing the first pass, you can use the word NUL as the output file.


It's easier if you download a recent build (via x264.nl) and try it yourself, though (and have a look at the internal help. using "x264 --long-help") :)

gizmo27
11th August 2008, 17:52
yes but the recent x264 doesn't want to encode

is the syntax correct ?

talen9
11th August 2008, 19:48
Yes, I tried it just now and it works:

c:\Program Files\megui\tools\x264\x264.exe --progress --thread-input -B 1378
-p 1 --stats "statsfile.pass" -A "p8x8,b8x8" -b 2 --direct auto --subme 5
--me "hex" -o NUL 1.avs

avis [info]: 656x352 @ 25.00 fps (138175 frames)
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64
x264 [info]: slice I:2 Avg QP:15.20 size: 10426 PSNR Mean Y:73.60 U:73.24
V:73.33 Avg:73.49 Global:49.99
x264 [info]: slice P:119 Avg QP:17.55 size: 11635 PSNR Mean Y:50.39 U:50.07
V:49.96 Avg:50.25 Global:45.74
x264 [info]: slice B:186 Avg QP:19.65 size: 4221 PSNR Mean Y:50.05 U:49.85
V:49.82 Avg:49.96 Global:44.84
x264 [info]: mb I I16..4: 61.1% 0.0% 38.9%
x264 [info]: mb P I16..4: 15.0% 0.0% 0.0% P16..4: 28.6% 32.5% 12.6% 0.0% 0
.0% skip:11.2%
x264 [info]: mb B I16..4: 3.3% 0.0% 0.0% B16..8: 41.8% 4.8% 5.7% direct:
16.7% skip:27.7%
x264 [info]: final ratefactor: 16.05
x264 [info]: direct mvs spatial:88.2% temporal:11.8%
x264 [info]: SSIM Mean Y:0.9890234
x264 [info]: PSNR Mean Y:50.336 U:50.090 V:50.028 Avg:50.226 Global:45.187 kb/s:
1427.09

aborted at input frame 307
encoded 307 frames, 37.57 fps, 1427.55 kb/s



As you see, I had (obviously) to add the name of the output file ("NUL", as this is for the first pass) and the name of the input file ("1.avs").

gizmo27
11th August 2008, 21:08
Can you give me your complete avs script please ?

talen9
11th August 2008, 23:19
It won't do you any good, it's nothing more than a mpeg2source("file.d2v") to load a DVD source followed by a resizer .... mind that x264 expects an input file in YV12 format.

If you're not sure about the avs file you're generating and/or working on, just load it into VirtualDub and check if it works as you expect ... if you instead have any problems with x264, go to the MPEG4/AVC forum (http://forum.doom9.org/forumdisplay.php?f=77) ;)

gizmo27
12th August 2008, 10:50
No it's not that.

I mean what are your plugin lines ?

Ex : loadplugin(...................
loadplugin(...................

I don't know but maybe it's missing some plugins for x264 to work

talen9
12th August 2008, 17:47
I don't know but maybe it's missing some plugins for x264 to work

Erm ... definitely not, AviSynth processing is completely separated from x264.

x264 only wants in input a YV12 stream; AviSynth processing is only the preferred way to create said stream.


I repeat myself (again): try loading the same .avs file (which you're passing to x264) into VirtualDub / VDubMod ... if it loads correctly, then there are only two possibilities:
1) the resulting clip is not in YV12
2) your final x264 command line (which *should* be the one you posted before, plus the "-o" option and the input avs file) is not correct.

gizmo27
18th August 2008, 16:39
Ok thanks a lot.

I'm happy to tell you that GKMod now works with the last x264 cli version (patched or not) !

You can download it here (http://gordianknot.free.fr/gordian_knot_tests/GKMod18082008.zip)

And this is the source code (http://gordianknot.free.fr/gordian_knot_tests/GKMod18082008_src.zip)

I hope this time that somebody will be interested by this...

gizmo27
23rd August 2008, 20:41
I've tried but I don't manage to make GKMod working with x264 cli in single pass mode. I need some help, please.

It show this message in the log : EXCEPTION: Zugriffsverletzung bei Adresse 00404A11 in Modul 'GordianKnot.exe'. Lesen von Adresse 656C691E

In multipass mode, evrything is ok.

This is my new updated source :
GKMod23082008_src.zip (http://gordianknot.free.fr/gordian_knot_tests/GKMod23082008_src.zip)

I know GK isn't you first priority but if you can take a look... Thanks.

Stormshadow
24th August 2008, 21:38
Mannn i'm looking forward to a full stable version... trying to get it to work with finding all the programs myself isn't goin to well.. hehe. to much a n00b at this.

gizmo27
31st August 2008, 18:39
Hi

I managed to make GKMod working fully with x264 cli :

The exe : GKMod31082008.zip (http://gordianknot.free.fr/gordian_knot_tests/GKMod31082008.zip)

The source code :
GKMod31082008_src.zip (http://gordianknot.free.fr/gordian_knot_tests/GKMod31082008_src.zip)

Stormshadow
7th September 2008, 18:39
Isn't there gonna be a full install file like the "GordianKnot.RipPack.0.35.0.Setup.2"???

for some reason i've never been able to get it to work with just the files you post.

gizmo27
10th September 2008, 17:50
Yes it can have a full package but I prefer that GKMod to be "more finished".

GKmod works : download the setup3b2 and replace the file "gordianknot.exe" by the new one (GKMod).
For the missing apps go to the GKMod Program path tablet and download the prog : you need overall mkvmerge (mkvtoolnix) (http://www.commentcamarche.net/telecharger/telecharger-34055072-mkvtoolnix-mkvmerge) and mp4box (http://www.videohelp.com/tools/mp4box)

Sure there's not all the apps yet but be patient and hopefull.

And thanks for you interest about GK :)

Stormshadow
10th September 2008, 20:09
Oki.. well i don't mind the wait as long as there it gonna be a final install file...

Reason why i want it is because with the old install file i have alot of dvd's that GK makes in all kinda weird sizes but under and oversized so i'm thinking that some of the old software isn't working proberly in vista. try'd installing your file and downloaded updated versions of all the software but it won't even start ripping anything else then the audio no matter what i do.

Stormshadow
11th September 2008, 09:44
I finally got it encoding but now i get a different error... it encodes both audio and movie as it should but when it goes to join audio to movie it stop and gives me the following error:

http://img93.imageshack.us/img93/7755/gkjp7.th.jpg (http://img93.imageshack.us/my.php?image=gkjp7.jpg)

the only things i've changed is copy/past the new GK into the old gk folder and updated DGindex...

gizmo27
11th September 2008, 17:30
Try to use virtualdubmod instead of the last virtual dub.

And try to only replace GK by GKMod. No need to update the apps...

Can you try please with mkv and mp4 container ?

I thank you in advance.

Stormshadow
12th September 2008, 03:08
that IS with the existin virtualdubmod... Like i said only thing i changed was the gk itself and dgindex (witch shouldn't effect the encoding).. yeah i'll look into mkw once i get xvid encoding to work witch is what i'm mainly gonna use....

gizmo27
12th September 2008, 09:24
The problem you have appears when you encode with xvid ?

Stormshadow
12th September 2008, 11:54
The problem was with mp3... When i try ac3 it won't even start encoding..

EDIT:

Not gettin MLW to encode either...

gizmo27
17th September 2008, 19:38
Ok, GKMod can now mux mkv/mp4 audio-video using MKVMerge and MP4box.

The exe : GKMod17092008.zip (http://gordianknot.free.fr/gordian_knot_tests/GKMod17092008.zip)

The source code : GKMod17092008_src.zip (http://gordianknot.free.fr/gordian_knot_tests/GKMod17092008_src.zip)

and here's the changelog :Test GKMod_17092008 :
Changes since the last 31082008 version :

=> muxing audio-video with MKVMerge and MP4Box in multipass mode is OK

===========================================================================================================================

Test GKMod_31082008 :

=> GKMod can now encode video with the last x264 cli

===========================================================================================================================

At this time there yet a little matter to fix : the fact that Virtualdubmod doesn't mux anymore when encoding with Xvid.

I don't know from where it comes from.

Stormshadow
18th September 2008, 18:57
Is there a chance that you could make virtualdubmod visable in the bottom line again when encoding... kinda like that you always know how far along it is by just looking at that.

gizmo27
19th September 2008, 10:29
I think the most important is to fix the muxing audio-video bug ;):)

Stormshadow
19th September 2008, 14:32
Of course it is... ment at the end (when theres no more problems and you have the time :)

Barough
22nd September 2008, 16:20
Wonder how i could have missed this one. A modded GK :cool:

Been 'ages' since i played around with GK.

Hope that A/V Mux issue will be solved soon. Any plans on adding support for using decrypted DVD files from the harddrive.

Also hope to see a Full installer when it's possible.

Putting together a GKMod folder with all necessary files manually after getting the 'needed' GK files/folders from a m8 ;)

turbojet
26th September 2008, 14:24
nice to see my favorite encoding GUI being worked on again.

I did find some bugs however:
- Resolution page, Width and Height seem stuck at 1920x1080
- Some OK\cancel popups have cancel in french(?) example: options > update .ini
- Haali media splitter process keeps running after video is closed, only when you exit gknot does it end
-x264 compressibility check throws a non english error about some b_max
- cant access x264 codec settings under compressibility check
- x264 first pass always match second pass and vice versa
- avisource doesn't work for m2ts inputted avs's, directshowsource works
- Im getting EXCEPTION: bad file format. missing REGEDIT4 in first line when it tries to open x264 on each pass, it aborts.

Also some suggestions I have:
- Add tivtc to save avs windows, using tfm's d2v option if input is d2v
- Add tdeint to save avs windows
- Add lancos4resize, spline36resize to save avs windows
- Setting for default resizer in options
- Add 720p and 1080p native resolutions to save avs windows, like SVCD and VCD using addborders
- Replace undot with RemoveGrain(mode=1) and an option to turn this on\off in options page, can remove un
- Allow opening m2ts, ts, 264, vc1 extension files, directshow filters should support it, if not give an error message saying you need haali's splitter and ffdshow
- Add common BD\HDDVD bitrates to bitrate page: 640 AC3, 736 kbps DTS, 1509 kbps DTS
- Some sort of update system, whether thats path\structure of the latest in the rar, an installer, or an integrated update system. Currently tivtc, tdeint, lame_enc, dgmpgdec, plus probably some other avisynth plugins could use updates.
- Add eac3to support and files for encoding AC3 and DTS
- Integrate TSMuxer for BD output, adding overhead for this as well
- Don't resize if output is the same resolution as input
- Don't crop if its disabled in resolution page
- avs comments on\off setting in options
- allow more bitrate in the slider of x264, maybe max 20 MB\s
- extra command line option in x264 configure
- --threads auto ability and set as default in x264
- process priority setting for x264

I'll continue testing and trying to find bugfixes or think of more suggestions. Thanks for the work so far to those who contributed.

Stormshadow
26th September 2008, 20:24
Why didn't i think of that...

Yes most defently would be nice with blu-ray/HD-DVD support.

gizmo27
27th September 2008, 11:40
@ The GK developpers

I've early finished what you began.

As you can see : the interest in GK is always "on"

If nobody is interested I say "ok" and I go home but there...

Don't you think ?

I've an idea : why don't put an AutoGK link in the GK interface, for the beginners ?

It's just an idea

the_provider
27th September 2008, 22:34
@ The GK developpers

...
As you can see : the interest in GK is always "on"
...

Yeap, IT IS ON! :thanks:
I tried several encoders but for DVD ripping I always use GK so I can only be pleasantly surprised to see that somebody is still keeping it updated.

Keep up the good work.
Best regards.

medp7060
28th September 2008, 12:00
here are my two cents. While there is no "active" development on GK, MeGUI could be a choice. It is nearly as good as the old GK, even beter. I myself used to use GK, now I use MeGUI instead.

Barough
29th September 2008, 13:57
Would be really nice to see the Development of GK getting active.

The interest of GK is for sure 'On' :)

prOnorama
30th September 2008, 22:04
here are my two cents. While there is no "active" development on GK, MeGUI could be a choice. It is nearly as good as the old GK, even beter. I myself used to use GK, now I use MeGUI instead.

Yes I agree , MeGui is a good alternative.

The only things I miss from GK are the "Resolution" settings, especially the slider and the fact AR errors are listed. Also Megui has no compressibility test, I miss that as well. Furthermore the bitrate calculator could be a bit better IMO.

On the other hand the auto-update feature in Megui is really nice and it has newer filters (the feature to detect the source is handy as well)

GK is a good program but it hasn't been actively supported since ages. I think it's time to move on.

gizmo27
1st October 2008, 10:52
As for me I don't think so ;) :)

GK is not over yet

I nearly finished what Kurtnoise began : just this muxing problem : the matter is I don't find the bug and I don't find nobody to fix that

Ever if it's not totally finished, I'd like to make a new package including GKMod and components like MKVMerge just for testing and to tell it to downloading sites to put it online : but I won't forget to tell them it's just for testing and nothing official for the moment.

Can I do that ? No problem ?

Stormshadow
1st October 2008, 19:58
I try'd MeGui yesterday and i'm MOST DEFENTLY wanting a new GK... MeGui is no way near as good so u just keep up the good work gizmo27. :)

somebodeez
4th October 2008, 19:20
I haven't been able to find anything that can compare with GK!

gizmo27
5th October 2008, 10:00
Yes guys yes guys ! Keep on keep on ! It's good it's good !

There's an echo today day day... I don't know why know why know why...

Laffer
6th October 2008, 16:28
Although I do not like it (for many reasons) I have just started using MeGUI. As soon as GK can encode in x264 reliably - I will switch back to it.

Please keep up the great work.

Laffer.

sjakke
6th October 2008, 18:46
I miss good old GK. The best program imho, but outdated...sadly. Hope it gets revived. I don't know any comp. language, so I can't help out, sorry. Good luck gizmo27, love what you are trying to accomplish:)

gizmo27
21st November 2008, 14:07
@worfdata : :):):)

You're welcome.

In case of ;) :

The exe : GKMod17092008.zip (http://gordianknot.free.fr/gordian_knot_tests/GKMod17092008.zip)

The source code : GKMod17092008_src.zip (http://gordianknot.free.fr/gordian_knot_tests/GKMod17092008_src.zip)

oMikR0n
22nd November 2008, 17:42
Am getting the same error! Please fix it. It looks so good. Keep up the good work mate :D

worfdata
22nd November 2008, 21:04
I have spend a few hours to compile and debug gizmo27s version of gknot.

A few hours to install all needed units in the right version which I need to compile, and one hour to look at the bug. I think/hope I have found the reason for the bug. But it is gizmo27s job to verify and remove the bug.

Further information in my thread :
My compiled GKnot for DIVX6 inside (http://forum.doom9.org/showthread.php?p=1215947#post1215947)

Hope this will help!

Worf

gizmo27
24th November 2008, 17:16
It's too cool that you give me a solution to resolve the matter

I'll try it as soon as possible :):):):):):)

gizmo27
1st December 2008, 23:09
GKMod is now compatible with Divx 6 and the mux audio-video problem is solved !!!!

I'm happy to tell you that a new packaged beta version of GKMod is out : the GKMod.RipPack.0.35.1_beta2 !!!!

Here they are :

=> GKMod.RipPack.0.35.1_beta2.Setup.exe (http://gordianknot.free.fr/gordian_knot_tests/GKMod.RipPack.0.35.1_beta2.Setup.exe)

=> and the GKMod source code : GKMod0.35.1b2_01122008_src.zip (http://gordianknot.free.fr/gordian_knot_tests/GKMod0.35.1b2_01122008_src.zip)

Changelog :

GKMod.RipPack.0.35.1_beta2 :
Changes since the last 17092008 version :

About GKmod :

=> GKMod is now Divx 6 compatible
=> mux audio-video is solved

About the full package :

=> freewares added : mkvtoolnix, MP4Box and SubRip

===========================================================================================================================

Test GKMod_17092008 :
Changes since the last 31082008 version :

=> muxing audio-video with MKVMerge and MP4Box in multipass mode is OK

===========================================================================================================================

Test GKMod_31082008 :

=> GKMod can now encode video with the last x264 cli

===========================================================================================================================

test_GordianKnot.RipPack.0.35.0.Setup.3b2

WARNING : this is a Gordian Knot package beta install for testing !

Changelog from the 0.35.0_setup3b1 version :

=> replaced DGIndex v 1.4.8 by the 1.4.9 one
=> replaced Virtualdubmod 1.5.10.2 buid 2540 by Virtualdubmod bugfix/cvs 1.5.10.2 build 2542
=> avisynthplugins : replaced removegrain v0.9 by v1.0, added : asharp, awarpsharp, autocrop, masktools, mt_masktools
(included the xml file)
=> updated Besweet to 1.5b31 version

===========================================================================================================================

Changelog from the 0.35.0_setup2 version :

=> Avisynth updated to v2.5.7
=> DGIndex updated to v1.4.8
=> Added Belight in combinaison with Besweet
=> added filters : tdeint, tivtc, blockbuster, tbilateral, degrainmedian
=> Xvid defaults settings present now

Thanks a lot worfdata for your help and your contribution for GKMod !!!! I've added your code into the GKMod one. Truely I don't know how to thank you. I'm so glad

You can take a look at my "Big Thank You" file :Un_grand_merci.txt (http://gordianknot.free.fr/gordian_knot_tests/Un_grand_merci.txt)

Thanks a lot again and take pleasure with the new GK !!!!

PS : I'd like to make the new GK more well-know and I'd like to ask to you if it's possible to put GKMod in the main doom9 download location ? Writin it's for testing ? If it's possible, it could be great.

And maybe to put the new beta version and the GKMod source code on Sourceforge.net ?

Thanks a lot again.

somebodeez
2nd December 2008, 16:56
This is very exciting :D

I just tried to use GKMod.RipPack.0.35.1_beta2 with DivX 6.8.5.11.

I keep getting this error message:

"Avisynth open failure:
Script Error: There is no function named "mpeg2source" and the job fails to start.

den78
2nd December 2008, 18:57
This is very exciting :D

I just tried to use GKMod.RipPack.0.35.1_beta2 with DivX 6.8.5.11.

I keep getting this error message:

"Avisynth open failure:
Script Error: There is no function named "mpeg2source" and the job fails to start.

i haven't tried this version yet, but try to disable "advance saveavs window"
& 10x gizmo27 4 the new version :)

somebodeez
2nd December 2008, 21:38
i haven't tried this version yet, but try to disable "advance saveavs window"
& 10x gizmo27 4 the new version :)

Thanks but if I do that, how can I load up my custom filter ini file?

len0x
2nd December 2008, 22:33
gizmo, can you sum up what are all the changes and provide a proper diff files from the latest official sources please? I might be able to review them and commit if necesarry...

den78
2nd December 2008, 22:34
Thanks but if I do that, how can I load up my custom filter ini file?
don't know dude, i use gk defaults...never bothered with the custom stuff.
btw, is the described error fixed?

somebodeez
2nd December 2008, 22:44
don't know dude, i use gk defaults...never bothered with the custom stuff.
btw, is the described error fixed?

I'm a "dudette" ;)

I haven't tried your suggestion since it wouldn't do me much good if I couldn't use the custom stuff. ( For me, this is a big part of what makes GK so wonderful!!)

gizmo, can you sum up what are all the changes and provide a proper diff files from the latest official sources please? I might be able to review them and commit if necesarry...

I know the words "might" and "if necessary" doesn't mean "definitely" ;) but that would be soooo cool if you could! :D

den78
2nd December 2008, 23:19
I'm a "dudette" ;)
my bad :D

gizmo27
3rd December 2008, 01:16
@Lenox

Yes of course.

Do you want a source code like that : I add the line "gizmo27 add begin"..."gizmo27 add end" for example ?

It's nice for you to take a look to what we've done :)
Thanks a lot.

Thanks but if I do that, how can I load up my custom filter ini file?
Put "DGDecode.dll" in the directory "plugins" of your Avisynth program and your problem will probably disappear ;)