Log in

View Full Version : lets get a new version of AutoGK out


Pages : 1 [2] 3

len0x
29th December 2008, 10:57
@ len0x

Is there a special reason why you don't use the latest stable release of Xvid instead of the v1.3.0 CVS?

No, but at this point I don't think there is any difference, is there?

len0x
29th December 2008, 11:02
However avoid using it on hardsubbed sources or toons (actual/detailed anime are ok) since it will produce visible ringing around very hard edges.

So what would be the suggestion if it has to be always on or off then? In other words will the benefit of having it always on overshadow the cases when it should not be used?

Sharktooth
30th December 2008, 17:15
Since autogk supports soft subs i would add a "Source is cartoon" checkbox or "Cartoon mode" or something and set AQ accordingly.

Barough
31st December 2008, 00:42
Double post

Barough
31st December 2008, 00:46
No, but at this point I don't think there is any difference, is there?

Another software im Beta testing for don't like Xvid that ships with AutoGK, so i have to reinstall v1.2.1 when im gonna work with that one.

len0x
3rd January 2009, 11:24
Another software im Beta testing for don't like Xvid that ships with AutoGK, so i have to reinstall v1.2.1 when im gonna work with that one.

Then ESS/MTK options may not work properly. If you don't use them then it pretty much doesn't make any difference (so far).

ankurs
3rd January 2009, 11:36
^

i might be offtopic but autogk seems to have problems with wrongly flagged dvd's .

What i mean to say is for example a 16:9 source which is flagged as a 4:3 wrongly and autogk in return after reading the flag crops and then resizes to a FS resolution instead of a WS one and vice versa for the whole scenario and the other way around ...

this specifically does happen on old shit quality processed retail dvd's here in asia ( and on old dvds/movies/titles ) which have been barfed up from bloody FS to WS just by changing flags and adding borders taking the aspect ratio immensly off when the dvd is played on dvd players ,selecting 16:9 , 2.35:1 , 4:3 , 1.33:1 on your remote control's doesnt help much then ( the picture either gets vertically squished or horizontally stretched 95 % off the times ) .

How i know this ? cuz i started off on autogk back in start of 2006 and now ended up on commandline encoding / megui / cce etc ..

so yeah well , any way this could be solved ?

do let me know if u need a sample !

manono
3rd January 2009, 14:16
AutoGK gets the DAR from DGIndex which gets it from the VOBs. But a DVD player usually gets it from the IFOs. So, the DVD can play properly in the standalone but you can wind up with an AutoGK produced AVI in the wrong aspect ratio. It's not AutoGKs fault; it's not DGIndex's fault. It's your responsibility (maybe after seeing the result) to go into the Hidden Options and change the DAR and do it over again. It doesn't happen all that often, but it does happen.

Chumbo
3rd January 2009, 17:21
I don't remember if you package avisynth with AutoGK, but in case you didn't know, 2.5.8 is released.

+1 for x264 support. :)

ankurs
4th January 2009, 13:22
AutoGK gets the DAR from DGIndex which gets it from the VOBs. But a DVD player usually gets it from the IFOs. So, the DVD can play properly in the standalone but you can wind up with an AutoGK produced AVI in the wrong aspect ratio. It's not AutoGKs fault; it's not DGIndex's fault. It's your responsibility (maybe after seeing the result) to go into the Hidden Options and change the DAR and do it over again. It doesn't happen all that often, but it does happen.

totally agree to ur post , i dont use autogk now , used too when i started off back in the day , n00bs still might face the problems i mentioned and seemingly it can be solved from the hidden options so oh well cheers for that ! :D

btw big up to len0x for his work !

len0x
4th January 2009, 13:25
Since autogk supports soft subs i would add a "Source is cartoon" checkbox or "Cartoon mode" or something and set AQ accordingly.

I really don't want to add options at this stage though. However since AutoGK knows about hard subs it can switch AQ off for those ones automatically, but are cartoons with AQ on really bad? Any examples sources of that I can try myself?

P.S. Where can I find the definitive latest VAQ patch for XviD?

len0x
4th January 2009, 13:26
I don't remember if you package avisynth with AutoGK, but in case you didn't know, 2.5.8 is released.


Good to know, I wonder if they do x64 version of it...

len0x
4th January 2009, 13:30
Another software im Beta testing for don't like Xvid that ships with AutoGK, so i have to reinstall v1.2.1 when im gonna work with that one.

Btw, Is this pure DLL versioning thing or some other problems (like my build/installer of XviD)?

