Log in

View Full Version : autogk - bad aspect ratio + no subs


catflap001
4th August 2007, 09:50
hi. i've been using autogk and dvd decrypter for more than a few years and this is the only dvd i've had this problem with. i looked through the faq and guides listing but i didn't see anything about this problem.

i ripped a dvd with dvd decrypter without any errors and loaded it into autogk 2.40. it has only 1 language and i chose the subs i wanted hard coded.

i chose xvid avi, auto AR and VBR mp3 128 audio and 1CD setting. these are the settings i always use (except for the subs which i hardly ever use, but need to this time because the audio isn't english).

the problem is the AR came out wrong and the subs were nowhere at all. i also played the raw dvd video file and that also was bad AR and no subs.

so i ripped it again but with ripit4me1550. this time the AR was right and the subs were there when i played the raw files in mediaplayer.

but again, when i put it in autogk the AR is wrong and no subs. i didn't encode it - i only checked it with the preview function in autogk.

i don't know how to fix it so everything comes out right.

i tried this film last year and had the same problem but couldn't figure out a way to fix it.

thanks for any help.

manono
4th August 2007, 14:26
Hello, and welcome to the forum,
i also played the raw dvd video file and that also was bad AR and no subs.
Then the video was encoded for one DAR (probably 4:3) and the IFOs were set for the other (16:9 probably), and since a DVD player gets the DAR from the IFOs, it plays fine as a DVD. Programs like AutoGK (DGIndex, really) get their DAR from the VOBs, so you wound up with distorted looking video. Time to go into the Hidden Options (CTRL-F9) and "Override Input AR" You'll have to figure what it's being seen as first, unless you already know. Open a VOB in DGIndex and run the Preview. The top of the Information screen will tell you. Then set it for the other one in the Hidden Options.

As for the subs, I'm not sure. Posting the log might help. Opening the VOBs in DVDSubEdit will show you all the available sub streams. Use the drop-down box in the upper right corner, Subpic selection->All Streams to choose each sub stream one-by-one and scroll around to see which you really want. Then use that one in AutoGK. That's one way to locate them. Unless you did something stupid like checking the Forced Subs box when you shouldn't have. Like I said, if you can't figure it out, a log might help us out.

catflap001
4th August 2007, 16:47
hi manono.

thanks. i'll try it again this weekend and come back with my results.

i didn't check forced subs or external subs. i did check the english subs in the dropdown list, and used the arrows to put it on top of the list. so i thought they would have at least been hard coded even on the bad AR version, but they weren't.

nullstuff
4th August 2007, 17:43
...try to extract subs with DVDSubEdit (in .SUP format) then convert them with SubtitleCreator (in .IDX/.SUB format) and import them in AutoGK via CTRL+F8.

-- nullstuff

ricardo.santos
4th August 2007, 20:01
no need for dvdsubedit, VSRip does extract to idx in one step without OCR,

catflap001
13th September 2007, 21:59
ok, sorry i had my pc repaired and finally got around to trying this again.

i used the vsrip to rip the subs. that worked fine.

i loaded them with the ctrl+f8.

about the AR problem. i still have the problem. the dgindex shows it's 16:9, so i'm confused about which to choose in the hidden controls. i've tried several combinations of override, not override, with and without 16:9, 4:3 and original, but i still can't get the right AR.

and i want to have burnt in subs, but according to the agk tutorial, that's only possible if i check and use a sub track listed - not an external sub track like the one i made with vsrip.

also, the most recent encode i made, i checked as a predefined size of 700MB(1 disc) but it came out as 500MB. and there were no subs embedded and the AR was wrong.

and the preview also shows the wrong AR and no subs.

so i need to know the correct settings in the hidden controls and advanced controls for AR, embedded subs and file size because something is really wrong. this is the only film i've ever had a problem with. and it's going on a couple of years now that i've been on and off this thing.

manono
14th September 2007, 02:28
Hi-
i've tried several combinations of override, not override, with and without 16:9, 4:3 and original, but i still can't get the right AR.
Here's one way to figure it out. Load a VOB into VDubMod, right-click the screen, change back and forth between 4:3 and 16:9 and scroll around. Whichever looks "normal" is the one.

The DVD itself does play with proper AR, doesn't it? Then it has to be either 4:3 or 16:9. There are no other choices.
and i want to have burnt in subs, but according to the agk tutorial, that's only possible if i check and use a sub track listed - not an external sub track like the one i made with vsrip.

That was written before the CTRL-F8 trick became available.
also, the most recent encode i made, i checked as a predefined size of 700MB(1 disc) but it came out as 500MB. and there were no subs embedded and the AR was wrong.

Gee, all kinds of problems, eh? Could be lots of things, and as mentioned before, a log might be helpful. The undersized issue sometimes comes from having installed a newer version of XviD over an already existing version, without first uninstalling the older version.

About the subs; are they good? Rename the subs the same as the AVI that has no subs (Movie.avi, Movie.idx, Movie.sub), and play the subless AVI. If you have DirectVobSub installed, and if the curved green arrow appears in the sys tray when you start up the movie, and if the subs are good, then you should see the movie with the subs playing externally.

Here's a guide for getting the external subs into the AVI (do not tick the External Subs button in AGK, do nothing with subs anywhere else in the GUI):

http://forum.videohelp.com/topic316471.html?sid=8ef61fdfca10ab9258c8072d2e164d04

catflap001
14th September 2007, 05:30
thanks manono. i'll try these tips over the weekend. i'm so fed up i always dread loading this film into the pc to have another go.

i'll try to remember about the log. :confused: i did look at it and it said the subs were loaded and the AR was 16:9. i might have recently installed a newer koepi version of xvid, but i thought it was compatible with agk because i've encoded other things with it. so which version should i use?

manono
14th September 2007, 15:07
As far as I know, the XviD version should be good. The important thing is to uninstall the older version first. I'd suggest going into Add/Remove Programs to uninstall your current XviD, and then install it again. This is no guarantee that's the problem with the undersized result, but for other possible suggestions we'd have to see a log.

catflap001
16th September 2007, 22:21
ok, i just tried it twice and here are the logs. i only did the preview with these settings. i didn't do a full encoding process.

the first time, i didn't change any of the AR settings in the Ctrl+9 menu. it was set for 16:9.

log 1:

[9/16/2007 10:49:08 PM] AutoGK 2.40
[9/16/2007 10:49:08 PM] OS: WinXP (5.1.2600).2
[9/16/2007 10:49:08 PM] Job started.
[9/16/2007 10:49:08 PM] Indexing input for preview.
[9/16/2007 10:52:08 PM] Processing file: E:\Videos\Anna Göldin\VTS_02_1.VOB
[9/16/2007 10:52:08 PM] Processing file: E:\Videos\Anna Göldin\VTS_02_2.VOB
[9/16/2007 10:52:08 PM] Processing file: E:\Videos\Anna Göldin\VTS_02_3.VOB
[9/16/2007 10:52:08 PM] Processing file: E:\Videos\Anna Göldin\VTS_02_4.VOB
[9/16/2007 10:52:08 PM] Processing file: E:\Videos\Anna Göldin\VTS_02_5.VOB
[9/16/2007 10:52:08 PM] Processing file: E:\Videos\Anna Göldin\VTS_02_6.VOB
[9/16/2007 10:52:08 PM] Processing file: E:\Videos\Anna Göldin\VTS_02_7.VOB
[9/16/2007 10:52:08 PM] Source resolution: 720x576
[9/16/2007 10:52:08 PM] Found PAL source.
[9/16/2007 10:52:08 PM] Source aspect ratio: 16:9
[9/16/2007 10:52:08 PM] Color correction enabled.
[9/16/2007 10:52:08 PM] Output will contain 157351 frames
[9/16/2007 10:52:08 PM] Preparing subtitles for preview.
[9/16/2007 10:54:53 PM] Job finished. Total time: 5 minutes 45 seconds
====================================================

the result was bad AR. also, in the preview the subs did not show, although you can see that agk prepared them.

log 2:

in this second try - again only in preview mode - i changed the ctrl+9 menu AR settings to "override" and "original".

the result was a better AR, but only 4:3 and not 16:9 as it should be. i know it should be 16:9 because that's how it plays on my dvd player and also that's what the dgindex identifies it to be.

and still the subs didn't show in the preview.

[9/16/2007 11:00:56 PM] AutoGK 2.40
[9/16/2007 11:00:56 PM] OS: WinXP (5.1.2600).2
[9/16/2007 11:00:56 PM] Job started.
[9/16/2007 11:00:56 PM] Indexing input for preview.
[9/16/2007 11:04:05 PM] Processing file: E:\Videos\Anna Göldin\VTS_02_1.VOB
[9/16/2007 11:04:05 PM] Processing file: E:\Videos\Anna Göldin\VTS_02_2.VOB
[9/16/2007 11:04:05 PM] Processing file: E:\Videos\Anna Göldin\VTS_02_3.VOB
[9/16/2007 11:04:05 PM] Processing file: E:\Videos\Anna Göldin\VTS_02_4.VOB
[9/16/2007 11:04:05 PM] Processing file: E:\Videos\Anna Göldin\VTS_02_5.VOB
[9/16/2007 11:04:05 PM] Processing file: E:\Videos\Anna Göldin\VTS_02_6.VOB
[9/16/2007 11:04:05 PM] Processing file: E:\Videos\Anna Göldin\VTS_02_7.VOB
[9/16/2007 11:04:05 PM] Source resolution: 720x576
[9/16/2007 11:04:05 PM] Found PAL source.
[9/16/2007 11:04:05 PM] Source aspect ratio: 16:9
[9/16/2007 11:04:05 PM] Manual aspect ratio: Original
[9/16/2007 11:04:05 PM] Color correction enabled.
[9/16/2007 11:04:05 PM] Output will contain 157351 frames
[9/16/2007 11:04:05 PM] Preparing subtitles for preview.
[9/16/2007 11:06:51 PM] Job finished. Total time: 5 minutes 55 seconds
====================================================
i have no idea what's wrong. i uninstalled all xvid codecs and reinstalled the current koepi version. i made sure there were no other xvid codecs installed.

manono
17th September 2007, 02:46
Hi-

You like really obscure movies, eh? :)

