[Mplayer-users] Re: Brightness jump with ffmpeg

Anssi Saari as at sci.fi
Wed Jul 25 22:44:24 CEST 2001


On Wed, Jul 25, 2001 at 09:08:49PM +0200, Arpi wrote:
> Hi,
> 
> > > yes, it's known. i've read it on ffmpeg list some days ago.
> > > but Gerard don't know how to fix it, because all rounding stuff is
> > > correct, checked many times.
> > > 
> > > is it ok with divx4 ?
> > 
> > No, similar problem, except that the papers are a little reddish in color.
> Hmm. I thought it's 100% ok...
> 
> 
> > BTW, am I supposed to be able to use ffdivx if divx4 support is compiled
> > in? I get a signal 11 in that case.
> no, it should work. it does work for me together.
> 
> can you debug that sig11? read DOCS/BUGREPORTS for details.

Yes, I'll put the output below. I hope I'm not supposed to configure
with --enable-debug? I did that and then it doesn't crash...

Distribution: Debian Woody
Kernel version: Linux dorkstar 2.2.19 #6 Wed Jun 6 15:56:06 EEST 2001 i686 unknown
libc version: /lib/libc-2.2.3.so /lib/libc.so.5 /lib/libc.so.5.4.46 /lib/libc.so.6
X version: XFree86 Version 4.0.3 / X Window System
gcc version: gcc version 2.95.4 20010319 (Debian prerelease)
ld version: GNU ld version 2.11.90.0.7 (with BFD 2.11.90.0.7)
binutils version: GNU assembler 2.11.90.0.7

Hardware & drivers:
CPU info:
processor       : 0
vendor_id       : AuthenticAMD
cpu family      : 6
model           : 3
model name      : AMD Duron(tm) Processor
stepping        : 1
cpu MHz         : 799.619
cache size      : 64 KB
fdiv_bug        : no
hlt_bug         : no
sep_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 1
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat pse36 psn mmxext mmx 
fxsr 3dnowext 3dnow
bogomips        : 1595.80

video card manufacturer and model:
Elsa Gladiac MX, NVidia Geforce 2MX 32MB SDRAM

video driver type&version:
NVidia 1.0-1251

sound card type & driver:
Creative SB128PCI with OSS drivers of kernel

> gdb mplayer-divx4
GNU gdb 19990928
Copyright 1998 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 "i686-pc-linux-gnu"...(no debugging symbols found)...
(gdb) run -v -vfm 5 -nofs -pp 0 brightness_problem.avi
Starting program: /usr/local/bin/mplayer-divx4 -v -vfm 5 -nofs -pp 0 brightness_problem.avi


MPlayer 0.17cvs-010725-12:15(C) 2000-2001 Arpad Gereoffy <arpi at thot.banki.hu>