Chetwood
6th January 2009, 11:39
even if xvid is a little outdated...
Says who? It's the same with mp3 and ogg: I can easily "waste" a few more bytes to reach the same quality of current codecs and every darn device out there does playback mp3. Almost any standalone of the past years does xvid and most likely any future device will. I've tested my AutoGK rips on a 50" Plasma and there were no artifacts.

Having not read last year+ of posts it would be good if you guys could brief me if there are any known/outstanding problems with the latest 2.48 version.

Episodic discs being ripped as one large file
This has already been mentioned but it's also my main issue with AutoGK. Since opening such DVDs in DVD Decrypter shows all eps in the first PGC but also each ep with it's own PGC it might be possible to retrieve info on start/end points of each ep from the IFO after all?!


Messed up subtitle order
To workaround above mentioned problem I'm re-authoring episodic discs with DVD Shrink first, stripping all but english/german subs. So en-it-de becomes en-de and shows up as such when opened in AutoGK but after encoding only the first sub is there. Manually ripping the re-authored DVD's subs with Vsrip reveals that en is the first sub stream but de is still 3rd stream in the IFO whereas stream 2 is blank which AutoGK does not seem to realize. Also toggling "logical remapping of enabled streams" in DVD Shrink doesn't make a difference.


Switching subtitle order for external subs doesn't work
Some DVDs I rip come with en-de audio and sub streams so I switch them to de-en. This works for audio but not for external subtitles which always keep the original order.


Output file input box doesn't allow pasting
After having re-authored my episodic disc I open the first of the four eps in AutoGK and select the output file as d:\done\my.show.ep1x01. Now I can copy this line from the output file input box but I cannot paste it back there as d:\done\my.show.ep1x02 after having opened the second ep. I have to click the browse icon first and only then can paste the line. Minor thing but unnecessary, IMHO.


As everyone here I could come up with tons of suggestions on how to improve your great prog but I'll restrict myself to this: please add an option to start a program when a job and/or queue is finished. This way I could call a batch file that would do a netsend from my encoding machine in the basement or even use my telephone system to text my cell phone.

One more thing: I've read on some German forum that AutoGK's standalone profiles might be out of date when it comes to MTK chipsets used in current standalones. Any info on this? Thanks!

len0x
6th January 2009, 13:26
- Episodic discs being ripped as one large file

It might be possible to do that on avisynth level as I said before, but this would have severe implications on external subs...

- Messed up subtitle order

I would have to see an example of such re-authored IFO file before I can comment on this. It might be just a simple bug to solve.

- Switching subtitle order for external subs doesn't work

I have to look this up, but afaik its a limitation of vobsub which ignores the order of subs supplied to it.

- Output file input box doesn't allow pasting

This one won't be changed as parsing of the input file happens on selection and that can't happen on key press event, so another button to load the info would need to be introduced, which I'm against of.

Also I'll keep in mind batch option, but have no idea about standalone profiles as they are part of XviD and not AutoGK per say...

Sharktooth
6th January 2009, 15:52
I really don't want to add options at this stage though. However since AutoGK knows about hard subs it can switch AQ off for those ones automatically, but are cartoons with AQ on really bad? Any examples sources of that I can try myself?

P.S. Where can I find the definitive latest VAQ patch for XviD?
try encoding one of the simpsons episodes with VAQ. you'll notice ringing around hard edges.
for the VAQ patch, ask Dark_Shikari.

just a suggestion: i would consider changing the autogk encoding chain to something more flexible.
for example, replacing vdub with cli encoders (faac, lame, xvid_encraw, x264...) so you can eventually add avs2yuv on top of video encoders and use 32/64 bit versions accordingly to the host OS. also xvid and x264 cli encoders have VBV parameters... so you can eventually create as much standalones or devices profiles as you want...
that will require cli muxers too (mkvmerge for divx 7 compatibility, avimuxgui in cli mode for classic avi output and eventually mp4box for IPod and other devices...).
well, all depends on how much time you want to spend on autogk though... but those changes will take autogk to a new level... :)

Chetwood
6th January 2009, 20:28
- Episodic discs being ripped as one large file
It might be possible to do that on avisynth level as I said before, but this would have severe implications on external subs...
Such as? I'm not sure I'm getting what you say here. One could set the target size large enough to hold all 4 eps of a DVD with good quality and encode the main pgc with AutoGK and split the resulting avi into 4 parts. Splitting external subs manually to match the eps would of course be a PITA. Therefore one has to rip single eps first before feeding them to AutoGK.