About the bad AR, is there a place where you can upload a small (10 second or so) section of the unprocessed video? If there's a witch, maybe you can find a place where there's a full moon (or a sun or something else round, or people). Open a VOB in DGIndex, use the [ and ] buttons to isolate a small piece, and File->Save Project and Demux Video.

About the subs, you didn't say if they play externally with the video, so maybe there's something wrong with them. Please open the IDX in Notepad and scroll down to the timestamps and see if the times correspond to the place in the movie where they're supposed to be. I'm thinking that maybe the timestamps are happening after the movie is already over, and you don't get any subs. Also, you can open the IDX in SubtitleCreator (or SubResynch, comes included with VobSub) and read the dialog if the subs are good.

catflap001
17th September 2007, 03:50
ok, here's a link to a clip:
http://download.yousendit.com/321CF4BC4709AA50
the AR looks like 4:3 and although it isn't squashed, it should be 16:9.
so for some unknown reason the sides are cut off.

and here's the idx file:
http://download.yousendit.com/A00CC8D62E46F3F8

sorry, i couldn't attach it here.

the way i ripped the dvd this time is with dvd decrypter in IFO mode. the other time i did it in File mode. either way, the subs should have been embedded in the vobs as agk does list them in the sub track box. so when i ripped it there wasn't a separate sub file.

