[MPlayer-dev-eng] Re: [BUG] sig11 in yuv2rgb_c_4_ordered_dither

Gabucino gabucino at localhost.localdomain
Sun Jan 26 14:29:26 CET 2003


> This bugreport concerns two topics:
>  - this yv12toBGR4 scaler seems to be broken
>  - why is this scaler called if vo_svga reports failure for the asked
>    videomode?? (and why does it init svgalib for a moment, after knowing
>    the mode is unsupported, and a sig11 happened??)
Hmm that debug output was not 100% correct, here come two correct ones (now
with uptodate CVS):

 out1.txt
	mplayer ~gabucino/Media/Movie/Hack-OP.avi -vo svga -vop scale -v
        SIG11 in fast_memcpy_3DNow

 out2.txt
	mplayer ~gabucino/Media/Movie/Hack-OP.avi -vo svga -vop scale -bpp 4 -v
	SIG11 in yuv2rgb_c_4_ordered_dither

-- 
Gabucino
MPlayer Core Team
  "not sure how we will proceed here - xine's potential in the video
   processing field is imho so great that i certainly don't want to miss
   the chance to work into that direction." - Guenter, xine developer
-------------- next part --------------
GNU gdb 2002-04-01-cvs
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-linux".
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/local/share/locale


MPlayer CVS-030126-13:11-2.95.4 (C) 2000-2003 Arpad Gereoffy (see DOCS)

CPU: Advanced Micro Devices K6-2 (Family: 5, Stepping: 0)
Detected cache-line size is 32 bytes
CPUflags:  MMX: 1 MMX2: 0 3DNow: 1 3DNow2: 0 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX 3DNow

Reading config file /usr/local/etc/mplayer/mplayer.conf: No such file or directory
Reading config file /root/.mplayer/config
Reading /root/.mplayer/codecs.conf: can't open '/root/.mplayer/codecs.conf': No such file or directory
Reading /usr/local/etc/mplayer/codecs.conf: can't open '/usr/local/etc/mplayer/codecs.conf': No such file or directory
Using built-in default codecs.conf
CommandLine: '/home/gabucino/Media/Movie/Hack-OP.avi' '-vo' 'svga' '-vop' 'scale' '-v'
get_path('font/font.desc') -> '/root/.mplayer/font/font.desc'
font: can't open file: /root/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
init_freetype
Using MMX (with tiny bit 3DNow) Optimized OnScreenDisplay
Using Linux hardware RTC timing (1024Hz).
get_path('input.conf') -> '/root/.mplayer/input.conf'
Can't open input config file /root/.mplayer/input.conf : No such file or directory
Can't open input config file /usr/local/etc/mplayer/input.conf : No such file or directory
Falling back on default (hardcoded) input config
get_path('Hack-OP.avi.conf') -> '/root/.mplayer/Hack-OP.avi.conf'

Playing /home/gabucino/Media/Movie/Hack-OP.avi
Not an URL!
File size is 19236026 bytes
AVI file format detected.
list_end=0x146
======= AVI Header =======
us/frame: 41708  (fps=23.976)
max bytes/sec: 0
padding: 0
MainAVIHeader.dwFlags: (2320) HAS_INDEX IS_INTERLEAVED TRUST_CKTYPE
frames  total: 2158   initial: 0
streams: 2
Suggested BufferSize: 0
Size:  640 x 360
list_end=0xD4
==> Found video stream: 0
======= STREAM Header =======
Type: vids   FCC:  (0)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 0
Rate: 239759/10000 = 23.976
Start: 0   Len: 2158
Suggested BufferSize: 51577
Quality 0
Sample size: 0
found 'bih', 40 bytes of 40
======= VIDEO Format ======
  biSize 40
  biWidth 640
  biHeight 360
  biPlanes 1
  biBitCount 24
  biCompression 861292868='DIV3'
  biSizeImage 691200
===========================
Regenerating keyframe table for DIVX 3 video
list_end=0x146
==> Found audio stream: 1
======= STREAM Header =======
Type: auds   FCC:  (0)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 0
Rate: 16000/1 = 16000.000
Start: 0   Len: 1448000
Suggested BufferSize: 8000
Quality 0
Sample size: 1
found 'wf', 30 bytes of 18
======= WAVE Format =======
Format Tag: 85 (0x55)
Channels: 2
Samplerate: 48000
avg byte/sec: 16000
Block align: 1
bits/sample: 0
cbSize: 12
mp3.wID=1
mp3.fdwFlags=0x2
mp3.nBlockSize=384
mp3.nFramesPerBlock=1
mp3.nCodecDelay=1393
Broken chunk?  chunksize=1714  (id=JUNK)
list_end=0x124F282
Found movie at 0x80C - 0x124F282
Reading INDEX block, 2339 chunks for 2158 frames (fpos=0x124f28a)
AVI index offset: 0x808 (movi=0x80C idx0=0x4 idx1=0x1F4C)
Auto-selected AVI audio ID = 1
Auto-selected AVI video ID = 0
AVI: Searching for audio stream (id:1)
AVI video size=17728740 (2158) audio size=1448000 (1448000)
VIDEO:  [DIV3]  640x360  24bpp  23.98 fps  1575.8 kbps (192.4 kbyte/s)
[V] filefmt:3  fourcc:0x33564944  size:640x360  fps:23.98  ftime:=0.0417
get_path('sub/') -> '/root/.mplayer/sub/'
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
dec_audio: Allocating 4608 + 65536 = 70144 bytes for output buffer
mp3lib: made decode tables with MMX optimization
mp3lib: using 3DNow! optimized decore!
MP3lib: init layer2&3 finished, tables done

