Log in

View Full Version : Anamorphic encoding question


Barleyman
6th December 2006, 20:48
Okay, I've spent fair time with :search: and so far my take on anamorphic encoding with AutoGK is as follows:

By default AutoGK slashes the vertical resolution for 1:1 PAR, in effect making a letterbox video (without black borders).

Now when we have a 2.35 movie this means 576->304 downsize. Eww.

So I started looking around for a way to make a proper anamorphic encode instead. Looks like AutoGK can't really do it. What it CAN do is not mess with the resolution and give me the original PAL DVD resolution. Players think it's a 4:3 file, thought, which requires manual AR correction from menus and for example in XBMC doesn't change the display mode to 16:9..

So far the only way I have found to make a proper anamorphic file the media players respect is to make a matroska file and specify the AR there explicitly. Works beautifully but that's another manual step for each input file and I have to worry about if it was 16:9 or 2.35 ..

Is there a way to automate the process to make autogk spit out matroska files with AR set correctly? Or even make avi files which the players would recognize? I understand avi doesn't really support AR but xvid/divx does.

There's also a "helper" tool for GK which allows me to work around the issue but it's rather cumbersome procedure and I really just want things to "work" .. Even a simple .bat file would be good enough as long as it can be integrated into the AutoGK process without requiring manual input beyond what you do when you're making the batch job in AutoGK GUI..

Anything out there that does more or less what I want?

MKVGUI isn't too hard to use, but requires me to go over the files one-by-one.

Barleyman
18th December 2006, 22:38
Having experimented with AutoMKV, I eventually figured out there's -PAR command for the xvid_encraw. And it actually works..

Could we get support for pixel aspect ratio switch in AutoGk?

len0x
19th December 2006, 20:31
CTRL-F9: Override input AR -> Original

Barleyman
21st December 2006, 19:37
Yeah. But that won't set the PAR flag (?) in the xvid stream so you have to manually adjust the AR in player or package the avi into a matroska container and set the AR there..

So what I'm asking for is an avi-file that the players detect as 16/9 or 1:2.35 and scale accordingly.

SeeMoreDigital
21st December 2006, 19:53
So what I'm asking for is an avi-file that the players detect as 16/9 or 1:2.35 and scale accordingly.For playback of such encodes, you'll also require the installation of an MPEG-4 direct-show decoder filter that supports anamorphic signalling detection too!

Barleyman
21st December 2006, 20:49
For playback of such encodes, you'll also require the installation of an MPEG-4 direct-show decoder filter that supports anamorphic signalling detection too!

Sure. I can see the anamorphic files properly when I do it with xvid_encraw using tha -PAR parameter. So I do assume I have everything necessary.