[MPlayer-users] Cropping+scaling=segfault
Ralph Slooten
ralph at delrom.ro
Wed Apr 17 00:00:01 CEST 2002
Hi there all,
Using mencoder I can get it to crop, or I can get it to scale down the
movie, but I need to scale the cropped movie as the aspect taken off the
dvd is incorrect :-( Mencoder detects the settings and segfaults.
I have for example a movie
#!/bin/bash
mencoder -dvd 1 \
-chapter 33-33 \
-aid 128 \
-sws 0 \
-ovc lavc -lavcopts vcodec=mpeg4:vhq:vbitrate=633 \
-vop crop=704:416:8:80,scale=704:304 \
-oac mp3lame -lameopts br=96 \
-o Matrix.avi
exit 0
.... but this movie needs to get scaled down to 704:304 (yeah, using
Atmos's explanation here to give me a hand). It segfaults giving (using
-v):
crop->config() called
FATAL: Cannot initialize video driver!
*** [scale] Exporting mp_image_t, 720x576x12bpp YUV planar, 622080 bytesVms 10/14 D/S 0/0
*** [crop] Allocating mp_image_t, 704x304x12bpp YUV planar, 321024 bytes
*** [lavc] Exporting mp_image_t, 704x304x12bpp YUV planar, 321024 bytes
./film: line 9: 11003 Segmentation fault mencoder -dvd 1 -chapter
34-34 -aid 128 -sws 0 -ovc lavc -lavcopts vcodec=mpeg4:vhq:vbitrate=633 -vop crop=704:416:8:80,scale=704:304 -oac mp3lame -lameopts br=96 -o Matrix.avi -v
Any ideas what I'm doing wrong? Like I said above, either cropping or
scaling works great, just not the combination :-(
Oh, I'm using the CVS from this evening (2 hours ago) :-)
Greetings
Ralph
--
Homepage: http://tuxpower.f2g.net/
More information about the MPlayer-users
mailing list