MPEG 1.0, Layer III, 48000 Hz 128 kbit Joint-Stereo, BPF: 384
Channels: 2, copyright: No, original: Yes, CRC: No, emphasis: 0
AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 16000->192000 (128.0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
Using EGA driver.
svgalib 1.4.3
Opening video filter: [scale]
SwScale params: -1 x -1 (-1=no scaling)
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
INFO: libavcodec init OK!
Selected video codec: [ffdivx] vfm:ffmpeg (FFmpeg DivX ;-) (MS MPEG-4 v3))
==========================================================================
Checking audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
[libaf] Adding filter dummy 
[dummy] Was reinitialized, rate=48000Hz, nch = 2, format = 0x00000001 and bps = 2
AF_pre: af format: 2 bps, 2 ch, 48000 hz, little endian signed int 
AF_pre: 48000Hz 2ch Signed 16-bit (Little-Endian)
ao2: 48000 Hz  2 chans  Signed 16-bit (Little-Endian)
audio_setup: using '/dev/dsp' dsp device
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 46790 Hz samplerate (requested: 48000)
audio_setup: frags:  16/16  (4096 bytes/frag)  free:  65536
AO: [oss] 46790Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
AO: Description: OSS/ioctl audio output
AO: Author: A'rpi
Building audio filter chain for 48000Hz/2ch/16bit -> 46790Hz/2ch/16bit...
[dummy] Was reinitialized, rate=48000Hz, nch = 2, format = 0x00000001 and bps = 2
[libaf] Adding filter resample 
[resample] Changing sample rate to 46790Hz
[resample] Using integer processing and inexact frequecy conversion.
[resample] New filter designed up: 4679 down: 4800
[dummy] Was reinitialized, rate=48000Hz, nch = 2, format = 0x00000001 and bps = 2
[resample] Using integer processing and inexact frequecy conversion.
Starting playback...
[libaf] Reallocating memory in module resample, old len = 0, new len = 63884
[ffmpeg] aspect_ratio: 0.000000
VDec: vo config request - 640 x 360 (preferred csp: Planar YV12)
scale: query(BGR 32-bit) -> 0
scale: query(RGB 32-bit) -> 0
scale: query(BGR 24-bit) -> 0
scale: query(RGB 24-bit) -> 0
scale: query(BGR 16-bit) -> 0
scale: query(RGB 16-bit) -> 0
scale: query(BGR 15-bit) -> 0
scale: query(RGB 15-bit) -> 0
scale: query(BGR 8-bit) -> 0
scale: query(RGB 8-bit) -> 0
scale: query(BGR 4-bit) -> 0
scale: query(RGB 4-bit) -> 0
scale: query(BGR 1-bit) -> 0
scale: query(RGB 1-bit) -> 0
scale: query(Planar 444P) -> 0
scale: query(Planar 422P) -> 0
scale: query(Planar YV12) -> 1
scale: query(Planar I420) -> 0
scale: query(Planar IYUV) -> 0
scale: query(Planar YVU9) -> 0
scale: query(Planar IF09) -> 0
scale: query(Planar 411P) -> 0
scale: query(Planar Y800) -> 0
scale: query(Planar Y8) -> 0
scale: query(Packed YUY2) -> 0
scale: query(BGR 32-bit) -> 0
scale: query(RGB 32-bit) -> 0
scale: query(BGR 24-bit) -> 0
scale: query(RGB 24-bit) -> 0
scale: query(BGR 16-bit) -> 0
scale: query(RGB 16-bit) -> 0
scale: query(BGR 15-bit) -> 0
scale: query(RGB 15-bit) -> 0
scale: query(BGR 8-bit) -> 0
scale: query(RGB 8-bit) -> 0
scale: query(BGR 4-bit) -> 0
scale: query(RGB 4-bit) -> 0
scale: query(BGR 1-bit) -> 0
scale: query(RGB 1-bit) -> 0
scale: query(Planar 444P) -> 0
scale: query(Planar 422P) -> 0
scale: query(Planar YV12) -> 1
scale: query(Planar I420) -> 0
scale: query(Planar IYUV) -> 0
scale: query(Planar YVU9) -> 0
scale: query(Planar IF09) -> 0
scale: query(Planar 411P) -> 0
scale: query(Planar Y800) -> 0
scale: query(Planar Y8) -> 0
scale: query(Packed YUY2) -> 0
scale: query(BGR 32-bit) -> 0
scale: query(RGB 32-bit) -> 0
scale: query(BGR 24-bit) -> 0
scale: query(RGB 24-bit) -> 0
scale: query(BGR 16-bit) -> 0
scale: query(RGB 16-bit) -> 0
scale: query(BGR 15-bit) -> 0
scale: query(RGB 15-bit) -> 0
scale: query(BGR 8-bit) -> 0
scale: query(RGB 8-bit) -> 0
scale: query(BGR 4-bit) -> 0
scale: query(RGB 4-bit) -> 0
scale: query(BGR 1-bit) -> 0
scale: query(RGB 1-bit) -> 0
scale: query(Planar 444P) -> 0
scale: query(Planar 422P) -> 0
scale: query(Planar YV12) -> 1
scale: query(Planar I420) -> 0
scale: query(Planar IYUV) -> 0
scale: query(Planar YVU9) -> 0
scale: query(Planar IF09) -> 0
scale: query(Planar 411P) -> 0
scale: query(Planar Y800) -> 0
scale: query(Planar Y8) -> 0
scale: query(Packed YUY2) -> 0
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO Config (640x360->640x360,flags=0,'MPlayer',0x32315659)
scale: query(BGR 32-bit) -> 0
scale: query(RGB 32-bit) -> 0
scale: query(BGR 24-bit) -> 0
scale: query(RGB 24-bit) -> 0
scale: query(BGR 16-bit) -> 0
scale: query(RGB 16-bit) -> 0
scale: query(BGR 15-bit) -> 0
scale: query(RGB 15-bit) -> 0
scale: query(BGR 8-bit) -> 0
scale: query(RGB 8-bit) -> 0
scale: query(BGR 4-bit) -> 0
scale: query(RGB 4-bit) -> 0
scale: query(BGR 1-bit) -> 0
scale: query(RGB 1-bit) -> 0
scale: query(Planar 444P) -> 0
scale: query(Planar 422P) -> 0
scale: query(Planar YV12) -> 1
scale: query(Planar I420) -> 0
scale: query(Planar IYUV) -> 0
scale: query(Planar YVU9) -> 0
scale: query(Planar IF09) -> 0
scale: query(Planar 411P) -> 0
scale: query(Planar Y800) -> 0
scale: query(Planar Y8) -> 0
scale: query(Packed YUY2) -> 0
SwScaler: using unscaled Planar YV12 -> Planar YV12 special converter
REQ: flags=0x401  req=0x0  
VO: [svga] 640x360 => 640x360 Planar YV12 
VO: Description: SVGAlib
VO: Author: Zoltan Mark Vician <se7en at sch.bme.hu>
FATAL: Cannot initialize video driver.
vo_svga: config(640, 360, 640, 360, 00000000, MPlayer, 32315659)
vo_svga: vo_dbpp == 0, bpp: 32
vo_svga: Haven't found video mode which fit to: 640x360 32bpp
vo_svga: Maybe you should try -bpp
init_vo failed
*** [vo] Allocating mp_image_t, 640x360x12bpp YUV planar, 345600 bytes
[New Thread 1024 (LWP 20594)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 20594)]
0x080b2927 in fast_memcpy_3DNow (to=0x4098c040, from=0x80808080, len=0)
    at aclib_template.c:231