Unless of course AutoGK would learn how to recognize single eps. I really do hope some expert with knowledge of ifos can chime in on this. Like I said before, the ifo does not only list the main pgc with all eps (basically pgc 1 is one huge mpeg with all eps in it) but also each ep's pgc (3-6 in screenshot below):

http://www.dvdshrink.info/chetwood/img/dvdd.episodic.png

Somehow it should be possible to calculate start/end point from this including subs. DVD Decrypter can derive this info from the ifos. Ripping single eps with DVDD in IFO mode allows to open those eps in AutoGK (but unfortunately not in Shrink or PowerDVD since DVDD does not generate the video_ts.ifo!) and get external subs just fine. I usually use this method as a workaround unless of course I'm dealing with any of the tough new copy protections (http://forum.doom9.org/showthread.php?p=1232897#post1232897).

len0x
7th January 2009, 11:46
The example above is a good one to demonstrate how difficult it could be. I can only derive where a PGC starts based on the timing above to calculate (approximate) start frame to pass to avisynth. So for PGC 3 - what would be the offset? 00:00 or 00:13? Also PGC 1 doesn't seem to be sum of any others exactly... So just based on the rough timings we are bound to have synch problems with subs if they are cut exactly by PGCs (as vobsub does). The more I think about this the more I don't like the idea (unless I disable subs processing in such mode completely for external subs, better than nothing I guess).

Barough
8th January 2009, 14:31
Btw, Is this pure DLL versioning thing or some other problems (like my build/installer of XviD)?

Sorry 4 the late reply......

When 'your' Xvid is installed so does not the encode not start @ all for me. No 'error' messages, nothing......

Will do some more tests when things have calm down a bit for me.

TheResidentEvil
8th January 2009, 21:44
great tool len0x.

nevragain
9th January 2009, 00:55
I have a small request having the program choose between auto and one of several types, would it be possible to "deselect" one and have the program choose between the remaing options.

len0x
9th January 2009, 20:16
The above post is definitely missing some keywords as I can't make head or tail of it...

len0x
9th January 2009, 20:17
When 'your' Xvid is installed so does not the encode not start @ all for me. No 'error' messages, nothing......


AutoGK or the other encoder?

len0x
10th January 2009, 23:30
Switching subtitle order for external subs doesn't work
Some DVDs I rip come with en-de audio and sub streams so I switch them to de-en. This works for audio but not for external subtitles which always keep the original order.


So I checked this and indeed VobSub doesn't do any re-mapping of subs - they all have exactly the same index position as in vobs (I guess that makes sense since it just extracts them from the source and not re-author). In AutoGK order matters only because the first one will be the default one to be displayed (just an entry in IDX file).

len0x
10th January 2009, 23:38
try encoding one of the simpsons episodes with VAQ. you'll notice ringing around hard edges.


Just tried that on the 11th season. Its not really noticable during playback, however when comparing frame-to-frame I can see that. So I'm guessing it should be an option to switch it off... oh wait I actually have "enable cartoon mode for XviD" option which can disable VAQ as well :) So, I think I'll go for that then...

Sharktooth
11th January 2009, 05:10
good :)

yetanotherid
11th January 2009, 06:55
I have a small request having the program choose between auto and one of several types, would it be possible to "deselect" one and have the program choose between the remaing options.

I think he's trying to ask if when selecting auto mode, auto could be any of the usual AutoGK options.... except for.... one particular option you'd like to tell it not to pick.

