[MPlayer-users] buggy -vop crop
Georgi Georgiev
chutz at chubaka.homeip.net
Sat May 4 15:52:02 CEST 2002
On Sat, May 04, 2002 at 02:29:22PM +0200, Felix Buenemann wrote:
> Try with value divisable by 8, I guess that should do the trick.
Alright, this DID do part of the trick.
Nobody paid attention to the followin ugly fact though... (sorry, didn't mention it in the report).
What happens is that I get for example a 360x240 cropped video scaled to 720x540. If I really need scaling to adjust for the original Movie-Aspect being 1.33:1, then I guess I need an output of 360x270 or something? Actually, no matter how much I crop the video, I always get a 720x540 output.
$ mplayer -vop crop=360:240:0:0 pearl_harbor_soundtrack.mpeg
MPlayer CVS-020503-22:46-3.0.4 (C) 2000-2002 Arpad Gereoffy (see DOCS!)
CPU vendor name: AuthenticAMD max cpuid level: 1
CPU: Advanced Micro Devices Athlon K7 (Type: 6, Stepping: 2)
extended cpuid-level: 6
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Compiled for x86 CPU with features: MMX MMX2 3DNow 3DNowEx
Reading /home/chutz/.mplayer/codecs.conf: 34 audio & 91 video codecs
Font /home/chutz/.mplayer/font/font.desc loaded successfully! (7052 chars)
Linux RTC init error in ioctl (rtc_pie_on): Permission denied
Using usleep() timing
Input config file /home/chutz/.mplayer/input.conf parsed : 51 binds
Playing pearl_harbor_soundtrack.mpeg
header block 1 size: 0
Detected MPEG-PS file format!
VIDEO: MPEG2 720x480 (aspect 2) 29.97 fps 10000.0 kbps (1250.0 kbyte/s)
[V] filefmt:2 fourcc:0x10000002 size:720x480 fps:29.97 ftime:=0.0334
Detected audio codec: [a52] drv:14 (AC3-liba52)
Selecting Audio Decoder: [liba52] AC3-liba52
Using 3DNowEx optimized IMDCT transform
AC3: 5.1 (3f+2r+lfe) 48000 Hz 384.0 kbit/s
Using MMX optimized resampler
AUDIO: srate=48000 chans=2 bps=2 sfmt=0x10 ratio: 48000->192000
vo: X11 running at 1600x1200 with depth 24 and 32 bits/pixel (":0.0" => local display)
Opening video filter 'crop' with args '360:240:0:0'...
Crop: 360 x 240, 0 ; 0
==========================================================================
Opening Video Decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 480, Mpeg PES
[PP] Sorry, postprocessing is not available
Couldn't find matching colorspace - retrying with -vop scale...
SwScale: -1 x -1
Sorry, selected video_out device is incompatible with this codec.
VDecoder init failed :(
Opening Video Decoder: [libmpeg2] MPEG 1/2 Video decoder v2.0
libmpeg2: Using MMXEXT for IDCT transform
libmpeg2: Using MMXEXT for motion compensation
VDec: vo config request - 720 x 480, Planar YV12
[PP] Sorry, postprocessing is not available
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
crop->config() called
REQ: flags=0x437 req=0x400
VO: [xv] 360x240 => 720x540 Planar YV12
Disabling DPMS
stat: 1
crop->config() return 1
Detected video codec: [mpeg12] drv:1 prio:0 (MPEG 1 or 2)
==========================================================================
AO: [oss] 48000Hz Stereo Signed 16-bit (Little-Endian)
ao2: 48000 Hz 2 chans Signed 16-bit (Little-Endian)
audio_setup: sample format: Signed 16-bit (Little-Endian) (requested: Signed 16-bit (Little-Endian))
audio_setup: using 2 channels (requested: 2)
audio_setup: using 48000 Hz samplerate (requested: 48000)
audio_setup: frags: 16/16 (4096 bytes/frag) free: 65536
Start playing...
*** [crop] Allocating mp_image_t, 720x480x12bpp YUV planar, 518400 bytes
*** [crop] Allocating mp_image_t, 720x480x12bpp YUV planar, 518400 bytes
*** [vo] Exporting mp_image_t, 360x240x12bpp YUV planar, 129600 bytes
*** [crop] Allocating mp_image_t, 720x480x12bpp YUV planar, 518400 bytes
A: 0.7 V: 0.7 A-V: -0.012 ct: -0.011 12/ 12 0% 0% 0.0% 0 0 0%
*** free_stream() called ***
Successfully enabled DPMS
Exiting... (Quit)
--
Chutz <chutz at chubaka.homeip.net>
--------------------------------
A truly great man will neither trample on a worm nor sneak to an emperor.
-- B. Franklin
More information about the MPlayer-users
mailing list