231			__asm__ __volatile__ (
#0  0x080b2927 in fast_memcpy_3DNow (to=0x4098c040, from=0x80808080, len=0)
    at aclib_template.c:231
#1  0x080b2b39 in fast_memcpy (to=0x4098c040, from=0x80808080, len=640)
    at aclib.c:140
#2  0x0818b4c1 in simpleCopy (c=0x852b880, srcParam=0x8532780, 
    srcStrideParam=0x8532790, srcSliceY=0, srcSliceH=58905, 
    dstParam=0x854fb30, dstStrideParam=0x854fb40) at swscale.c:1884
#3  0x080e6e6f in put_image (vf=0x8433788, mpi=0x8532760) at vf_scale.c:206
#4  0x080d91d8 in decode_video (sh_video=0x8416c18, 
    start=0x8421f88 "\aq\003\003?x^\027\205?x^\027\205?x^\027\205?x^\027\205?x^\027\205?x^\027\205?x^\027\205?x^\027\205?x^\027\205?x^\027\205?x^\027\205?x^\027\205?x^\027\205?x^\027\205?x^\027\205?x^\027\205?x^\027\205?x^\027\205?x^\027\205?x^\027\205?x^\027\205?x^\027\205?x^\027\205?x^\027\205?x^\027\205?x^\027\205?x^\027\205?x^\027\205?x^\027\205?x^\027\205?x^\027\205?x^\027\205?x^\027\205?x^\027\205?x^\027\205?x^\027\205?x^\027\205?x^\027\205?x^\027\205?"..., 
    in_size=1157, drop_frame=0) at dec_video.c:329
