Log in

View Full Version : Changing the Aspect Ratio Flag after encode?


abero
8th February 2010, 00:40
I encoded a 1920x1080 video for a rather long time with megui/x264. Unfortunately i left the command line option "--sar 16:11" in, so the output ist squeezed vertically :( ..

I can change the AR in mkvmerge which works when playing on VLC, but my Standalone-Players won't and display according to the flag in the stream itself and not the flag in the mkv container.

Is there a way to just remove (change) that 16:11 flag on my file? without reencoding the whole file?

Some1 suggested h264info for that but somehow that just messes up my video file (get pixeljunk).

sneaker_ger
8th February 2010, 00:45
1. If you're encoding 1920x1080 videos with a width:height of 16:9 the SAR is 1:1. So "--sar 1:1" would have been correct (which is the default anyways).
2. When muxing with mkvmerge add the parameter "--engage remove_bitstream_ar_info".

roozhou
8th February 2010, 07:11
Please take a look at this (http://forum.doom9.org/showthread.php?t=152419)