CommandLine: '-v' '-vfm' '5' '-nofs' '-pp' '0' 'brightness_problem.avi'
Reading /home/as/.mplayer/codecs.conf: 15 audio & 33 video codecs
Font /home/as/.mplayer/font/font.desc loaded successfully! (140 chars)
Detected AVI file format!
======= AVI Header =======
us/frame: 33367  (fps=29.970)
max bytes/sec: 0
padding: 0
flags: (272) HAS_INDEX IS_INTERLEAVED
frames  total: 445   initial: 0
streams: 2
Suggested BufferSize: 0
Size:  352 x 248
==> Found video stream: 0
======= STREAM Header =======
Type: vids   FCC: div3 (33766964)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 0
Rate: 2997/100 = 29.970
Start: 0   Len: 445
Suggested BufferSize: 7079
Quality 10000
Sample size: 0
found 'bih', 40 bytes of 40
==> Found audio stream: 1
======= STREAM Header =======
Type: auds   FCC:  (0)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 1
Rate: 11982/1 = 11982.000
Start: 0   Len: 177912
Suggested BufferSize: 5991
Quality -1
Sample size: 1
found 'wf', 30 bytes of 20
======= WAVE Format =======
Format Tag: 85 (0x55)
Channels: 2
Samplerate: 44100
avg byte/sec: 11982
Block align: 1
bits/sample: 0
cbSize: 12
Found movie at 0x280C - 0x1375C4
Reading INDEX block, 877 chunks for 445 frames
AVI index offset: 10248
Auto-selected AVI audio ID = 1
Auto-selected AVI video ID = 0
AVI: Searching for audio stream (id:1)
AVI video length=1080152
VIDEO:  [DIV3]  352x248  24bpp  29.97 fps  582.0 kbps (71.0 kbyte/s)
[V] filefmt:3  fourcc:0x33564944  size:352x248  fps:29.97  ftime:=0.0334
Detected audio codec: [mp3] drv:1 (MPEG layer-2, layer-3)
Initializing audio codec...
dec_audio: Allocating 4608 + 65536 = 70144 bytes for output buffer
mp3lib: Processor ID: 631
mp3lib: Using AMD 3dnow-dsp(k7)! optimized decore.
AUDIO: srate=44100  chans=2  bps=2  sfmt=0x10  ratio: 12000->176400
Trying to force video codec driver family 5 ...
Detected video codec: [ffdivx] drv:5 (FFmpeg DivX ;-) (MS MPEG-4 v3))
vo_debug: query(Planar YV12) returned 0x1
vo_debug1: out_fmt=Planar YV12
FFmpeg's libavcodec video codec
libavcodec.size: 352 x 248
INFO: libavcodec init OK!
VO: [xv] 352x248 => 352x248 Planar YV12 zoom 
VO: Description: X11/Xv
VO: Author: Gerd Knorr <kraxel at goldbach.in-berlin.de>
video_out->init(352x248->352x248,flags=4,'MPlayer',0x32315659)
vo: X11 color mask:  FFFFFF  (R:FF0000 G:FF00 B:FF)
vo: X11 running at 1600x1200 depth: 32 (":0.0" => local display)
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 58 for hw scaling
[xv] dcx: 1 dcy: 1 dx: 0 dy: 0 dw: 352 dh: 248
INFO: Video OUT driver init OK!
AO: [oss] 44100Hz Stereo Signed 16-bit (Little-Endian)
AO: Description: OSS/ioctl audio output
AO: Author: A'rpi
ao2: 44100 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 44100 Hz samplerate (requested: 44100)
audio_setup: frags: 128/128  (1024 bytes/frag)  free: 131072
Initial frame delay  A: 1  V: 0
AVI Initial frame delay: 0.033
START:  a_pts=0.000  v_pts=0.000  
Start playing...
[xv] dcx: 1 dcy: 1 dx: 0 dy: 0 dw: 352 dh: 248
Initial PTS delay: -0.614 sec  (calculated: -0.648)
v: audio_delay=-0.648  buffer_delay=0.681  a.pts=0.033  v.pts=0.000
A:   0.0 (   0.0)  V:  -0.0  A-V:  0.241 ct:  0.000    2   0%  0%  0.0% 0(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...
Program received signal SIGSEGV, Segmentation fault.
0x809f78a in dprintf ()
(gdb) bt
#0  0x809f78a in dprintf ()
(gdb) disass $eip-32 $eip+32
Dump of assembler code from 0x809f76a to 0x809f7aa:
0x809f76a <dprintf+155210>:	mov    %eax,%edx
0x809f76c <dprintf+155212>:	add    $0x10,%esp
0x809f76f <dprintf+155215>:	test   %edx,%edx
0x809f771 <dprintf+155217>:	jl     0x809f7cf <dprintf+155311>
0x809f773 <dprintf+155219>:	cmp    (%esi),%edx
0x809f775 <dprintf+155221>:	jge    0x809f7cf <dprintf+155311>
0x809f777 <dprintf+155223>:	mov    0xc(%esi),%eax
0x809f77a <dprintf+155226>:	movsbl (%edx,%eax,1),%edi
0x809f77e <dprintf+155230>:	mov    0x10(%esi),%eax
0x809f781 <dprintf+155233>:	movsbl (%edx,%eax,1),%ebx
0x809f785 <dprintf+155237>:	cmp    (%esi),%edx
0x809f787 <dprintf+155239>:	add    $0xf,%al
0x809f789 <dprintf+155241>:	popf   
0x809f78a <dprintf+155242>:	rorb   $0xb6,(%edi)
0x809f78d <dprintf+155245>:	call   0x932e3e1f
0x809f792 <dprintf+155250>:	add    $0xa8,%al
0x809f794 <dprintf+155252>:	movsbl (%ebx,%eax,1),%eax
0x809f798 <dprintf+155256>:	add    0x24(%esp,1),%eax
0x809f79c <dprintf+155260>:	add    $0xfffffff8,%esp
0x809f79f <dprintf+155263>:	push   $0x1
0x809f7a1 <dprintf+155265>:	mov    0x24(%esp,1),%ecx
0x809f7a5 <dprintf+155269>:	add    %eax,%edi
0x809f7a7 <dprintf+155271>:	push   %ecx
0x809f7a8 <dprintf+155272>:	jmp    0x809f831 <dprintf+155409>
End of assembler dump.

_______________________________________________
Mplayer-users mailing list
Mplayer-users at lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/mplayer-users



More information about the MPlayer-users mailing list