just to let you know, i labeled this yousendit file as "english". but i don't think it matters what i call it if i use it as an external sub in agk. either way, i'd rather use the embedded sub that's listed in agk and not an external file.

i've done a couple of other hardcoded subs in the past (a year ago) and ripped them in IFO mode and didn't have a problem. i can't understand why this film is such a headache.

these subs i have i ripped later with vsrip. i'm having a little trouble with vobsub. i had deactivated it because it kept loading when i didn't need it and was playing havoc with my wmplayer11. when vobsub was running the wmplayer wouldn't play even half the xvids i have and i couldn't take any screenshots. once i deactivated vobsub it played my files and i could take screenshots.

i don't know what i should do with the resynch app. to me the subs look ok, but i don't have really much experience with subs so i don't know what to look for.

manono
17th September 2007, 07:11
Hi-

Strange DVD. It's 4:3 and not 16:9, as you said, or at least suspected. The subs look OK, but if you open VOBs, you don't get subs at all. You only get them by opening IFOs in AutoGK. Here are my suggestions:

Do a manual crop of the video, and override the 16:9 input DAR. Here's the section of the tutorial that deals with the Hidden Options:

http://www.autogk.me.uk/modules.php?name=TutorialEN#6

Disable the Autocrop by setting the Threshhold to zero. Then fill in these numbers in the "Force Cropping Of" going Left, Top, Right, Bottom: 26, 48, 8, 48. Also, check "Override Input AR" and tick 4:3 instead of the 16:9 that should be there at the moment. If the crop values are different in other parts of the movie, this will leave you with both missing video and extra black in those parts. If true, the only way to do it right is by encoding manually, and specifying the crop/resize for each part, dividing the movie up using the Trim command. If you have the same amount of black throughout the movie, this will get rid of it, without chopping off any video. I haven't see a log, so I don't know what resolution you're using. There may be some aspect error, depending on the resolution, but not enough to worry about. Also, just to the right near the bottom of the Hidden Options screen, uncheck the box with "Detect And Force 4:3 AR If Close To That Aspect".