#5  0x0807317d in main (argc=7, argv=0xbffffdc4) at mplayer.c:1843
Dump of assembler code from 0x80b2907 to 0x80b2947:
0x80b2907 <fast_memcpy_3DNow+71>:	shrl   $0x4d,(%ecx)
0x80b290a <fast_memcpy_3DNow+74>:	adc    %dh,%bl
0x80b290c <fast_memcpy_3DNow+76>:	movsb  %ds:(%esi),%es:(%edi)
0x80b290d <fast_memcpy_3DNow+77>:	mov    0x10(%ebp),%ecx
0x80b2910 <fast_memcpy_3DNow+80>:	andl   $0x3f,0x10(%ebp)
0x80b2914 <fast_memcpy_3DNow+84>:	shr    $0x6,%ecx
0x80b2917 <fast_memcpy_3DNow+87>:	
    jmp    0x80b296c <fast_memcpy_3DNow+172>
0x80b2919 <fast_memcpy_3DNow+89>:	lea    0x0(%esi,1),%esi
0x80b2920 <fast_memcpy_3DNow+96>:	prefetch 0x140(%esi)
0x80b2927 <fast_memcpy_3DNow+103>:	movq   (%esi),%mm0
0x80b292a <fast_memcpy_3DNow+106>:	movq   0x8(%esi),%mm1
0x80b292e <fast_memcpy_3DNow+110>:	movq   0x10(%esi),%mm2
0x80b2932 <fast_memcpy_3DNow+114>:	movq   0x18(%esi),%mm3
0x80b2936 <fast_memcpy_3DNow+118>:	movq   0x20(%esi),%mm4
0x80b293a <fast_memcpy_3DNow+122>:	movq   0x28(%esi),%mm5
0x80b293e <fast_memcpy_3DNow+126>:	movq   0x30(%esi),%mm6
0x80b2942 <fast_memcpy_3DNow+130>:	movq   0x38(%esi),%mm7
0x80b2946 <fast_memcpy_3DNow+134>:	movq   %mm0,(%edi)
End of assembler dump.
eax            0x280	640
ecx            0xa	10
edx            0x80808080	-2139062144
ebx            0x4098c040	1083752512
esp            0xbfffe984	0xbfffe984
ebp            0xbfffe99c	0xbfffe99c
esi            0x80808080	-2139062144
edi            0x4098c040	1083752512
eip            0x80b2927	0x80b2927
eflags         0x10206	66054
cs             0x23	35
ss             0x2b	43
ds             0x2b	43
es             0x2b	43
fs             0x0	0
gs             0x0	0
st0            -nan(0x8080808080808080)	(raw 0xffff8080808080808080)
st1            -nan(0x80008000800080)	(raw 0xffff0080008000800080)
st2            -nan(0x8080808080808080)	(raw 0xffff8080808080808080)
st3            -nan(0x80008000800080)	(raw 0xffff0080008000800080)
st4            -nan(0x8080808080808080)	(raw 0xffff8080808080808080)
st5            -nan(0x80008000800080)	(raw 0xffff0080008000800080)
st6            0	(raw 0x00000000000000000000)
st7            0.045480999885171513597015291452407837	(raw 0x3ffaba4a48f18a000000)
fctrl          0x37f	895
fstat          0x4020	16416
ftag           0xffff	65535
fiseg          0x23	35
fioff          0x80d91b4	135106996
foseg          0x2b	43
fooff          0x82f7400	137327616
fop            0x51d	1309
xmm0           {f = {0x0, 0x0, 0x0, 0x0}}	{f = {-nan(0x7fffff), 
    -nan(0x7fffff), -nan(0x7fffff), -nan(0x7fffff)}}
xmm1           {f = {0x0, 0x0, 0x0, 0x0}}	{f = {-nan(0x7fffff), 
    -nan(0x7fffff), -nan(0x7fffff), -nan(0x7fffff)}}
xmm2           {f = {0x0, 0x0, 0x0, 0x0}}	{f = {-nan(0x7fffff), 
    -nan(0x7fffff), -nan(0x7fffff), -nan(0x7fffff)}}
xmm3           {f = {0x0, 0x0, 0x0, 0x0}}	{f = {-nan(0x7fffff), 
    -nan(0x7fffff), -nan(0x7fffff), -nan(0x7fffff)}}
xmm4           {f = {0x0, 0x0, 0x0, 0x0}}	{f = {-nan(0x7fffff), 
    -nan(0x7fffff), -nan(0x7fffff), -nan(0x7fffff)}}
xmm5           {f = {0x0, 0x0, 0x0, 0x0}}	{f = {-nan(0x7fffff), 
    -nan(0x7fffff), -nan(0x7fffff), -nan(0x7fffff)}}
xmm6           {f = {0x0, 0x0, 0x0, 0x0}}	{f = {-nan(0x7fffff), 
    -nan(0x7fffff), -nan(0x7fffff), -nan(0x7fffff)}}
xmm7           {f = {0x0, 0x0, 0x0, 0x0}}	{f = {-nan(0x7fffff), 
    -nan(0x7fffff), -nan(0x7fffff), -nan(0x7fffff)}}
mxcsr          0x1f80	8064
orig_eax       0xffffffff	-1
-------------- next part --------------
GNU gdb 2002-04-01-cvs
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-linux".
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/local/share/locale


