[MPlayer-dev-eng] [BUG] sig6 in vd_ffmpeg with specific (?) file

gabucino at mplayerhq.hu gabucino at mplayerhq.hu
Wed Aug 28 17:58:45 CEST 2002


$SUBJECT
	-vop pp -autoq 0 file.avi sig6
	-vop pp -autoq 1 file.avi sig6	
	-vop pp -autoq 2+ file.avi works

Turning off direct rendering doesn't.
Config file commands (with -vop pp) included in the...

gdb output:

GNU gdb 5.0
Copyright 2000 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 "i586-pc-linux-gnu"...
(gdb) run ~/Media/Movie/Hack-OP.avi -v -autoq 0
Starting program: /home/gabucino/mplayer/src/./mplayer ~/Media/Movie/Hack-OP.avi -v -autoq 0


MPlayer CVS-020825-22:50-2.95.3 (C) 2000-2002 Arpad Gereoffy (see DOCS!)

CPU: Advanced Micro Devices K6-2 (Family: 5, Stepping: 12)
CPUflags:  MMX: 1 MMX2: 0 3DNow: 1 3DNow2: 0 SSE: 0 SSE2: 0
Compiled with RUNTIME CPU Detection - warning, it's not optimal! To get best performance, recompile mplayer from sources with --disable-runtime-cpudetection
Reading /home/gabucino/.mplayer/codecs.conf: can't open '/home/gabucino/.mplayer/codecs.conf': No such file or directory
Reading /usr/local/share/mplayer/codecs.conf: 38 audio & 106 video codecs
CommandLine:get_path('font/font.desc') -> '/home/gabucino/.mplayer/font/font.desc'
 '/home/gabucino/Media/Movie/Hack-OP.avi' '-v' '-autoq' '0'
Using MMX (with tiny bit 3DNow) Optimized OnScreenDisplay
Font /home/gabucino/.mplayer/font/font.desc loaded successfully! (206 chars)
Using usleep() timing
get_path('input.conf') -> '/home/gabucino/.mplayer/input.conf'
Could not access the 'termcap' data base.
Parsing input config file /home/gabucino/.mplayer/input.conf
Input config file /home/gabucino/.mplayer/input.conf parsed : 50 binds

Playing /home/gabucino/Media/Movie/Hack-OP.avi
Not an URL!
File size is 19236026 bytes
CACHE_PRE_INIT: 0 [0] 0  pre:0  eof:0  

Cache fill:  0.00% (0 bytes)    Detected AVI file format!
list_end=0x146
list_end=0xD4
======= 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
==> Found video stream: 0
found 'bih', 40 bytes of 40
======= 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
Regenerating keyframe table for DIVX 3 video
======= VIDEO Format ======
  biSize 40
  biWidth 640
  biHeight 360
  biPlanes 1
  biBitCount 24
  biCompression 861292868='DIV3'
  biSizeImage 691200
