View Full Version : Converting *.IFO+VOBs to AVI creates 80 pixel height movie?
mike23
22nd April 2009, 07:33
I have a DVD rip in a VIDEO_TS folder on my hard disc.
The video on my hard disc can be watched successfully and the VOBs have dimensions 720 x 576 (as shown in GSpot or MediaInfo).
Fine. Now I want to convert them to an *avi file with AGK
2.55. Much to my surprise the created output has (always) a height of 80 pixel (and width = 720)!!
Why?
I selected as often recommended the *.IFO file as input file.
The custom size is set to 1400 MB (curious: the resulting file is only 317 MB). The output resolution settings are set either to "Auto width" or "Fixed width = 720". Output audio=128 CBR MP3 and Codec either Xvid or Divx.
So I tried a couple of possible combinations.
But the result is always 80 pixels height.
What's wrong?
How can I force AGK to create a 576 height movie?
BigDid
22nd April 2009, 08:04
Hi,
Can you post your logfile?
Thanks
Did
mike23
22nd April 2009, 09:45
Where can I find the logfile?
BigDid
22nd April 2009, 18:46
Hi,
Working directory of your film, name being yourfilm_agk.log
Did
mike23
23rd April 2009, 00:13
[21.04.2009 19:17:18] AutoGK 2.55
[21.04.2009 19:17:18] OS: WinXP (5.1.2600).2
[21.04.2009 19:17:18] Job started.
[21.04.2009 19:17:18] Input file: D:\movies\VIDEO_TS\VTS_02_0.IFO
[21.04.2009 19:17:18] Output file: D:\movies\VIDEO_TS\toCheck1neu.avi
[21.04.2009 19:17:18] Output codec: DivX
[21.04.2009 19:17:18] Audio 1: Deutsch AC3 6ch
[21.04.2009 19:17:18] Subtitles: none
[21.04.2009 19:17:18] Format: AVI
[21.04.2009 19:17:18] Target size: 1400Mb
[21.04.2009 19:17:18] Custom resolution settings: fixed width of 720 pixels
[21.04.2009 19:17:18] Audio 1 settings: CBR MP3 with bitrate: 128Kbps
[21.04.2009 19:17:18] Started encoding.
[21.04.2009 19:17:18] Demuxing and indexing.
[21.04.2009 19:19:22] Processing file: D:\movies\VIDEO_TS\VTS_02_1.VOB
[21.04.2009 19:19:22] Processing file: D:\movies\VIDEO_TS\VTS_02_2.VOB
[21.04.2009 19:19:22] Processing file: D:\movies\VIDEO_TS\VTS_02_3.VOB
[21.04.2009 19:19:22] Processing file: D:\movies\VIDEO_TS\VTS_02_4.VOB
[21.04.2009 19:19:22] Source resolution: 720x480
[21.04.2009 19:19:22] Found NTSC source.
[21.04.2009 19:19:22] Source aspect ratio: 16:9
[21.04.2009 19:19:22] Analyzing source.
[21.04.2009 19:22:20] Source has percentage of interlacing in motion areas: 0,03
[21.04.2009 19:22:20] Source has percentage of telecined patterns: 0,00
[21.04.2009 19:22:20] Source has percentage of progressive patterns: 100,00
[21.04.2009 19:22:20] Source has percentage of interlaced patterns: 0,00
[21.04.2009 19:22:20] Source is considered to be progressive.
[21.04.2009 19:22:20] Output will contain 131143 frames
[21.04.2009 19:22:20] Decoding audio.
[21.04.2009 19:24:57] Normalizing audio.
[21.04.2009 19:25:34] Encoding audio.
[21.04.2009 19:42:59] Audio1 size: 83,931,264 bytes (80.04 Mb)
[21.04.2009 19:43:09] Overhead: 4,773,376 bytes (4.55 Mb)
[21.04.2009 19:43:09] Video size: 1,379,301,760 bytes (1315.40 Mb)
[21.04.2009 19:43:09] Target bitrate is: 2522kbps
[21.04.2009 19:43:09] Running compressibility test.
[21.04.2009 19:43:09] Writing the following script to D:\movies\VIDEO_TS\agk_tmp\toCheck1neu_comptest.avs
===========================================================
LoadPlugin("D:\AUDIOV~1\VIDEOT~1\AVIs\AUTOGO~1\V25B8F~1.55F\DGMPGDec\DGDecode.dll")
LoadPlugin("D:\AUDIOV~1\VIDEOT~1\AVIs\AUTOGO~1\V25B8F~1.55F\filters\autocrop.dll")
LoadPlugin("D:\AUDIOV~1\VIDEOT~1\AVIs\AUTOGO~1\V25B8F~1.55F\filters\RemoveGrainSSE3.dll")
movie = mpeg2source("D:\movies\VIDEO_TS\agk_tmp\toCheck1neu.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 = 720
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)
SelectRangeEvery(280,14)
===========================================================
[21.04.2009 19:46:23] Duration was: 3 minutes 13 seconds
[21.04.2009 19:46:23] Speed was: 33,91 fps.
[21.04.2009 19:46:23] Compressibility percentage is: 591,33
[21.04.2009 19:46:23] Switching b-frames off
[21.04.2009 19:46:23] Chosen resolution is: 720x80 ( AR: 9,00 )
[21.04.2009 19:46:23] Predicted comptest value is: 491,98%
[21.04.2009 19:46:23] Running first pass.
[21.04.2009 19:46:23] Writing the following script to D:\movies\VIDEO_TS\agk_tmp\toCheck1neu_movie.avs
===========================================================
LoadPlugin("D:\AUDIOV~1\VIDEOT~1\AVIs\AUTOGO~1\V25B8F~1.55F\DGMPGDec\DGDecode.dll")
LoadPlugin("D:\AUDIOV~1\VIDEOT~1\AVIs\AUTOGO~1\V25B8F~1.55F\filters\autocrop.dll")
LoadPlugin("D:\AUDIOV~1\VIDEOT~1\AVIs\AUTOGO~1\V25B8F~1.55F\filters\RemoveGrainSSE3.dll")
movie = mpeg2source("D:\movies\VIDEO_TS\agk_tmp\toCheck1neu.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 = 720
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)
===========================================================
[21.04.2009 20:21:15] Duration was: 34 minutes 51 seconds
[21.04.2009 20:21:15] Speed was: 62,70 fps.
[21.04.2009 20:21:15] Running second pass.
[21.04.2009 21:13:12] Duration was: 51 minutes 50 seconds
[21.04.2009 21:13:12] Speed was: 42,17 fps.
[21.04.2009 21:13:12] No splitting required
[21.04.2009 21:13:12] Job finished. Total time: 1 hour, 55 minutes 53 seconds
BigDid
23rd April 2009, 00:48
Thanks,
1/ We have:
[21.04.2009 19:19:22] Source resolution: 720x480
but
[21.04.2009 19:46:23] Chosen resolution is: 720x80 ( AR: 9,00 )
Verify if the hidden options are messed up?
See if the very beginning of the movie has the same AR/DAR than the movie? if not you can tune the "starting frame for autocrop" after a weird intro...
Another thing I can think about is choose the:
VTS_02_1.VOB
instead of the
VTS_02_0.IFO
One last possibility, see FAQ and tutorial to NOT-crop or manually crop (hidden options, tricky) your movie.
2/ Not related to your problem but for a better encoding management:
[21.04.2009 19:17:18] Audio 1 settings: CBR MP3 with bitrate: 128Kbps
[21.04.2009 19:42:59] Audio1 size: 83,931,264 bytes (80.04 Mb) and
[21.04.2009 19:43:09] Video size: 1,379,301,760 bytes (1315.40 Mb)
The audio size is really tiny (could I dare ridiculous?) compared to the video size.
You could enhance your audio using 176 VBR/Mp3 or 192 CBR-mp3 audio without really hurting your video quality...
3/ Concerning your 317Mb undersized movie, I believe it is related to your squizzie AR/DAR height. If you can get it right you will get a normal video size (even if a little undersized).
Did
mike23
23rd April 2009, 08:00
1/ We have:
[21.04.2009 19:19:22] Source resolution: 720x480
but
[21.04.2009 19:46:23] Chosen resolution is: 720x80 ( AR: 9,00 )
Verify if the hidden options are messed up?
See if the very beginning of the movie has the same AR/DAR than the movie? if not you can tune the "starting frame for autocrop" after a weird intro...
Another thing I can think about is choose the:
VTS_02_1.VOB
instead of the
VTS_02_0.IFO
One last possibility, see FAQ and tutorial to NOT-crop or manually crop (hidden options, tricky) your movie.
Thank you BigDid,
but this leads to questions:
1.) How do I verify that "hidden options are messed up?"
Do you mean hidden options of AGK or the *.VOBs?
2.) The beginning of the movie seems to have the same AR/DAR than the movie. Maybe the very first frame could have a different AR/ADR for a millisecond.
How could I achieve "tune the "starting frame for autocrop" after a weird intro" ?
3.) How do I "manually crop (hidden options, tricky) your movie" ?
4.) When I would choose
VTS_02_1.VOB
instead of the
VTS_02_0.IFO
then VTS_02_2.VOB and VTS_02_3.VOB are NOT (automatically) encoded.
So this is not a solution.
5.) Why not introducing in AGK an option "force height to be equal to=.....(entry field)" similar to width setup?
That would be the perfect, smartest solution
Mike
BigDid
23rd April 2009, 19:47
Thank you BigDid,
1.) How do I verify that "hidden options are messed up?"
Do you mean hidden options of AGK or the *.VOBs?
...
4.) When I would choose
VTS_02_1.VOB
instead of the
VTS_02_0.IFO
then VTS_02_2.VOB and VTS_02_3.VOB are NOT (automatically) encoded.
Hi,
For the 4.) it should load the sets of vobs not only the 1st one, so something is wrong.
At this point better uninstall autogk and reinstall to start with good bases and be sure all is ok in AGK hidden options (load a source and type Ctrl+F9)
Then proceed as usual and see if it solves your problem.
2.) The beginning of the movie seems to have the same AR/DAR than the movie. Maybe the very first frame could have a different AR/ADR for a millisecond.
How could I achieve "tune the "starting frame for autocrop" after a weird intro" ?
3.) How do I "manually crop (hidden options, tricky) your movie" ?
I insist on de-install reinstall first before trying anything else !
Point 2. and 3.) are covered in the tutorial which I have indicated in my last post:
One last possibility, see FAQ and tutorial to NOT-crop or manually crop (hidden options, tricky) your movie
I don't know which part was not clear so I will make a last attempt by quoting directly the FAQ and tutorial
Hidden options:
5.7.1 I cannot set the hidden options with Ctrl/F9
- You need to have a video loaded (in the « Input file » box) for this to work
5.7.2 I have the hidden options panel open, now what?
- Use the tutorial at the « HIDDEN OPTIONS » paragraph http://www.autogk.me.uk/modules.php?name=TutorialEN
Unisntall-reinstall:
.3.1 I used Xvid 1.x rev and I installed Xvid 1.y rev (or codec pack) on top of it, I have problems like undersized/oversized etc...
- same as in FAQ 6.3: do a clean uninstall by de-installing the Xvid 1.x codec(or codec pack) and verifying there is no trace in the registry. When done, make a clean install of the Xvid 1.y and absolutely no codec pack if you want to be safe.
- If no luck for a codec pack removal, clean uninstall AutoGK and Codec(s), make a clean re-install of AGK and the Xvid or Divx codec only; nothing more, nothing less
From the tutorial, hidden options:
- Sometimes auto crop used with default parameters by AutoGK cannot totally remove black bars or removes too much of a movie material. In this case "Tune auto crop parameters" is very handy. Threshold defines how sensitive auto crop will be: the higher the value the more cropping will be done. To completely disable audio crop you can set threshold to 0. "Number of frames to examine" is useful parameter to change if movie is a mixture of full screen/wide screen shots, so by selecting different frames that auto crop examines you can improve cropping process. "Starting frame" can help auto crop in situation when you have a full screen logo as a part of widescreen movie, in which case autocrop might decide that the whole source is full screen. By selecting a different starting frames you force auto crop not to examine irrelevant starting movie sequence. "Force cropping" option allows you to crop additional pixels after autocrop operation (if you find that you need to always crop several more pixels you can use this option). If you disable autocrop with threshold 0 then "force cropping" option becomes fully manual crop. Remember always to check how movie looks like after you set new auto crop parameters using Preview function of AutoGK.
Did
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.