MPlayer CVS-030126-13:11-2.95.4 (C) 2000-2003 Arpad Gereoffy (see DOCS)

CPU: Advanced Micro Devices K6-2 (Family: 5, Stepping: 0)
Detected cache-line size is 32 bytes
CPUflags:  MMX: 1 MMX2: 0 3DNow: 1 3DNow2: 0 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX 3DNow

Reading config file /usr/local/etc/mplayer/mplayer.conf: No such file or directory
Reading config file /root/.mplayer/config
Reading /root/.mplayer/codecs.conf: can't open '/root/.mplayer/codecs.conf': No such file or directory
Reading /usr/local/etc/mplayer/codecs.conf: can't open '/usr/local/etc/mplayer/codecs.conf': No such file or directory
Using built-in default codecs.conf
CommandLine: '/home/gabucino/Media/Movie/Hack-OP.avi' '-vo' 'svga' '-vop' 'scale' '-bpp' '4' '-v'
get_path('font/font.desc') -> '/root/.mplayer/font/font.desc'
font: can't open file: /root/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
init_freetype
Using MMX (with tiny bit 3DNow) Optimized OnScreenDisplay
Using Linux hardware RTC timing (1024Hz).
get_path('input.conf') -> '/root/.mplayer/input.conf'
Can't open input config file /root/.mplayer/input.conf : No such file or directory
Can't open input config file /usr/local/etc/mplayer/input.conf : No such file or directory
Falling back on default (hardcoded) input config
get_path('Hack-OP.avi.conf') -> '/root/.mplayer/Hack-OP.avi.conf'

Playing /home/gabucino/Media/Movie/Hack-OP.avi
Not an URL!
File size is 19236026 bytes
AVI file format detected.
list_end=0x146
======= AVI Header =======
us/frame: 41708  (fps=23.976)
max bytes/sec: 0
padding: 0
MainAVIHeader.dwFlags: (2320) HAS_INDEX IS_INTERLEAVED TRUST_CKTYPE
frames  total: 2158   initial: 0
streams: 2
Suggested BufferSize: 0
Size:  640 x 360
list_end=0xD4
==> Found video stream: 0
======= STREAM Header =======
Type: vids   FCC:  (0)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 0
Rate: 239759/10000 = 23.976
Start: 0   Len: 2158
Suggested BufferSize: 51577
Quality 0
Sample size: 0
found 'bih', 40 bytes of 40
======= VIDEO Format ======
  biSize 40
  biWidth 640
  biHeight 360
  biPlanes 1
  biBitCount 24
  biCompression 861292868='DIV3'
  biSizeImage 691200
===========================
Regenerating keyframe table for DIVX 3 video
list_end=0x146
==> Found audio stream: 1
======= STREAM Header =======
Type: auds   FCC:  (0)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 0
Rate: 16000/1 = 16000.000
Start: 0   Len: 1448000
Suggested BufferSize: 8000
Quality 0
Sample size: 1
found 'wf', 30 bytes of 18
======= WAVE Format =======
Format Tag: 85 (0x55)
Channels: 2
Samplerate: 48000
avg byte/sec: 16000
Block align: 1
bits/sample: 0
cbSize: 12
mp3.wID=1
mp3.fdwFlags=0x2
mp3.nBlockSize=384
mp3.nFramesPerBlock=1
mp3.nCodecDelay=1393
Broken chunk?  chunksize=1714  (id=JUNK)
list_end=0x124F282
Found movie at 0x80C - 0x124F282
Reading INDEX block, 2339 chunks for 2158 frames (fpos=0x124f28a)
AVI index offset: 0x808 (movi=0x80C idx0=0x4 idx1=0x1F4C)
Auto-selected AVI audio ID = 1
Auto-selected AVI video ID = 0
AVI: Searching for audio stream (id:1)
AVI video size=17728740 (2158) audio size=1448000 (1448000)
VIDEO:  [DIV3]  640x360  24bpp  23.98 fps  1575.8 kbps (192.4 kbyte/s)
[V] filefmt:3  fourcc:0x33564944  size:640x360  fps:23.98  ftime:=0.0417
get_path('sub/') -> '/root/.mplayer/sub/'
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
dec_audio: Allocating 4608 + 65536 = 70144 bytes for output buffer
mp3lib: made decode tables with MMX optimization
mp3lib: using 3DNow! optimized decore!
MP3lib: init layer2&3 finished, tables done