===========================
list_end=0x146
==> Found audio stream: 1
found 'wf', 30 bytes of 20
======= 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
Broken chunk?  chunksize=1714  (id=JUNK)
======= 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
list_end=0x124F282
Found movie at 0x80C - 0x124F282
Reading INDEX block, 2339 chunks for 2158 frames
Broken chunk?  chunksize=0  (id=idx1)
Reading INDEX block, 2339 chunks for 2158 frames
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 length=17729830
VIDEO:  [DIV3]  640x360  24bpp  23.98 fps  1575.9 kbps (192.4 kbyte/s)
[V] filefmt:3  fourcc:0x33564944  size:640x360  fps:23.98  ftime:=0.0417
get_path('sub/') -> '/home/gabucino/.mplayer/sub/'
Detected audio codec: [mp3] afm:1 (mp3lib MPEG layer-2, layer-3)
Initializing audio codec...
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
init layer2&3 finished, tables done
mp3lib: using 3DNow! optimized decore!

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, sfmt: 0x10 (2 bps), ratio: 16000->192000 (128.0 kbit)
X11 opening display: :0.0
vo: X11 color mask:  FFFFFF  (R:FF0000 G:FF00 B:FF)
vo: X11 running at 1024x768 with depth 24 and 32 bpp (":0.0" => local display)
Opening video filter: [pp]
[vo] query(Planar YV12) -> 3
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
INFO: libavcodec init OK!
libavcodec: CPU flags: mmx 3dnow
Detected video codec: [ffdivx] vfm:5 (FFmpeg DivX ;-) (MS MPEG-4 v3))
==========================================================================
AO: [oss] 48000Hz 2ch Signed 16-bit (Little-Endian)
AO: Description: OSS/ioctl audio output
AO: Author: A'rpi
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 48000 Hz samplerate (requested: 48000)
audio_setup: frags:  16/16  (4096 bytes/frag)  free:  65536
Start playing...
VDec: vo config request - 640 x 360 (preferred csp: Planar YV12)
[PP] Using external postprocessing filter, max q = 6
vo_debug: query(Planar YV12) returned 0xC37 (i=0) 
Movie-Aspect is undefined - no prescaling applied.
video_out->init(640x360->640x360,flags=1,'MPlayer',0x32315659)
REQ: flags=0x437  req=0x0  
VO: [xv] 640x360 => 640x360 Planar YV12  [fs]
VO: Description: X11/Xv
VO: Author: Gerd Knorr <kraxel at goldbach.in-berlin.de> and others
Xvideo image format: 0x32595559 (YUY2) packed
Xvideo image format: 0x32315659 (YV12) planar
Xvideo image format: 0x59565955 (UYVY) packed
Xvideo image format: 0x30323449 (I420) planar
using Xvideo port 85 for hw scaling
[xv] dx: 0 dy: 0 dw: 640 dh: 360
*** [vo] Allocating mp_image_t, 640x368x12bpp YUV planar, 353280 bytes
*** [pp] Direct Rendering mp_image_t, 640x368x12bpp YUV planar, 353280 bytes
[xv] dx: 0 dy: 0 dw: 1024 dh: 768
[xv-fs] dx: 0 dy: 96 dw: 1024 dh: 576
A:   0.3 V:   0.0 A-V:  0.250 ct:  0.000    1/  1   0%  0%  0.0% 0 0 95%
XXX initial  v_pts=0.000  a_pos=8000 (0.500) 
*** [vo] Allocating mp_image_t, 640x368x12bpp YUV planar, 353280 bytes
*** [pp] Direct Rendering mp_image_t, 640x368x12bpp YUV planar, 353280 bytes
A:   0.3 V:   0.0 A-V:  0.235 ct:  0.004    2/  2   0%  0%  0.0% 1 0 97%
mplayer: vd_ffmpeg.c:363: get_buffer: Assertion `mpi->planes[0] > mpi->planes[2] || mpi->planes[0] + y_size <= mpi->planes[2]' failed.
[New Thread 1024 (LWP 17464)]

Program received signal SIGABRT, Aborted.
[Switching to Thread 1024 (LWP 17464)]
0x40331991 in kill () from /lib/libc.so.6
(gdb) bt
#0  0x40331991 in kill () from /lib/libc.so.6
#1  0x4004be3f in pthread_kill () from /lib/libpthread.so.0
#2  0x4004c30e in raise () from /lib/libpthread.so.0
#3  0x40332e31 in abort () from /lib/libc.so.6
#4  0x4032bb12 in Letext () from /lib/libc.so.6
#5  0x80a2c87 in get_buffer ()
#6  0x32315659 in ?? ()
Cannot access memory at address 0xc03a31b
(gdb) disass $eip-32 $eip+32
Dump of assembler code from 0x40331971 to 0x403319b1:
0x40331971 <sigprocmask+161>:	(bad)  
0x40331972 <sigprocmask+162>:	(bad)  
0x40331973 <sigprocmask+163>:	(bad)  
0x40331974 <sigprocmask+164>:	decl   0x5f5e5bf0(%ecx)
0x4033197a <sigprocmask+170>:	mov    %ebp,%esp
0x4033197c <sigprocmask+172>:	pop    %ebp
0x4033197d <sigprocmask+173>:	ret    
0x4033197e <Letext>:	mov    %esi,%esi
0x40331980 <kill>:	mov    %ebx,%edx
0x40331982 <kill+2>:	mov    0x8(%esp,1),%ecx
0x40331986 <kill+6>:	mov    0x4(%esp,1),%ebx
0x4033198a <kill+10>:	mov    $0x25,%eax
0x4033198f <kill+15>:	int    $0x80
0x40331991 <kill+17>:	mov    %edx,%ebx
0x40331993 <kill+19>:	cmp    $0xfffff001,%eax
0x40331998 <kill+24>:	jae    0x4033199b <kill+27>
0x4033199a <kill+26>:	ret    
0x4033199b <kill+27>:	push   %ebx
0x4033199c <kill+28>:	call   0x403319a1 <kill+33>
0x403319a1 <kill+33>:	pop    %ebx
0x403319a2 <kill+34>:	xor    %edx,%edx
0x403319a4 <kill+36>:	add    $0xf1fcb,%ebx
0x403319aa <kill+42>:	sub    %eax,%edx
0x403319ac <kill+44>:	push   %edx
0x403319ad <kill+45>:	call   0x40320288 <__curses_buttons+127472>
End of assembler dump.

Upload?

-- 
Gabucino

/ Worshipping Niedermayer 4ever /
"Do you always look at it encoded?" (C) D. R. F.
"minden lehet. ez nem." (c) A'rpi
-------------- 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/20020828/275aed4a/attachment.pgp>


More information about the MPlayer-dev-eng mailing list