Log in

View Full Version : Aspect ratio changes


rallan
1st September 2011, 12:35
I have a thing that anoys me a lot.
When I encode vob to xvid and x264 mkv then the ratio is correct but not x264 mp4. The movie I use is progressive 16:9 (1.77) 720*576.
Avisynth wants to set the DAR to ITU 16:9 (1.823)
but I use 16:9 (1.77) 720*576 and overcrop to mod 16. xvid and mkv gives me the ratio (1.77) But when I use mp4 with the same settings then I get (2.52). I do not know what preset (settings) I should use to encode from a regular DVD to TV so I use default.

J_Darnley
1st September 2011, 13:23
Why don't you tell us how and to what you set the aspect ratio? Avisynth doesn't know anything about aspect ratios. The preset you tell x264 to use has no effect on the aspect ratio.

rallan
1st September 2011, 13:57
My setting is set the DAR to 16:9 (1.77) 720*576 (PAL) and overcrop to mod 16 (it's in avisynth). And the preset in x264 is scratchpad (and I suppose that everything is at default)? Nothing else. This gives me when when I use x264 mkv the proper 16:9 (1.77) 720*576 But when I use x264 mp4 with the same settings I get ratio (2.52) 720*576. All I do is changing x264 from mkv to mp4 ? By the way I'm using MeGui 2050 and Avisynth 2.5 and x264 v2074.

smok3
1st September 2011, 18:59
and you have tested with what software players? what does mediainfo says?

rallan
1st September 2011, 22:25
I have viewed it in SMPlayer and it says 720*576 (1.77) and something about format avc1 for mkv.
And when I try the same settings but with mp4 instead I get 720*576 (2.528).
MatroskaPropv2.8 says for (mkv) pixel size 720*576 and display size 1024*576 ???
Mediainfo says PixelAspectRatio: 1.422 and DisplayAspectRatio: 1.778 for the both of them.
It sounds strange.

nm
1st September 2011, 23:48
I have viewed it in SMPlayer

Sounds like the aspect ratio bug of the MPlayer build distributed with SMPlayer. It was discussed recently here: http://forum.doom9.org/showthread.php?p=1519595#post1519595

Does your MP4 file play correctly with VLC and up-to-date MPlayer builds?

smok3
2nd September 2011, 07:40
exactly the bug i was thinking about.

rallan
2nd September 2011, 13:01
I've been reading so many "how to do and guides" and then it was a bug in my mediaplayer. I'd never suspected it. Anyway I have been checking with VLC and both mp4 and mkv looks the same.
And they look the same on my TV too except that it says 1.25:1.
The result is great so I am not going to disturb anyone more about it…
Thanks for your help everyone!