MPEG 1.0, Layer III, 48000 Hz 128 kbit Joint-Stereo, BPF: 384
Channels: 2, copyright: No, original: Yes, CRC: No, emphasis: 0
AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 16000->192000 (128.0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
Using EGA driver.
svgalib 1.4.3
Opening video filter: [scale]
SwScale params: -1 x -1 (-1=no scaling)
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
INFO: libavcodec init OK!
Selected video codec: [ffdivx] vfm:ffmpeg (FFmpeg DivX ;-) (MS MPEG-4 v3))
==========================================================================
Checking audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
[libaf] Adding filter dummy 
[dummy] Was reinitialized, rate=48000Hz, nch = 2, format = 0x00000001 and bps = 2
AF_pre: af format: 2 bps, 2 ch, 48000 hz, little endian signed int 
AF_pre: 48000Hz 2ch Signed 16-bit (Little-Endian)
ao2: 48000 Hz  2 chans  Signed 16-bit (Little-Endian)
audio_setup: using '/dev/dsp' dsp device
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 46790 Hz samplerate (requested: 48000)
audio_setup: frags:  16/16  (4096 bytes/frag)  free:  65536
AO: [oss] 46790Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
AO: Description: OSS/ioctl audio output
AO: Author: A'rpi
Building audio filter chain for 48000Hz/2ch/16bit -> 46790Hz/2ch/16bit...
[dummy] Was reinitialized, rate=48000Hz, nch = 2, format = 0x00000001 and bps = 2
[libaf] Adding filter resample 
[resample] Changing sample rate to 46790Hz
[resample] Using integer processing and inexact frequecy conversion.
[resample] New filter designed up: 4679 down: 4800
[dummy] Was reinitialized, rate=48000Hz, nch = 2, format = 0x00000001 and bps = 2
[resample] Using integer processing and inexact frequecy conversion.
Starting playback...
[libaf] Reallocating memory in module resample, old len = 0, new len = 63884
[ffmpeg] aspect_ratio: 0.000000
VDec: vo config request - 640 x 360 (preferred csp: Planar YV12)
scale: query(BGR 32-bit) -> 0
scale: query(RGB 32-bit) -> 0
scale: query(BGR 24-bit) -> 0
scale: query(RGB 24-bit) -> 0
scale: query(BGR 16-bit) -> 0
scale: query(RGB 16-bit) -> 0
scale: query(BGR 15-bit) -> 0
scale: query(RGB 15-bit) -> 0
scale: query(BGR 8-bit) -> 0
scale: query(RGB 8-bit) -> 0
scale: query(BGR 4-bit) -> 1
scale: query(RGB 4-bit) -> 1
scale: query(BGR 1-bit) -> 0
scale: query(RGB 1-bit) -> 0
scale: query(Planar 444P) -> 0
scale: query(Planar 422P) -> 0
scale: query(Planar YV12) -> 1
scale: query(Planar I420) -> 0
scale: query(Planar IYUV) -> 0
scale: query(Planar YVU9) -> 0
scale: query(Planar IF09) -> 0
scale: query(Planar 411P) -> 0
scale: query(Planar Y800) -> 0
scale: query(Planar Y8) -> 0
scale: query(Packed YUY2) -> 0
scale: query(BGR 32-bit) -> 0
scale: query(RGB 32-bit) -> 0
scale: query(BGR 24-bit) -> 0
scale: query(RGB 24-bit) -> 0
scale: query(BGR 16-bit) -> 0
scale: query(RGB 16-bit) -> 0
scale: query(BGR 15-bit) -> 0
scale: query(RGB 15-bit) -> 0
scale: query(BGR 8-bit) -> 0
scale: query(RGB 8-bit) -> 0
scale: query(BGR 4-bit) -> 1
scale: query(RGB 4-bit) -> 1
scale: query(BGR 1-bit) -> 0
scale: query(RGB 1-bit) -> 0
scale: query(Planar 444P) -> 0
scale: query(Planar 422P) -> 0
scale: query(Planar YV12) -> 1
scale: query(Planar I420) -> 0
scale: query(Planar IYUV) -> 0
scale: query(Planar YVU9) -> 0
scale: query(Planar IF09) -> 0
scale: query(Planar 411P) -> 0
scale: query(Planar Y800) -> 0
scale: query(Planar Y8) -> 0
scale: query(Packed YUY2) -> 0
scale: query(BGR 32-bit) -> 0
scale: query(RGB 32-bit) -> 0
scale: query(BGR 24-bit) -> 0
scale: query(RGB 24-bit) -> 0
scale: query(BGR 16-bit) -> 0
scale: query(RGB 16-bit) -> 0
scale: query(BGR 15-bit) -> 0
scale: query(RGB 15-bit) -> 0
scale: query(BGR 8-bit) -> 0
scale: query(RGB 8-bit) -> 0
scale: query(BGR 4-bit) -> 1
scale: query(RGB 4-bit) -> 1
scale: query(BGR 1-bit) -> 0
scale: query(RGB 1-bit) -> 0
scale: query(Planar 444P) -> 0
scale: query(Planar 422P) -> 0
scale: query(Planar YV12) -> 1
scale: query(Planar I420) -> 0
scale: query(Planar IYUV) -> 0
scale: query(Planar YVU9) -> 0
scale: query(Planar IF09) -> 0
scale: query(Planar 411P) -> 0
scale: query(Planar Y800) -> 0
scale: query(Planar Y8) -> 0
scale: query(Packed YUY2) -> 0
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO Config (640x360->640x360,flags=0,'MPlayer',0x32315659)
scale: query(BGR 32-bit) -> 0
scale: query(RGB 32-bit) -> 0
scale: query(BGR 24-bit) -> 0
scale: query(RGB 24-bit) -> 0
scale: query(BGR 16-bit) -> 0
scale: query(RGB 16-bit) -> 0
scale: query(BGR 15-bit) -> 0
scale: query(RGB 15-bit) -> 0
scale: query(BGR 8-bit) -> 0
scale: query(RGB 8-bit) -> 0
scale: query(BGR 4-bit) -> 1
scale: query(RGB 4-bit) -> 1
scale: query(BGR 1-bit) -> 0
scale: query(RGB 1-bit) -> 0
scale: query(Planar 444P) -> 0
scale: query(Planar 422P) -> 0
scale: query(Planar YV12) -> 1
scale: query(Planar I420) -> 0
scale: query(Planar IYUV) -> 0
scale: query(Planar YVU9) -> 0
scale: query(Planar IF09) -> 0
scale: query(Planar 411P) -> 0
scale: query(Planar Y800) -> 0
scale: query(Planar Y8) -> 0
scale: query(Packed YUY2) -> 0
Cannot init MMX colorspace transform
No accelerated colorspace conversion found
SwScaler: using unscaled Planar YV12 -> BGR 4-bit special converter
REQ: flags=0x1  req=0x0  
VO: [svga] 640x360 => 640x360 BGR 4-bit 
VO: Description: SVGAlib
VO: Author: Zoltan Mark Vician <se7en at sch.bme.hu>
FATAL: Cannot initialize video driver.
vo_svga: config(640, 360, 640, 360, 00000000, MPlayer, 42475204)
vo_svga: vo_dbpp == 4
vo_svga: 4bpp not supported in 640x360 (or larger resolution) by HW or SVGAlib
init_vo failed
*** [vo] Allocating mp_image_t, 640x360x4bpp BGR packed, 115200 bytes
[New Thread 1024 (LWP 20587)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 20587)]
0x0819a1f4 in yuv2rgb_c_4_ordered_dither (
    py_1=0x280 <Address 0x280 out of bounds>, 
    py_2=0x3c0 <Address 0x3c0 out of bounds>, 
    pu=0x168 <Address 0x168 out of bounds>, 
    pv=0x280 <Address 0x280 out of bounds>, _dst_1=0x85502c0, 
    _dst_2=0x8550400, h_size=79, v_pos=28358) at yuv2rgb.c:666
