[MPlayer-dev-eng] Scale is broken

Oded Shimon ods15 at ods15.dyndns.org
Sun Jun 26 19:48:40 CEST 2005


vf_scale is broken. Don't ask me why, I didn't do it. Pre7 works BTW.

Yes this is a fresh (umm, 24 hours old?) CVS checkout...

(gdb) run ~/mdf/mirc/deadzone.avi -vf scale=600:400 -vo null
Starting program: /home/ods15/main/mplayer ~/mdf/mirc/deadzone.avi -vf scale=600:400 -vo null
[Thread debugging using libthread_db enabled]
[New Thread 1093642624 (LWP 7678)]
MPlayer dev-CVS-050625-22:46-3.3.5 (C) 2000-2005 MPlayer Team
CPU: Advanced Micro Devices Athlon MP/XP/XP-M Barton (Family: 6, Stepping: 0)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE


83 audio & 192 video codecs
Linux RTC init error in ioctl (rtc_irqp_set 1024): Permission denied
Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your system startup scripts.
Setting up LIRC support...
Menu inited: /home/ods15/.mplayer/menu.conf
Playing /home/ods15/mdf/mirc/deadzone.avi.
AVI file format detected.
VIDEO:  [MJPG]  512x384  24bpp  23.976 fps  1807.1 kbps (220.6 kbyte/s)
Clip info:
 Software: MEncoder dev-CVS-050416-17:47-3.3.5
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
mpg123: Can't rewind stream by 387 bits!
AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 16000->192000)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
Opening video filter: [scale w=600 h=400]
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
[mjpeg @ 0x8628dc0]mjpeg: using external huffman table
Selected video codec: [ffmjpeg] vfm:ffmpeg (FFmpeg MJPEG decoder)
==========================================================================
Building audio filter chain for 48000Hz/2ch/s16le -> 0Hz/0ch/??...
[AO SDL] Samplerate: 48000Hz Channels: Stereo Format s16le
[New Thread 1103514544 (LWP 7683)]
AO: [sdl] 48000Hz 2ch s16le (2 bps)
Building audio filter chain for 48000Hz/2ch/s16le -> 48000Hz/2ch/s16le...
Starting playback...
VDec: vo config request - 512 x 384 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 3)
Movie-Aspect is undefined - no prescaling applied.
SwScaler: reducing / aligning filtersize 5 -> 4
SwScaler: reducing / aligning filtersize 5 -> 4
SwScaler: reducing / aligning filtersize 5 -> 4
SwScaler: reducing / aligning filtersize 5 -> 4

SwScaler: BICUBIC scaler, from Planar YV12 to Planar 444P using MMX2
VO: [null] 600x400 => 600x450 Planar 444P

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1093642624 (LWP 7678)]
0x081ee122 in hScale_MMX2 (dst=0x81e35eb, dstW=142527736, src=0x258 <Address 0x258 out of bounds>,
    srcW=256, xInc=256, filter=0xfffffb50, filterPos=0x87eba38, filterSize=142522928)
    at swscale_template.c:2048
2048                    asm volatile(
(gdb) bt
#0  0x081ee122 in hScale_MMX2 (dst=0x81e35eb, dstW=142527736,
    src=0x258 <Address 0x258 out of bounds>, srcW=256, xInc=256, filter=0xfffffb50,
    filterPos=0x87eba38, filterSize=142522928) at swscale_template.c:2048
#1  0x087e7440 in ?? ()
#2  0x081e35eb in swScale_MMX2 (c=0x4, src=0x87a6170, srcStride=0xbfffd040, srcSliceY=0,
    srcSliceH=384, dst=0x87a61e0, dstStride=0xbfffd030) at swscale_template.c:2723
#3  0x081e2157 in sws_scale_ordered (c=0x87e7440, src=0x87a6170, srcStride=0x87e7440, srcSliceY=0,
    srcSliceH=384, dst=0x87a61e0, dstStride=0x87a61f0) at swscale.c:2292
#4  0x08136873 in scale (sws1=0x87e7440, sws2=0x0, src=0x87eccf8, src_stride=0x87a6180,
    y=142238080, h=384, dst=0x87a61e0, dst_stride=0x87a61f0, interlaced=0) at vf_scale.c:300
#5  0x08136206 in put_image (vf=0x87baa70, mpi=0x87a6150) at vf_scale.c:330
#6  0x0810c272 in decode_video (sh_video=0x8795780, start=0x0, in_size=0, drop_frame=142169984)
    at dec_video.c:334
#7  0x08085a69 in main (argc=6, argv=0xbffff524) at mplayer.c:2350






If you need any other info please ask...

- ods15




More information about the MPlayer-dev-eng mailing list