View Full Version : AR into 3:2
aljoraca
2nd October 2004, 15:16
First, i'm sorry because my english.
Second, thank you Len0x because AutoGK.
hi, i've got some problems in AGK (1.25, 1.53, 1.57, and 1.60) with movies with AR = 3:2
i have some dvd with wrong AR (they say 4:3 but they are 3:2 actually).
So, when i change the AR in the d2v file, i get 3 avi files (cd1, cd2, and cd3) and no 2 avi files (when i select "2 CDs 1400Mb" and the "auto width")
Why??
Any suggestion??
How can i change the wrong AR into 3:2 and end the job with 2 files of 700Mb ("2CDs 1400Mb")??
Or, how can i rezise (not crop) an avi file without re-encode it???
Thanks
musicnyman
2nd October 2004, 15:45
you're using dvd decryptor in iFO mode right? it should detect the movie is 3:2 and not 4:3.
len0x
2nd October 2004, 21:21
Are you doing what FAQ describes in Q 6.10?
I might know what the problem is: you have an NTSC source which is FILM with FF (forced film) option enabled in D2V file. When you substitute d2v file you left it at default 30fps, but AutoGK thinks its already 24fps - that's why oversize occur. You should always let AutoGK reach comp test point, then abort it, copy out D2V file edit AR and then proceed as in FAQ.
aljoraca
3rd October 2004, 01:59
Len0x, thanks
No, I'm not doing what FAQ 6.10 says.
I actually abort the job when AutoGK is encoding the audio, edit the D2V, start it from the beginning, stop the DGIndex, substitute the partial D2V file with the edited one, and close the DGIndex.
that is not wrong, is it?
I do understand what you are suggesting me, but I do not understand why.
if I abort the job after the comp test, then the d2v will not be different from the d2v file got with the "Demuxing and indexing". Am I right??
So, why I have to edit the d2v after the comp test?
Another thing which could be useful is that you are right, the source is a film with FF option enabled in D2V file, but the frame rate in D2V is "=23976"
"Field_Operation=1 (0:None 1:ForcedFILM 2:RawFrames)"
"Frame_Rate=23976"
And if I let AutoGK alone, it makes 2 files of 700Mb (with AR=4:3), if I change the D2V with 16:9 I get 2 files of 700Mb, but if I change the D2V with 3:2 I get 3 files (2 * 700 + 1 * 300 more or less)
what am I doing wrong?
what can I do?
Change the Frame_Rate in the D2V file too?????
manono
3rd October 2004, 09:30
Hi-
Another thing which could be useful is that you are right, the source is a film with FF option enabled in D2V file, but the frame rate in D2V is "=23976"
If you set DGIndex for Force Film, you get 23.976fps. If you set it for None, you keep it at 29.97fps.
And if I let AutoGK alone, it makes 2 files of 700Mb (with AR=4:3), if I change the D2V with 16:9 I get 2 files of 700Mb, but if I change the D2V with 3:2 I get 3 files (2 * 700 + 1 * 300 more or less)
I find this whole thread very confusing. There is no such DAR as 3:2, only 4:3 or 16:9 (in common usage). If both the Stream Info file that DVD Decrypter gives you and DGIndex say it's 4:3, then it's almost certainly 4:3. You get a correct file length when you leave it alone and let AutoGK do its work. So what's the problem? What makes you think it's really 3:2? Because the NTSC DVD is 720x480? Wrong. It hasn't been resized yet. Maybe Doom9's article Aspect Ratios Explained (http://www.doom9.org/aspectratios.htm) will help you to understand.
But your oversize problem isn't because you're changing the DAR anyway, but, as len0x said earlier, because you're changing the framerate. To go from 23.976fps to 29.97fps means you have 25% more frames. You set it for 1.4 GB, but you get 1.7 GB ("more or less"). 1.4 x 1.25 = 1.75 GB.
len0x
3rd October 2004, 11:00
Actually during audio encoding d2v file is already modified, so it should be ok to work with it. Can you post full log of oversized encoding please. I wanna check something.
stephanV
3rd October 2004, 11:57
Originally posted by aljoraca
First, i'm sorry because my english.
Second, thank you Len0x because AutoGK.
hi, i've got some problems in AGK (1.25, 1.53, 1.57, and 1.60) with movies with AR = 3:2
Why do you think the movie is 3:2? I've never seen that AR on a DVD.
aljoraca
5th October 2004, 16:51
Thanks manono and len0x again
First, I'm very bad in English, so forgive me if I'm confusing you.
Second, I'm very sorry because in the previous post I "copy and paste" from a wrong D2V.
Actually the original D2V said:
Frame_Rate=29970
So, len0x was right again. I just changed the AR and not the frame rate.
About the AR, yes, you are right, I've never seen any DVD with AR=3:2 before.
But in this case the movie is not a commercial one. It is of a friend's wedding, and the man who edited the final DVD, resized the movie to fit the TV screen, so we are the thinnest dancer in the world.
Then, the DAR is 4:3 but I think that the real format is 3:2 because it has been taken with a DV camera. So I tried to use that AR to encode it.
I've been thinking that something is wrong with that DVD, so I tried to do the same thing with some commercial 4:3 DVD (like "The Missing", and "xXx") and in both cases I got 3 files 2*700 + 1*300 (like manono said 1.75)
Len0x: if you want those logs too, just ask me.
As Len0x ask me, the full log of oversized encoding: (of the wedding)
[24/09/2004 00:56:31] AutoGK 1.57b
[24/09/2004 00:56:31] OS: WinXP (5.1.2600).2
[24/09/2004 00:56:31] Job started.
[24/09/2004 00:56:31] Input dir: C:\ZVideos\MURIEL WED\VIDEO_TS_IFO
[24/09/2004 00:56:31] Output file: C:\ZVideos\MURIEL WED\MURIEL WED_AGK_3.2\Muriel Wed.avi
[24/09/2004 00:56:31] Audio: English
[24/09/2004 00:56:31] Subtitles: none
[24/09/2004 00:56:31] Codec: DivX
[24/09/2004 00:56:31] Target size: 1400Mb
[24/09/2004 00:56:31] Custom resolution settings: minimum width of 640 pixels
[24/09/2004 00:56:31] Custom audio settings: VBR MP3 with average bitrate: 128Kbps
[24/09/2004 00:56:31] Started encoding.
[24/09/2004 00:56:31] Demuxing and indexing.
[24/09/2004 00:58:11] Processing file: C:\ZVideos\MURIEL WED\VIDEO_TS_IFO\VTS_02_PGC_01_1.VOB
[24/09/2004 00:58:11] Source aspect ratio: 3:2
[24/09/2004 00:58:11] Source resolution: 720x480
[24/09/2004 00:58:11] Found NTSC source.
[24/09/2004 00:58:11] Found 142866 frames
[24/09/2004 00:58:11] Encoding audio.
[24/09/2004 01:16:40] Audio size: 117,351,200 bytes (111.91 Mb)
[24/09/2004 01:16:40] Overhead: 9,217,920 bytes (8.79 Mb)
[24/09/2004 01:16:40] Video size: 1,341,437,280 bytes (1279.29 Mb)
[24/09/2004 01:16:40] Target bitrate is: 1801kbps
[24/09/2004 01:16:40] Running compressibility test.
[24/09/2004 01:16:40] Writing the following script to C:\ZVideos\MURIEL WED\MURIEL WED_AGK_3.2\agk_tmp\Muriel Wed_comptest.avs
===========================================================
LoadPlugin("C:\ARCHIV~1\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\ARCHIV~1\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\ARCHIV~1\AutoGK\filters\undot.dll")
movie = mpeg2source("C:\ZVideos\MURIEL WED\MURIEL WED_AGK_3.2\agk_tmp\Muriel Wed.d2v")
cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=10,aspect=0,threshold=34,samplestartframe=0)
fixed_aspect = 1
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 : (4.0/3.0)
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=34,samplestartframe=0)
Undot()
LanczosResize(out_width,out_height)
SelectRangeEvery(280,14)
===========================================================
[24/09/2004 01:24:26] Duration was: 7 minutes 43 seconds
[24/09/2004 01:24:27] Speed was: 15,41 fps.
[24/09/2004 01:24:28] Compressibility percentage is: 49,08
[24/09/2004 01:24:28] Using softer resizer.
[24/09/2004 01:24:28] Chosen resolution is: 640x432 ( AR: 1,48 )
[24/09/2004 01:24:28] Predicted comptest value is: 61,69
[24/09/2004 01:24:28] Running first pass.
[24/09/2004 01:24:28] Writing the following script to C:\ZVideos\MURIEL WED\MURIEL WED_AGK_3.2\agk_tmp\Muriel Wed_movie.avs
===========================================================
LoadPlugin("C:\ARCHIV~1\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\ARCHIV~1\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\ARCHIV~1\AutoGK\filters\undot.dll")
movie = mpeg2source("C:\ZVideos\MURIEL WED\MURIEL WED_AGK_3.2\agk_tmp\Muriel Wed.d2v")
cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=10,aspect=0,threshold=34,samplestartframe=0)
fixed_aspect = 1
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 : (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)
Undot()
BicubicResize(out_width,out_height,0,0.5)
===========================================================
[24/09/2004 03:14:00] Duration was: 1 hour, 49 minutes 28 seconds
[24/09/2004 03:14:00] Speed was: 21,75 fps.
[24/09/2004 03:14:00] Running second pass.
[24/09/2004 04:52:35] Duration was: 1 hour, 38 minutes 34 seconds
[24/09/2004 04:52:35] Speed was: 24,16 fps.
[24/09/2004 04:52:36] Splitting video into: C:\ZVideos\MURIEL WED\MURIEL WED_AGK_3.2\Muriel Wed.cd1.avi
[24/09/2004 04:54:07] Splitting video into: C:\ZVideos\MURIEL WED\MURIEL WED_AGK_3.2\Muriel Wed.cd2.avi
[24/09/2004 04:55:40] Splitting video into: C:\ZVideos\MURIEL WED\MURIEL WED_AGK_3.2\Muriel Wed.cd3.avi
[24/09/2004 04:56:22] Job finished.
len0x
5th October 2004, 17:57
Originally posted by aljoraca
So, len0x was right again. I just changed the AR and not the frame rate.
I always right :)
So basically as I said - wait until comptest is started. Abort and take D2V file from there (it should have fps as _23.976_ and _Field_Operation=1_). Just modify the AR and then start encoding again as described in FAQ Q 6.10.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.