666		RGB(0);
#0  0x0819a1f4 in yuv2rgb_c_4_ordered_dither (
    py_1=0x280 <Address 0x280 out of bounds>, 
    py_2=0x3c0 <Address 0x3c0 out of bounds>, 
    pu=0x168 <Address 0x168 out of bounds>, 
    pv=0x280 <Address 0x280 out of bounds>, _dst_1=0x85502c0, 
    _dst_2=0x8550400, h_size=79, v_pos=28358) at yuv2rgb.c:666
#1  0x08198d5d in yuv2rgb_c (dst=0x85502c0, 
    py=0x280 <Address 0x280 out of bounds>, 
    pu=0x168 <Address 0x168 out of bounds>, 
    pv=0x280 <Address 0x280 out of bounds>, h_size=640, v_size=28361, 
    rgb_stride=320, y_stride=320, uv_stride=180) at yuv2rgb.c:249
#2  0x0818ab4b in planarYuvToBgr (c=0x852b040, src=0x852b040, 
    srcStride=0x852b050, srcSliceY=0, srcSliceH=28361, dstParam=0x8550250, 
    dstStride=0x8550260) at swscale.c:1627
#3  0x080e6e6f in put_image (vf=0x84337b0, mpi=0x852b020) at vf_scale.c:206
#4  0x080d91d8 in decode_video (sh_video=0x8416c40, 
    start=0x8421fb0 "\aq\003\003?x^\027\205?x^\027\205?x^\027\205?x^\027\205?x^\027\205?x^\027\205?x^\027\205?x^\027\205?x^\027\205?x^\027\205?x^\027\205?x^\027\205?x^\027\205?x^\027\205?x^\027\205?x^\027\205?x^\027\205?x^\027\205?x^\027\205?x^\027\205?x^\027\205?x^\027\205?x^\027\205?x^\027\205?x^\027\205?x^\027\205?x^\027\205?x^\027\205?x^\027\205?x^\027\205?x^\027\205?x^\027\205?x^\027\205?x^\027\205?x^\027\205?x^\027\205?x^\027\205?x^\027\205?x^\027\205?"..., 
    in_size=1157, drop_frame=0) at dec_video.c:329
#5  0x0807317d in main (argc=9, argv=0xbffffda4) at mplayer.c:1843
Dump of assembler code from 0x819a1d4 to 0x819a214:
0x819a1d4 <yuv2rgb_c_4_ordered_dither+24>:	mov    0x1c(%ebp),%edx
0x819a1d7 <yuv2rgb_c_4_ordered_dither+27>:	mov    %ecx,0xfffffff4(%ebp)
0x819a1da <yuv2rgb_c_4_ordered_dither+30>:	mov    %edx,0xfffffff0(%ebp)
0x819a1dd <yuv2rgb_c_4_ordered_dither+33>:	subl   $0x1,0xfffffffc(%ebp)
0x819a1e1 <yuv2rgb_c_4_ordered_dither+37>:	
    jb     0x819a57b <yuv2rgb_c_4_ordered_dither+959>