By the way, the final AR of this film is about 1.56:1. There are no movies made with that AR. Whoever made this DVD cropped from somewhere to achieve that AR. You already have missing picture. You want to keep from losing even more. I suspect your missing video problem is caused by the default checked "Detect And Force 4:3 AR If Close To That Aspect". It's turning your 1.56:1 movie into a 1.33:1 movie by chopping from the sides. You could just uncheck that box, override the AR by setting it for 4:3, and forget about doing the cropping yourself.

As for the subs, they look OK based solely on the IDX. The subs need both the IDX and the SUB to be complete, though. Since you have the subs in IDX/SUB format already, I might suggest that, after opening the movie in AutoGK, you hit CTRL-F8 and load your IDX. Then do nothing else in any screen having to do with subs. That will burn your subs into the movie. I hope.

Good luck.

catflap001
17th September 2007, 08:15
ok thanks. i'll take another stab at it with these tips later.

i'll let you know what's what. :)

catflap001
17th September 2007, 17:57
ok, i'm really pissed off right now. i can get a good AR, even though it's not 16:9 as dgindex says it is. but i just can't get the subs to play in the preview and i don't want to waste time encoding until i know the subs will be there. no matter what i do - if i use the external subs or check the sub track in the box - they won't show in the preview. when i load the idx file, the description of the task says "No subtitles" and the log doesn't show processing of subtitles.

as a test i tried a 3min clip from a dvd extra on a different dvd. i was able to preview the file with the subs i checked in the sub track box.

but there were two or three things that went wrong. i set it for 20MB and it came out at 12MB.

only the top line of subs was showing. i'm not sure if and lower lines of subs was encoded.

here's the log file for my test clip:

[9/17/2007 6:31:40 PM] AutoGK 2.40
[9/17/2007 6:31:40 PM] OS: WinXP (5.1.2600).2
[9/17/2007 6:31:40 PM] Job started.
[9/17/2007 6:31:40 PM] Input file: E:\Videos\archer\VTS_05_0.IFO
[9/17/2007 6:31:40 PM] Output file: E:\Videos\archer\archer.avi
[9/17/2007 6:31:40 PM] Output codec: XviD
[9/17/2007 6:31:40 PM] Audio 1: English AC3 2ch
[9/17/2007 6:31:40 PM] Subtitles 1: English : Wide/Letterbox
[9/17/2007 6:31:40 PM] Format: AVI
[9/17/2007 6:31:40 PM] Target size: 20Mb
[9/17/2007 6:31:40 PM] Audio 1 settings: VBR MP3 with average bitrate: 128Kbps
[9/17/2007 6:31:40 PM] Standalone support enabled: MTK/Sigma
[9/17/2007 6:31:40 PM] Started encoding.
[9/17/2007 6:31:40 PM] Demuxing and indexing.
[9/17/2007 6:31:42 PM] Processing file: E:\Videos\archer\VTS_05_1.VOB
[9/17/2007 6:31:42 PM] Source resolution: 720x576
[9/17/2007 6:31:42 PM] Found PAL source.
[9/17/2007 6:31:42 PM] Source aspect ratio: 16:9
[9/17/2007 6:31:42 PM] Color correction enabled.
[9/17/2007 6:31:42 PM] Analyzing source.
[9/17/2007 6:32:14 PM] Source has percentage of interlacing in motion areas: 0.00
[9/17/2007 6:32:14 PM] Source is considered to be progressive.
[9/17/2007 6:32:14 PM] Output will contain 4961 frames
[9/17/2007 6:32:14 PM] Decoding audio.
[9/17/2007 6:32:18 PM] Normalizing audio.
[9/17/2007 6:32:20 PM] Encoding audio.
[9/17/2007 6:32:48 PM] Preparing subtitles.
[9/17/2007 6:32:49 PM] Audio1 size: 2,598,960 bytes (2.48 Mb)
[9/17/2007 6:32:49 PM] Overhead: 198,400 bytes (0.19 Mb)
[9/17/2007 6:32:49 PM] Video size: 18,174,160 bytes (17.33 Mb)
[9/17/2007 6:32:49 PM] Running compressibility test.
[9/17/2007 6:32:49 PM] Writing the following script to E:\Videos\archer\agk_tmp\archer_comptest.avs
===========================================================
LoadPlugin("C:\PROGRA~1\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\vsfilter.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\ColorMatrix.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\RemoveGrainSSE3.dll")

movie = mpeg2source("E:\Videos\archer\agk_tmp\archer.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.42222222222222
c_width = width(cropclip)
c_height = round(height(cropclip) / fixed_aspect)
input_par = float(c_width)/float(c_height)
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)
VobSub("E:\Videos\archer\agk_tmp\archer.idx")
SelectRangeEvery(37,15)
===========================================================
[9/17/2007 6:33:56 PM] Duration was: 1 minute, 6 seconds
[9/17/2007 6:33:56 PM] Speed was: 30.47 fps.
[9/17/2007 6:33:56 PM] Compressibility percentage is: 83.26
[9/17/2007 6:33:56 PM] Chosen resolution is: 688x416 ( AR: 1.65 )
[9/17/2007 6:33:56 PM] Predicted comptest value is: 71.49%
[9/17/2007 6:33:56 PM] Running first pass.
[9/17/2007 6:33:56 PM] Writing the following script to E:\Videos\archer\agk_tmp\archer_movie.avs
===========================================================
LoadPlugin("C:\PROGRA~1\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\vsfilter.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\ColorMatrix.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\RemoveGrainSSE3.dll")

movie = mpeg2source("E:\Videos\archer\agk_tmp\archer.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.42222222222222
c_width = width(cropclip)
c_height = round(height(cropclip) / fixed_aspect)
input_par = float(c_width)/float(c_height)
out_width = 688
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)
VobSub("E:\Videos\archer\agk_tmp\archer.idx")
===========================================================
[9/17/2007 6:36:02 PM] Duration was: 2 minutes 5 seconds
[9/17/2007 6:36:02 PM] Speed was: 39.52 fps.
[9/17/2007 6:36:02 PM] Expected quality of first pass size: 67.91%
[9/17/2007 6:36:02 PM] Running second pass.
[9/17/2007 6:38:30 PM] Duration was: 2 minutes 28 seconds
[9/17/2007 6:38:30 PM] Speed was: 33.45 fps.
[9/17/2007 6:38:30 PM] Job finished. Total time: 6 minutes 50 seconds

