[MPlayer-users] mencoder/crop => image distortion
Nico
nsabbi at libero.it
Tue Jul 8 14:54:44 CEST 2003
1) xvid makes mess with non 16x dimensions
2) when dvd are displayed, the final video is subject to an aspect ratio
correction:
if A/R is 16:9 then the final image has size = 720 * 16/9 x 576
== 1024 x 576 ;
if you want to keep A/R intact and crop the black bars you have to
rescale the cropped image following the proportion:
1024 : Y = 720 : y
so y = (Y * 720) / 1024 rounded to the nearest multiple of 16
in your case Y = 550, y = 384
Eventually you will need to replace 720 with the right value of X, but
in your case I would keep those few pixels.
Hope it helps,
Nico
ROED,HAAVARD (HP-Norway,ex1) wrote:
>[Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
>
>Ofcourse, encoding with:
>
>mencoder -dvd 14 -oac copy -ovc xvid -xvidencopts
>bitrate=1272:me_quality=5:4mv -vop crop=720:550:0:12 -o movie.avi
>
>seems to give a good result, but then the black sidebands are in the video,
>too...
>
>So rescaling is the only option? crop at 714:550:2:12, and rescaling to
>704x502? Is that a good choice?
>
>Haavard
>
>_______________________________________________
>RTFM!!! http://www.MPlayerHQ.hu/DOCS
>Search: http://www.MPlayerHQ.hu/cgi-bin/htsearch
>http://mplayerhq.hu/mailman/listinfo/mplayer-users
>
>
>
More information about the MPlayer-users
mailing list