Chetwood
11th January 2009, 09:58
The example above is a good one to demonstrate how difficult it could be. I can only derive where a PGC starts based on the timing above to calculate (approximate) start frame to pass to avisynth. So for PGC 3 - what would be the offset? 00:00 or 00:13? Also PGC 1 doesn't seem to be sum of any others exactly...
Weird, PGC 1 is one second too long to be the sum of the 4 eps. Of course I don't know how accurate DVDD is here or what more/specific info could be derived from the ifos that DVDD just isn't depicting. Somehow it must be possible since DVDD's stream processing in ifo mode as well as DVD Shrink's re-author mode can split the eps accurately (Shrink except for the subs that is). Since dvdshrink himself has gone awol again (http://forum.doom9.org/showthread.php?t=137425), I hope we can find someone else here on this forum to provide the necessary information, gonna pm LUK! about that.

The more I think about this the more I don't like the idea (unless I disable subs processing in such mode completely for external subs, better than nothing I guess).
In that case it's actually better to leave it as it is. Some DVDs I rip do have en-de as the first two streams so the problem with wrong subtitle order does not occur. On other DVDs I can workaround this problem by ripping single eps with stream processing enabled with DVDD. As said before the problem with this method is that these rips can't be opened in Shrink (to trim first blank seconds left by the copy protection that would cause sync problem if left in) since DVDD does not generate an empty video_ts.ifo Shrink is expecting.

len0x
11th January 2009, 19:18
Weird, PGC 1 is one second too long to be the sum of the 4 eps. Of course I don't know how accurate DVDD is here or what more/specific info could be derived from the ifos that DVDD just isn't depicting. Somehow it must be possible since DVDD's stream processing in ifo mode as well as DVD Shrink's re-author mode can split the eps accurately (Shrink except for the subs that is).


Internally this is done via bytes/blocks offset that is stored in ifo obviously, however without writing re-authoring tool like dvdshrink you can only operate on the timings and knowing that you have to start cutting VOBs at X bytes won't help processing this in avisynth...

Buggle
13th January 2009, 12:56
As for the episode DVDs, I always like to encode all eps in order to know how the complexity is distributed. In that way you can encode at same quality instead of same bitrate. Usually I choose for instance DVD size for a certain amount of eps. In that way you have optimized quality for all episodes.

So I would personally prefer to actually encode it as one file, only making sure that during encoding the necessary keyframes are inserted, so at the end the program can then use the information to cut the resulting file into episodes.

You could even add a filenaming mask, so that everything is named in a specified way.

Chetwood
13th January 2009, 20:24
In that way you can encode at same quality instead of same bitrate.
So the eps do not differ? I'm simply setting the same target size for all eps.

so at the end the program can then use the information to cut the resulting file into episodes
Which won't work on external subtitles.

Buggle
14th January 2009, 00:32
So the eps do not differ? I'm simply setting the same target size for all eps.

Sure, they might differ in size and bitrate, because one might be more complex than others.


Which won't work on external subtitles.

Sure it will, you can rip the subs separately, ep by ep. If the process of cutting the eps has been done correctly, they will still be in synch.

Or am I not understanding what you mean by external eps?

Chetwood
14th January 2009, 08:41
It appears you don't understand why I'm using AutoGK: I want the program to do the job for me which means not to have to cut the external subs manually.

Buggle
14th January 2009, 13:20
It appears you don't understand why I'm using AutoGK: I want the program to do the job for me which means not to have to cut the external subs manually.

Again, I do not know in what other way it would be possible, since with OCR you will still need character recognition, for which I for instance use a program that still needs my input (SubRip). If there are programs that can automate that process, where's the problem? Instead of doin it yourself, it could be automated. I do not know how, but it should be possible.

Besides that, why not use the timecodes/framecounts that were used by AutoGK to cut the final stream to also cut the subtitle stream?

Chetwood
15th January 2009, 13:43
Besides that, why not use the timecodes/framecounts that were used by AutoGK to cut the final stream to also cut the subtitle stream?
If I understood len0x's previous posts correctly that's not working correctly. Besides, I'm only using idx/sub which spares me to do OCR.

Buggle
19th January 2009, 11:58
If I understood len0x's previous posts correctly that's not working correctly. Besides, I'm only using idx/sub which spares me to do OCR.

Okay, that's a different story. Then forget my whole remark.
(But still, shouldn't it be possible to modify those streams somehow?)

I for one never use idx/sub because they take up multiple MB that could be used for encoding, plus I do not like the way the subs look. But of course that's a matter of taste and personal preferences.

Chetwood
23rd January 2009, 08:46
It's a matter of taste, alright. Consider me surprised about you prefering rendered subs over the originals, after all most standalones pretty much suck displaying them but, do you really think ~4 MB on a 400 MB xvid (40 min ep, 2 languages) not spent on subs would make a noticeable difference when used for encoding?

FishTank
5th February 2009, 14:14
i read through a few pages and couldn't find any mentioning of
multi-angled dvds.
its not really a problem, since one can re-author the dvd in shrink, but
its still a bug in AGK and i figured you might wanna know (if in fact you dont).

so, if you encode a dvd that has angles, you get a mess lol. repeating
frames for different angles, randomly. an example dvd would be
"the kid (http://www.imdb.com/title/tt0219854/)" RC1 or "george of the jungle (http://www.imdb.com/title/tt0119190/)" RC1.

hope it helps, otherwise ignore it :D
and THANK YOU for continuing this GREAT tool len0x :)

manono
5th February 2009, 15:37
Wouldn't decrypting either of those movies using the IFO Mode of DVD Decrypter and choosing the angle you want solve the problem? It's up to the user to prepare the videos properly before sending to AutoGK. That may include removing any "modern" copy protection, the angle(s) you don't want, and any other stuff, such as logos or warnings, that may be in the same VTS as your movie.

len0x
5th February 2009, 21:14
its still a bug in AGK and i figured you might wanna know (if in fact you dont).


its not a bug - its a feature of DGIndex where it can't process multi-angled vobs...

FishTank
5th February 2009, 21:20
well you can certainly argue that point. imho it should work or not
be possible. as it is, AGK will ask you want angle (PGC? cant recall)
to use, but no matter what you choose, you'll end up with
a mess out of all angles.

:)

