PDA

View Full Version : Widescreen vobs


gopackgo
9th March 2008, 00:21
When I try to convert a widescreen vob, the resolution is 853x480, I am not able to get AutoGK to output at this resolution. How do I get AutoGK to output a .avi with the same resoution as the source?

manono
9th March 2008, 12:21
Hi-
How do I get AutoGK to output a .avi with the same resoution as the source?
You don't. AutoGK quite correctly resizes to Mod16 (height and width must be divisible by 16). Even if you weren't using AutoGK, though, you wouldn't be able to use an odd number width:
In YV12: width mod-2 height mod-2 if video is progressive height mod-4 if video is interlaced
http://avisynth.org/mediawiki/Crop

Your width will have to be either 848 or 864. Of course, if you want an .avi with the same resoution as the source, that would be 720x480. That's possible in AutoGK with some fiddling in the Hidden Options. You'll have to set it for 16:9 playback later on using MPEG4Modifier. And quite a few players, including most (but not all) standalone DVD/MPEG-4 players won't pay any attention at all to resizing for 16:9.

gopackgo
9th March 2008, 17:20
Hi-

You don't. AutoGK quite correctly resizes to Mod16 (height and width must be divisible by 16). Even if you weren't using AutoGK, though, you wouldn't be able to use an odd number width:


If I convert the vob to AVC with Videora, I can get 853x480.

manono
10th March 2008, 02:21
At the risk of sounding rude, go and use Videora then. I don't know what that is, but AVC must be using the RGB colorspace, for which any pixel height and width is OK (for progressive video). Both MPEG-2 and XviD/DivX AVI use the YV12 colorspace for which the height and width must be at least Mod2 (for progressive video). Those things are clearly explained in the link above. And for compression effiency reasons, Mod16 is much better. There's more about why Mod16 in the sticky:
divx is encoded in macroblocks of 16 x 16 pixels.

e.g.:

640 x 272 = 174080 pixels = 680 macroblocks.

640 x 274 = 175360 pixels (0.7% more) = 720 macroblocks (5.9% more).

more macroblocks - more compression overhead.

for compressibility reasons i highly recommend to at least use w-mod and h-mod of 16 pixels.

http://forum.doom9.org/showthread.php?t=42708

gopackgo
10th March 2008, 22:45
Ok, sorry.