View Full Version : Odd Resolution with AutoGK
theclaus
3rd April 2006, 22:29
I have been using AutoGK for some time and when I try to encode Dune: Special Edition DVD that is a 16:9 source regardless of the output resolution I pick it gives an odd number.
For example when I want 640 for a resolution depending on the source(16:9 or 4:3) I would expect 360 or 480 for my 2nd part of my resolution.
However with Dune I get 640x272. This looks horrible on my Widescreen HDTV.
Is there a way to force AutoGK to produce the correct 2nd part of the resolution?
Thanks
Eric
BigDid
3rd April 2006, 23:56
I have been using AutoGK for some time and when I try to encode Dune: Special Edition DVD that is a 16:9 source regardless of the output resolution I pick it gives an odd number.
For example when I want 640 for a resolution depending on the source(16:9 or 4:3) I would expect 360 or 480 for my 2nd part of my resolution.
However with Dune I get 640x272. This looks horrible on my Widescreen HDTV...
Hi Eric,
Could you :logfile:
:thanks:
Did
theclaus
4th April 2006, 00:51
I am rerunning it right now for the log file. I'll post it when it is complete.
theclaus
4th April 2006, 06:38
Okay here is my log file.
[4/3/2006 3:09:11 PM] AutoGK 2.27
[4/3/2006 3:09:11 PM] OS: WinXP (5.1.2600).2
[4/3/2006 3:09:11 PM] Job started.
[4/3/2006 3:09:11 PM] Input file: C:\DUNE\VIDEO_TS\VTS_01_0.IFO
[4/3/2006 3:09:11 PM] Output file: C:\Output\DUNE.avi
[4/3/2006 3:09:11 PM] Output codec: XviD
[4/3/2006 3:09:11 PM] Audio 1: English AC3 6ch
[4/3/2006 3:09:11 PM] Subtitles: none
[4/3/2006 3:09:11 PM] Format: .AVI
[4/3/2006 3:09:11 PM] Target size: 1658Mb
[4/3/2006 3:09:11 PM] Custom resolution settings: fixed width of 640 pixels
[4/3/2006 3:09:11 PM] Custom audio settings: VBR MP3 with average bitrate: 128Kbps
[4/3/2006 3:09:11 PM] Standalone support enabled: ESS
[4/3/2006 3:09:11 PM] Started encoding.
[4/3/2006 3:09:11 PM] Demuxing and indexing.
[4/3/2006 3:13:45 PM] Processing file: C:\DUNE\VIDEO_TS\VTS_01_PGC_01_1.VOB
[4/3/2006 3:13:45 PM] Processing file: C:\DUNE\VIDEO_TS\VTS_01_PGC_01_2.VOB
[4/3/2006 3:13:45 PM] Processing file: C:\DUNE\VIDEO_TS\VTS_01_PGC_01_3.VOB
[4/3/2006 3:13:45 PM] Processing file: C:\DUNE\VIDEO_TS\VTS_01_PGC_01_4.VOB
[4/3/2006 3:13:45 PM] Processing file: C:\DUNE\VIDEO_TS\VTS_01_PGC_01_5.VOB
[4/3/2006 3:13:45 PM] Processing file: C:\DUNE\VIDEO_TS\VTS_01_PGC_01_6.VOB
[4/3/2006 3:13:45 PM] Processing file: C:\DUNE\VIDEO_TS\VTS_01_PGC_01_7.VOB
[4/3/2006 3:13:45 PM] Processing file: C:\DUNE\VIDEO_TS\VTS_01_PGC_01_8.VOB
[4/3/2006 3:13:45 PM] Source resolution: 720x480
[4/3/2006 3:13:45 PM] Found NTSC source.
[4/3/2006 3:13:45 PM] Source aspect ratio: 16:9
[4/3/2006 3:13:45 PM] Source seems to be pure FILM.
[4/3/2006 3:13:45 PM] Color correction enabled.
[4/3/2006 3:13:45 PM] Output will contain 254571 frames
[4/3/2006 3:13:45 PM] Decoding audio.
[4/3/2006 3:21:04 PM] Normalizing audio.
[4/3/2006 3:24:29 PM] Encoding audio.
[4/3/2006 3:54:30 PM] Audio1 size: 153,259,608 bytes (146.16 Mb)
[4/3/2006 3:54:30 PM] Overhead: 10,182,784 bytes (9.71 Mb)
[4/3/2006 3:54:30 PM] Video size: 1,575,096,616 bytes (1502.13 Mb)
[4/3/2006 3:54:30 PM] Running compressibility test.
[4/3/2006 3:54:30 PM] Writing the following script to C:\Output\agk_tmp\DUNE_comptest.avs
===========================================================
LoadPlugin("C:\PROGRA~1\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\ColorMatrix.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\RemoveGrain.dll")
movie = mpeg2source("C:\Output\agk_tmp\DUNE.d2v")
cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=10,aspect=0,threshold=34,samplestartframe=0,leftadd=0,rightadd=0,topadd=0,bottomadd=0)
fixed_aspect = 1.18518518518519
c_width = width(cropclip)
c_height = round(height(cropclip) / fixed_aspect)
input_par = float(c_width)/float(c_height)
input_par = (input_par > 1.4) || (input_par < 1.25) ? input_par : (4.0/3.0)
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=34,samplestartframe=0,leftadd=0,rightadd=0,topadd=0,bottomadd=0)
LanczosResize(out_width,out_height)
RemoveGrain(mode=2)
ColorMatrix("Rec.709->Rec.601",opt=0,hints=false)
SelectRangeEvery(300,15)
===========================================================
[4/3/2006 4:05:15 PM] Duration was: 10 minutes 45 seconds
[4/3/2006 4:05:15 PM] Speed was: 19.73 fps.
[4/3/2006 4:05:15 PM] Compressibility percentage is: 135.78
[4/3/2006 4:05:15 PM] Switching b-frames off
[4/3/2006 4:05:15 PM] Chosen resolution is: 640x272 ( AR: 2.35 )
[4/3/2006 4:05:15 PM] Predicted comptest value is: 101.70%
[4/3/2006 4:05:15 PM] Running first pass.
[4/3/2006 4:05:15 PM] Writing the following script to C:\Output\agk_tmp\DUNE_movie.avs
===========================================================
LoadPlugin("C:\PROGRA~1\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\ColorMatrix.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\RemoveGrain.dll")
movie = mpeg2source("C:\Output\agk_tmp\DUNE.d2v")
cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=10,aspect=0,threshold=34,samplestartframe=0,leftadd=0,rightadd=0,topadd=0,bottomadd=0)
fixed_aspect = 1.18518518518519
c_width = width(cropclip)
c_height = round(height(cropclip) / fixed_aspect)
input_par = float(c_width)/float(c_height)
input_par = (input_par > 1.4) || (input_par < 1.25) ? input_par : (4.0/3.0)
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=34,samplestartframe=0,leftadd=0,rightadd=0,topadd=0,bottomadd=0)
LanczosResize(out_width,out_height)
RemoveGrain(mode=2)
ColorMatrix("Rec.709->Rec.601",opt=0,hints=false)
===========================================================
[4/3/2006 6:20:46 PM] Duration was: 2 hours 15 minutes 30 seconds
[4/3/2006 6:20:46 PM] Speed was: 31.31 fps.
[4/3/2006 6:20:47 PM] Expected quality of first pass size: 98.82%
[4/3/2006 6:20:47 PM] Trying to adjust settings.
[4/3/2006 6:20:47 PM] No adjustment is possible
[4/3/2006 6:20:47 PM] Warning: final AVI will likely be undersized.
[4/3/2006 6:20:47 PM] Running second pass.
[4/3/2006 9:19:44 PM] Duration was: 2 hours 58 minutes 57 seconds
[4/3/2006 9:19:45 PM] Speed was: 23.71 fps.
[4/3/2006 9:19:45 PM] Job finished. Total time: 6 hours 10 minutes 33 seconds
Also here is my hidden options that are set. It is default when I installed it.
http://img95.imageshack.us/img95/3391/autogkhidopt1fp.th.gif (http://img95.imageshack.us/my.php?image=autogkhidopt1fp.gif)
Any help would be appreciated.
Thanks
Eric
jggimi
4th April 2006, 09:04
[4/3/2006 4:05:15 PM] Chosen resolution is: 640x272 ( AR: 2.35 )The 1984 David Lynch production was shot in Todd-AO at 2.35:1. This is wider than your 1.78:1 TV.
Since it looks odd on your TV, you have a playback problem. Adjust your player and/or TV's AR so it no longer looks so funny.
The 2000 mini-series was shot in Univision at 1.78:1 (16:9).
manono
4th April 2006, 13:48
I would guess he has the Movie version, directed by David Lynch, if he got 640x272. You probably shouldn't have chosen a fixed width of 640, as you would have gotten a higher resolution without it.
What player are you using? Please don't say the Philips DVP-642. And what looks so horrible? Is it the Aspect Ratio, as jggimi supposes? So everything looks stretched? Or is it something else?
theclaus
4th April 2006, 18:06
I would guess he has the Movie version, directed by David Lynch, if he got 640x272. You probably shouldn't have chosen a fixed width of 640, as you would have gotten a higher resolution without it.
What player are you using? Please don't say the Philips DVP-642. And what looks so horrible? Is it the Aspect Ratio, as jggimi supposes? So everything looks stretched? Or is it something else?
Here is the one I got.
http://www.amazon.com/gp/product/B0007PAMR4/ref=ase_imdb-adbox/103-2874866-7190232?s=dvd&v=glance&n=130&tagActionCode=imdb-adbox
As for choosing a fixed resolution just felt comfortable knowing that I would get a good resolution out of it than to have AutoGK decide for me.
As for it looking stretched that isn't it. It is that regardless of what pic size I pick on my tv it still has the black bars on the top and bottom.
Also yes I do have a Philips DVP642. I don't really want to start a flame war about that X people say that it is crap and Y people never have issues. It was a player that was DivX certified and has saved me a ton of money from buying my kids dvds over an over again.
The TV I have is a Toshiba 42H83 Projection HDTV.
Any help or advice will be great. If it is that I just live with the black bars then i'll live with it.
BigDid
4th April 2006, 21:54
Hi,
Thanks for the logfile, it gives a lot of infos. IE these 3 lines:
[4/3/2006 4:05:15 PM] Switching b-frames off
[4/3/2006 4:05:15 PM] Chosen resolution is: 640x272 ( AR: 2.35 )
[4/3/2006 4:05:15 PM] Predicted comptest value is: 101.70%
Even with B-frames switched off, the predicted comptest is 101.7% (98.82 after 1st pass) this is kind of wasting and I second Manono suggestion to let AGK decide of the width (should be something like 4 levels up: 688 of 704)
Why? because using the ESS option (and it is the right thing to do) you cannot take advantage of other sharper matrixes AGK uses; so to get more details you need more resolution.
The AR is 2.35 which is why you still have black bars; as reported by jggimi your TV display is 1.78 (aka 16/9) so more than 1.78 will give black bars. You may want to play with your TV zoom to get rid of the bars or, drastic solution, crop horizontally until you are back to 1.78 => I do not recomment it
BTW, how does it looks on your PC screen?
Thanks to report back.
Did
BigDid
4th April 2006, 22:10
... What player are you using? Please don't say the Philips DVP-642 ...
Hi Manono,
This is kind of unfair, you once had that kind of player have'nt you?
Why unfair because it seems nobody made any annoucement in the hardware section regarding the DVP-642 or similar SAP with the ESS chipset; the potential buyer has to search and search and search until he finds enough threads reporting problems for that kind of SAP that he will, eventually, look for another model or brand.
Maybe one of the mods could make a sticky giving some links to threads reporting "potential" problems?
Or make sticky the excellent post made by YT about Stand-alone MPEG-4 (DivX, XviD...) Player Buyers Guide here: http://forum.doom9.org/showthread.php?t=98228
Did
Edited: asked the mods to make the guide sticky in the thread: http://forum.doom9.org/showthread.php?p=809766#post809766
theclaus
4th April 2006, 23:03
Hi,
Thanks for the logfile, it gives a lot of infos. IE these 3 lines:
[4/3/2006 4:05:15 PM] Switching b-frames off
[4/3/2006 4:05:15 PM] Chosen resolution is: 640x272 ( AR: 2.35 )
[4/3/2006 4:05:15 PM] Predicted comptest value is: 101.70%
Even with B-frames switched off, the predicted comptest is 101.7% (98.82 after 1st pass) this is kind of wasting and I second Manono suggestion to let AGK decide of the width (should be something like 4 levels up: 688 of 704)
Why? because using the ESS option (and it is the right thing to do) you cannot take advantage of other sharper matrixes AGK uses; so to get more details you need more resolution.
The AR is 2.35 which is why you still have black bars; as reported by jggimi your TV display is 1.78 (aka 16/9) so more than 1.78 will give black bars. You may want to play with your TV zoom to get rid of the bars or, drastic solution, crop horizontally until you are back to 1.78 => I do not recomment it
BTW, how does it looks on your PC screen?
Thanks to report back.
Did
Thanks Did that explains alot. I think the reason I went choosing my own width was due to prior XviD ecoding(before set top boxes) so i'll definately try the higher resolution.
As for the resolution i'll just deal with it. I have a better understanding now of AR.
Thanks for all your help
manono
5th April 2006, 05:36
Hi-
This is kind of unfair, you once had that kind of player have'nt you?
Nah, never had one, or any player with an ESS chipset. I wouldn't have one if you gave it to me. What I don't understand is that people pay the big bucks for the HDTV, and then scrimp by buying a lousy DVD player:
http://www.hometheaterhifi.com/cgi-bin/shootout.cgi?function=search&articles=all&type=DVD+Player&manufacturer=12&maxprice=0&deInt=0&mpeg=0#PhilipsDVP-642
It's just a crummy flag reader. It also does a lousy PAL to NTSC conversion, which matters for a lot of people. It doesn't have a DVI or HDMI out, which means not as good of a video quality as is possible. I hope that theclaus is at least using component connections. And its deinterlacer isn't even motion adaptive. He's probably better off outputting 480i and letting the TV do the IVTC/deinterlacing.
But if he calls his picture horrible because the 2.35:1 movies have black bars, then I haven't much sympathy for him.
theclaus
5th April 2006, 06:53
manono,
You know perhaps I am not an expert like you in all things video but I just asked a question and I see that the mods here(at least you) are just mean.
I always thought of doom9 as a place for knowledge but basically it has become your bully stomping grounds.
I bought the dvd player for the kids movies. It has served its purpose in that. I was trying out my movies and picked Dune. I never even watched the DVD I just took it out of the package and backed it up and started converting.
Your right I did say the picture was horrible. I should of been more clear. I rarely see movies in 2.35:1 so it was shocking to me. As for my setup I am using components.
manono I suppose you'll ban me or close this thread and delete it out. If so that is a shame because people need to not be afraid to ask questions. I tried searching and didn't key in on ratio(once again I am not a video expert) so that wasn't in my search criteria.
I do thank Did and the others for advice. I'm currently redoing it with auto set and your right it did give a higher resolution.
Thanks
Eric
manono
5th April 2006, 07:58
manono I suppose you'll ban me or close this thread and delete it out.
Nah, not my style. If I dish it out I have to be able to take it, also. You're entitled to your opinion.
BigDid
5th April 2006, 08:32
... Nah, never had one, or any player with an ESS chipset. I wouldn't have one if you gave it to me. What I don't understand is that people pay the big bucks for the HDTV, and then scrimp by buying a lousy DVD player:
My apologies then, I made a confusion. Trying to recall, maybe it was a KISS ? Never mind, not the point. What about the sticky?
I will not throw the first stone because I was very proud of my H&B 3220 and first half the buttons of the remote went dead (humidity maybe) and second I believe due to a major overvoltage some movies just don't start or it stops in the middle jumps, stops again etc... Just changed the SAP but maybe the Philips could have been more robust, who knows :o
Good night
Did
BigDid
5th April 2006, 08:46
... I was trying out my movies and picked Dune. I never even watched the DVD I just took it out of the package and backed it up and started converting.
Your right I did say the picture was horrible...
You lucky guy, I had the original Dune, 16/9 but bad quality, really grainy, audio AC 2ch only, one of the best candidate for FFT3Dfilter with strong parameters, the xvid was better loking than the DVD :)
...I do thank Did and the others for advice. I'm currently redoing it with auto set and your right it did give a higher resolution...
You are welcome, take the time to read different sections and threads and to feel how mods react, it is very instructive (should have done it more myself :o )
Manono and I have a special relationship, we share the same time zone, he in the north, me in the south :D
Regards
Did
laserfan
5th April 2006, 16:32
...I just asked a question and I see that the mods here(at least you) are just mean...Eric, manono doesn't need my help to defend himself but I think you just misunderstood his posts. He's saved my bunions more times than I'd care to admit...
When I saw your first post I didn't have time to respond but I thought "gosh Dune is a 2.35:1 movie, so 640x272 is exactly right, what is he seeing that "looks horrible""...
AutoGK will always auto-crop to the source dimensions, but I suspect (not having tried this myself) that the Override AR in the Hidden Options might be used to achieve a 16x9 ratio for your TV, at the expense of cutting-off the sides. If that doesn't work, you can manually crop the sides (in CTRL-F9 again) to achieve 16x9 (1.77 ratio) and then Preview in AutoGK to see what you think about it.
Some movies are composed to take full advantage of the extreme edges of the film frame, and in others (perhaps some of the newer films) it seems the Director & Editor have home video in mind and don't allow critical image information at the extremes, and can be cropped from 2.35:1 to 1.78:1 with little negative effect on the enjoyment of the program.
I suspect though that Dune might NOT be croppable w/o impacting the understanding of what's going on.
jggimi
5th April 2006, 18:16
...Your right I did say the picture was horrible. I should of been more clear. I rarely see movies in 2.35:1 so it was shocking to me....http://www.widescreen.org/aspect_ratios.shtml
http://www.widescreen.org/widescreen_tv_qa.shtml
CWR03
5th April 2006, 19:53
I suspect though that Dune might NOT be croppable w/o impacting the understanding of what's going on.
This is true, as no one understands the movie Dune to begin with...
I personally never alter or crop a movie from its original aspect, especially with such films as Dune. There's a great deal to be seen that was lost on the VHS version I had for years.
laserfan
5th April 2006, 19:59
...no one understands the movie Dune to begin with...:D :D :D
BigDid
5th April 2006, 21:36
This is true, as no one understands the movie Dune to begin with...
If so, less than no one understood the books from Frank Herbert :eek:
* 1965 : Dune
* 1969 : Dune Messiah
* 1976 : The Children of Dune
* 1981 : God Emperor of Dune
* 1984 : Heretics of Dune
* 1985 : Chapterhouse, Dune
Plus a few others, wikipedia is your friend :)
Did
laserfan
5th April 2006, 23:14
If so, less than no one understood the books from Frank Herbert :eek:BigDid, you're proving your sig! ;) :D
BigDid
6th April 2006, 01:54
@ jggimi, thanks for the links, very interesting.
Would you consider giving support (backing?) to my demand for a sticky? (I am lobbying :) ) here: http://forum.doom9.org/showthread.php?p=809766#post809766
SMD just informed me he would link the buyer's guide in his sticky.
@ Laserfan, which part? Beware, humor or no sense :D
Good day or night everybody.
Did
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.