earlier, i had enabled vobsub to always load in case that was the problem with the anna file. so this time when i loaded the clip into wmplayer11 it wouldn't play with vobsub running. but if i turned off vobsub it would play in wmp11.

otherwise i could play it in wmp6.4 or wmp alternative or vlc or any other player. but like i mentioned earlier, if i have vobsub running - even if there aren't subs and i've set it only to load when needed - i can't take any screenshots, which is messed up.

now i don't know what's wrong with this at all.

how can i be sure to have all the subs showing and get the output size to be what i want?

if i can figure that out, maybe i can first encode the anna film without subs - at the right output size of 700MB - and then burn the subs onto it with vdub? would that work?

you said that the probable reason for undersize is a conflict between xvid codecs. but i uninstalled all of them and then only reinstalled the newest koepi xvid codec.

like i said, now i don't know what to do to fix any of this.

manono
17th September 2007, 19:03
i can get a good AR, even though it's not 16:9 as dgindex says it is.
I already explained that in my first post in this thread. A DVD player gets the DAR from the IFOs, so it doesn't really matter how the video itself is encoded, and it will be sometimes encoded wrongly, as in this case. It was encoded as 16:9, but has bad AR when played as 16:9. The IFOs will say 4:3, so when you play the DVD, it looks "normal". But all DGIndex (and hence AutoGK) has to go on is the DAR of the encoded video, 16:9 in this case. So you have to overrule the DAR in the Hidden Options of AutoGK.

I can't help with the subs unless you can get Direct VobSub going and play the subs along with the AVI, or any AVI, actually (as long as subs and video have the same name). I don't know if they'll show up or not. Leave the computer to encode overnight if it takes a long time and check it in the morning. Nor do I know if the subs will show in the Preview if you get them into the video using the CTRL-F8 trick, but I think they won't. Maybe someone else knows.
how can i be sure to have all the subs showing and get the output size to be what i want?
My guess is it has to do with the heavy cropping below the video (48 pixels in the sample you sent me). If the subs are in the script before the crop takes place, then they get cropped away along with the black below the video. If you check the AviSynth script and find that to be true, then move the VobSub line to after the crop and resize.
if i can figure that out, maybe i can first encode the anna film without subs - at the right output size of 700MB - and then burn the subs onto it with vdub? would that work?
I don't know, because I don't know why they won't encode with your movie in AutoGK. In any event, it would mean 2 encodes for the same movie, with further degradation of the video quality, and it's not really a good idea.

I'll tell you what; zip or rar up the IDX and the SUB files and upload them for me and I'll OCR them for you into SRT or SSA format, and then you'll be able to use CTRL-F8 for sure to get them into the movie - assuming the subs are good to begin with. I can't promise to get the accent marks included along with the letters, but I'll try. :)

catflap001
17th September 2007, 20:21
ok, now i understand about the AR thing. but as long as i can get a good AR at this point i'm not bothered. now it's the subs and the undersize thing that's annoying me.

with this test clip and previous encodes, i've always been able to view the subs in preview. but for example, this test clip definitely is an PAL 16:9 widescreen. it says it in agk as well as on the box. and since i recently watched it, i can say it definitely matches with the AR i encoded, even though it came out 8MB smaller than i set it.

My guess is it has to do with the heavy cropping below the video (48 pixels in the sample you sent me). If the subs are in the script before the crop takes place, then they get cropped away along with the black below the video. If you check the AviSynth script and find that to be true, then move the VobSub line to after the crop and resize.

i don't know anything about cropping or subs or really any of the technical terms you're using. but i'm trying to learn and understand. :)

i've never had to do any of this before and i don't see what's changed since the previous successful encodes i've made - and especially this undersize business is so annoying to me. i don't know or understand, really, what to do with avisynth or vobsub or directvobsub. i can't beleieve i have to go through all this when everything else i've ever encoded came out the way it should.

besides the sub problem with the anna film, now i have a sub problem with the smaller clip - plus the added headache of why now anything i encode comes out smaller than what i set it for.