0x819a1e7 <yuv2rgb_c_4_ordered_dither+43>:	and    $0x7,%eax
0x819a1ea <yuv2rgb_c_4_ordered_dither+46>:	lea    0x0(,%eax,8),%ebx
0x819a1f1 <yuv2rgb_c_4_ordered_dither+53>:	mov    0x10(%ebp),%ecx
0x819a1f4 <yuv2rgb_c_4_ordered_dither+56>:	movzbl (%ecx),%edx
0x819a1f7 <yuv2rgb_c_4_ordered_dither+59>:	mov    0x14(%ebp),%ecx
0x819a1fa <yuv2rgb_c_4_ordered_dither+62>:	movzbl (%ecx),%eax
0x819a1fd <yuv2rgb_c_4_ordered_dither+65>:	shl    $0x2,%edx
0x819a200 <yuv2rgb_c_4_ordered_dither+68>:	shl    $0x2,%eax
0x819a203 <yuv2rgb_c_4_ordered_dither+71>:	mov    0x83fb520(%eax),%ecx
0x819a209 <yuv2rgb_c_4_ordered_dither+77>:	mov    %ecx,0xfffffff8(%ebp)
0x819a20c <yuv2rgb_c_4_ordered_dither+80>:	mov    0x83fb940(%eax),%esi
0x819a212 <yuv2rgb_c_4_ordered_dither+86>:	mov    0x83fbd40(%edx),%edi
End of assembler dump.
eax            0x6	6
ecx            0x168	360
edx            0x8550400	139789312
ebx            0x30	48
esp            0xbfffe974	0xbfffe974
ebp            0xbfffe99c	0xbfffe99c
esi            0x280	640
edi            0x85502c0	139788992
eip            0x819a1f4	0x819a1f4
eflags         0x10206	66054
cs             0x23	35
ss             0x2b	43
ds             0x2b	43
es             0x2b	43
fs             0x0	0
gs             0x0	0
st0            -nan(0x8080808080808080)	(raw 0xffff8080808080808080)
st1            -nan(0x80008000800080)	(raw 0xffff0080008000800080)
st2            -nan(0x8080808080808080)	(raw 0xffff8080808080808080)
st3            -nan(0x80008000800080)	(raw 0xffff0080008000800080)
st4            -nan(0x8080808080808080)	(raw 0xffff8080808080808080)
st5            -nan(0x80008000800080)	(raw 0xffff0080008000800080)
st6            0	(raw 0x00000000000000000000)
st7            0.046508999882576063100714236497879028	(raw 0x3ffabe80389772000000)
fctrl          0x37f	895
fstat          0x4020	16416
ftag           0xffff	65535
fiseg          0x23	35
fioff          0x80d91b4	135106996
foseg          0x2b	43
fooff          0x82f7400	137327616
fop            0x51d	1309
xmm0           {f = {0x0, 0x0, 0x0, 0x0}}	{f = {-nan(0x7fffff), 
    -nan(0x7fffff), -nan(0x7fffff), -nan(0x7fffff)}}
xmm1           {f = {0x0, 0x0, 0x0, 0x0}}	{f = {-nan(0x7fffff), 
    -nan(0x7fffff), -nan(0x7fffff), -nan(0x7fffff)}}
xmm2           {f = {0x0, 0x0, 0x0, 0x0}}	{f = {-nan(0x7fffff), 
    -nan(0x7fffff), -nan(0x7fffff), -nan(0x7fffff)}}
xmm3           {f = {0x0, 0x0, 0x0, 0x0}}	{f = {-nan(0x7fffff), 
    -nan(0x7fffff), -nan(0x7fffff), -nan(0x7fffff)}}
xmm4           {f = {0x0, 0x0, 0x0, 0x0}}	{f = {-nan(0x7fffff), 
    -nan(0x7fffff), -nan(0x7fffff), -nan(0x7fffff)}}
xmm5           {f = {0x0, 0x0, 0x0, 0x0}}	{f = {-nan(0x7fffff), 
    -nan(0x7fffff), -nan(0x7fffff), -nan(0x7fffff)}}
xmm6           {f = {0x0, 0x0, 0x0, 0x0}}	{f = {-nan(0x7fffff), 
    -nan(0x7fffff), -nan(0x7fffff), -nan(0x7fffff)}}
xmm7           {f = {0x0, 0x0, 0x0, 0x0}}	{f = {-nan(0x7fffff), 
    -nan(0x7fffff), -nan(0x7fffff), -nan(0x7fffff)}}
mxcsr          0x1f80	8064
orig_eax       0xffffffff	-1
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20030126/8fdddb2f/attachment.pgp>


More information about the MPlayer-dev-eng mailing list