[MPlayer-users] buggy -vop crop

Arpi arpi at thot.banki.hu
Sun May 5 02:50:07 CEST 2002


Hi,

>   *** [scale] Exporting mp_image_t, 480x480x12bpp YUV planar, 345600 bytes
>   *** [crop] Allocating mp_image_t, 640x480x12bpp YUV planar, 460800 bytes
>   *** [expand] Exporting mp_image_t, 640x360x12bpp YUV planar, 345600 bytes
>   *** [lavc] Allocating mp_image_t, -1x-1x12bpp YUV planar, 1 bytes
>   zsh: 289 segmentation fault  mencoder -vop crop=640:360:72:0,scale=640:480
>  -ovc lavc -lavcopts  -o t.avi
> 
> When I leave the :72:0 away in the crop opts, it works.  And,

you probably want :0:72 not :72:0 which shifts image horizntaly by 72
pixels, but you don't seem to decrease size at the same time

> surprisingly (at least to me), it crops as I wanted it, i.e. it keeps
> the middle.  It would be a good idea to mention this in the docs so

quoting docs:

   default values, like x and y are both set to the center of the screen,
   and width and height will be set to the movie's width and height.


A'rpi / Astral & ESP-team

--
Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu




More information about the MPlayer-users mailing list