[MPlayer-users] buggy -vop crop

Felix von Leitner leitner at convergence.de
Sun May 5 02:45:10 CEST 2002


  $ mencoder -vop crop=640:360:72:0,scale=640:480 -ovc lavc -lavcopts \
  vcodec=mpeg4:vbitrate=1000:vhq:keyint=250:vpass=1 -o t.avi -lameopts \
  q=6 1x22\ Vox\ Sola.mpg

  MEncoder CVS-020504-23:21-3.0.3 (C) 2000-2002 Arpad Gereoffy (see DOCS!)

  CPU vendor name: AuthenticAMD  max cpuid level: 1
  CPU: Advanced Micro Devices Athlon TB Thunderbird (Type: 6, Stepping: 4)
  [...]
  *** [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,
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
people don't have to search for their good old school calculator when
cropping ;)

Felix




More information about the MPlayer-users mailing list