ps: the ones i've tried were ripped with RipIt4me (movie only). wouldn't it be the same in IFO mode with dvddecrypter?

edit: wrote this while you posted @len0x.. i see :) as i said, no problem, easy workaround and thanks for
the clarification. keep it up :D

len0x
5th February 2009, 21:24
Nope, in IFO mode DVDD actually strips out angles... Angle/PGC selection is put in purely for subs to work properly on the material that was properly processes before. I agree it could be more obvious, but it was never intented to work in a different way due to limitation of DGIndex.

FishTank
5th February 2009, 21:29
gotcha!

good to know, thanks :)

buzzqw
6th February 2009, 10:11
Hi Len0x

i want some spoiler.. what are your plan with AutoGK ?

thanks!

BHH

len0x
6th February 2009, 22:47
I'm undecided :) I'm thinking to start looking at different containers first.

buzzqw
7th February 2009, 08:17
it's a good start

both mp4 and mkv have good muxing utility and tagger

and ... then you will be ready for the next codec ;)

BHH

Chetwood
7th February 2009, 08:27
IMHO a good start is always to fix any remaining bug first before starting on new features. So dont push len0x, guys ;)

BigDid
9th February 2009, 06:37
Hi,

I would like to come back on the subject from the main thread:
http://forum.doom9.org/showthread.php?p=1246372#post1246372
which was related to Max quality/FUWizard/Sliders

So I have tested some of the FUW profiles and manually set the xvid encoder

1/ If you use the FUW 2.90 version, the x264 is updated to a recent rev, xvid is not (still rev47)
To get the VAQ an SSE3 optimizations you need to unchek "use internal xvid" in the expert mode (options) and use the xvid installed by AGK (rev 50)

2/ There are some pros and cons with FUW. I will focus on quality. FUW doesn't use same parameters as AGK for xvid encoding; so it may influence in quality:
- In xvid encoder/quality preset/more/Quantization FUW use 1 to 31 (AGK uses 2 to 4, at least in 1pass encode)
- The Xvid/Standalone profile doesn't use B-frames
- To have b-frames you need to use the unrestricted profile

So it has an impact on size; big size should give better quality: I & P frames only, Quant up to 1 (AGK is limiting to q2)
I am sure it can be true for an ESS standalone, not so sure for MTK..

3/ Regarding the slider in FUW, the
- Fast-Lower quality
- medium - medium quality
- slow - high quality
is true for x264 (fast, slow, very slow) not really for Xvid cause there is IMO not enough choices.

The slider thingie is a good visual reference and maybe could be re-used in AGK; at least for:
- Fast speed - safe settings
- Slow speed - max quality
and adapted to ESS -MTK - Unrestricted profiles/presets if needed

I also think it can be usable for xvid as for X264 so double use !

Eventually more to come depending on feedback.

Did

Edit1 (to avoid increased number of posts) It seems there is a lot of big sizes encodes and often undersized with Xvid maxxed. FUW doesn't have this problem because it uses (by default?) Xvid Quantizer from Q1 to 31 instead of Q2 to4/5/x for AGK. Suggested:
-Cutting B-frames (as done actually) is a good way to lower compressability and gain quality.
-Extending Quantizer range up to Q1 could also help for 2 pass but also for 1 pass
-Besides that the denoiser removegrain (mode=2) gives more compression than mode=5 or =1 so the latest could be used for a very little upsizing gain (+/- 1%) and gain some details (or grain, nobody's perfect)
*For the MTK or unrestricted set, using a less compressible CQM still MTK/SAP compatible like sharktooth Eqm V3 HR or Heini MR (modded rev of the V3-HR) could upsize for +/-3% and gain more details/sharpness (some tests with VAQ 1 pass)

len0x
5th June 2009, 21:50
Heh, I'm sort of back after really sudden wave of problems that hit me this spring :) After lots of hardware problems, having to move home, loosing internet, vacations and busy time at work I'm going to catch up with what's going on around here ;)

buzzqw
5th June 2009, 21:53
welcome back len0x!

BHH