i uninstalled and reinstalled agk a few times tonight, and only have whatever xvid codec was included in it. even doing that hasn't changed a thing.

if i can slow down a bit and work on one simpler thing at a time: first i'd like to fix the problem with undersizing. how can i do it? what could be causing this? like why it comes out at 500MB instead of 700MB, or 12MB instead of 20MB.

thanks for your help, manono.

edited to include update.

catflap001
18th September 2007, 00:58
sorry for the double post, but i'm adding updates as i go along...

i had to delete the rip of the anna film because of needed space for now.

but the smaller clip i kept. i can play that in vlc and choose all of the sub tracks to play, and they aren't cut off and the video AR is correct at 16:9.

the only thing i can guess right now is that something, somewhere along the way has changed in my agk, what with all of the different settings and uninstallations and reinstallations of the program and codecs and what have you. as far as i can see, the ripped video file is fine, but i don't know how to repair the settings in agk.

edit: update

here's a shot of my first try with the subs in the small clip.
you can see they're cut off. that was the embedded subs
i checked in the sub track box:

http://img.photobucket.com/albums/v457/catflap/Trek/2b2005f6.jpg

then i ripped the subs with vsrip and entered them into agk
as external subs. with a shot of the same time frame, you
can see this one worked better:

http://img.photobucket.com/albums/v457/catflap/Trek/8c1853c7.jpg

with both clips i was able to see the subs in the preview.
so it's a mystery when i tried the same with the anna film
the subs won't show in preview, and consequently probably
wouldn't be hard coded.

but at least this time, the clip wasn't undersized.

manono
18th September 2007, 11:00
Perhaps your undersizing was caused by having a very short length video for your test.

I have some pics to help explain what I was talking about before, and it plays into and confirms what your 2 pics show.

I was saying that perhaps the subs are being added in before the crop and resize. Using as an example the short anna sample you uploaded, here we see a scaled down but not cropped and resized pic with subs added in (top-left pic). After being cropped and resized, with the black being cut off, the bottom line also gets cut off (top-right pic). And the bottom pic shows the effect if the subs are added in after the cropping and resizing. You'll notice that they become smaller, as with your second pic, and the shape of the letters changes a bit.

So, if adding the subs the normal way adds them before the crop and resize (just guessing), the difference when you load them using CTRL-F8 is that they are added to the script after the crop/resize. But if that's true, I don't know why we haven't had complaints before now, as there are lots of letterboxed 2.35:1 movies where the subs should also get cut off when being added the normal way. In Gordian Knot, the subs are added in after the crop and before the resize. I don't know for sure how it is in AutoGK. Perhaps someone else can explain the problem you're having.

Like I said before, if you would like to rar up the IDX/SUB for Anna, I'll be happy to OCR them for you so you can add them via the CTRL-F8, and also explain how you can adjust their size and position in the video, if it doesn't suit you.

Will you try something for me? The next time you decide to try again with Anna, open the IDX in Notepad and scroll down a ways until you come to these lines:

# Origin, relative to the upper-left corner, can be overloaded by aligment
org: 0, 0

Change the second number to a negative value to raise the subs in the video, save it, and use the edited IDX/SUB in a Preview in AutoGK after adding it by the CTRL-F8 method. You might make it something like this:

# Origin, relative to the upper-left corner, can be overloaded by aligment
org: 0, -80

TheArkive
7th February 2008, 02:12
I would just like to give my vote to making this thread a sticky with the title "Aspect Ratio Problems" (or similar). I'm trying a recode now of a video that I tried to backup, and the AR came out different than what the original DVD played.

Actually, a funny incident here:

On my XBOX 360, the DVD still played stretched in some places, but on the computer (after ripping with DVDFab) played it just fine in the proper, unstretched AR. I figured it had something to do with the IFOs modding the AR on the fly, but this post really did a good job of filling in the blanks.

I did a search on the forum for "aspect ratio" and there were over 11 pages of results. I just found this one by chance, but it addressed the exact issue that I'm having now.

Thanks catflap001 and manono for posting on this. You guys really saved me a lot of research time!