[MPlayer-users] bug report (the new -mf option)
mammique
mammique at lamenagerie.com
Fri Mar 22 02:51:02 CET 2002
hi,
i'm working in animation movies (french artists association), and i'm
really enjoy because of this new feature in my favorite movie player :)
i'm currently creating an animation program which will be an interface
between gphoto2 and/or sane to grab pictures, manipulate it, and view it
on-the-fly into mplayer (slave mode), and after export the final movie
file with mencoder (mjpeg, divx, etc...).
But it seems it's not working in Latest CVS snapshot MPlayer-20020321:
command: mplayer -v \*.JPG -mf on:w=360:h=240:fps=12
"MPlayer interrupted by signal 11 in module: init_vo_vaa"
(traduced by me from french "MPlayer interrompu par le signal 11 dans le
module: init_vo_vaa")
but if i use mencoder in raw output mode it works (image is inverted but
it works :)).
all required debug and info files are joint to this mail.
i've two other questions:
- is mplayer able to read a specific list of files ? not only *.jpg or
*.png ?
- is mplayer's seek function (slave mode) enough precise to seek onto a
precise frame ? the argument is given in second (not a problem) but it
seems mplayer don't read the whole float value (only one number after
the floating-point) . Is it possible to give it a frame number ?
thanx :)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mplayer.log
Type: text/x-log
Size: 2236 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-users/attachments/20020322/788a6659/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: configure.log
Type: text/x-log
Size: 43004 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-users/attachments/20020322/788a6659/attachment-0001.bin>
-------------- next part --------------
include ../config.mak
OPTIONAL_SRCS = vo_x11.c vo_xv.c vo_dga.c vo_gl.c vo_gl2.c vo_fbdev.c vo_png.c vo_vesa.c vesa_lvo.c vo_xvidix.c
OPTIONAL_OBJS = vo_x11.o vo_xv.o vo_dga.o vo_gl.o vo_gl2.o vo_fbdev.o vo_png.o vo_vesa.o vesa_lvo.o vo_xvidix.o
-------------- next part --------------
# -------- Generated by configure -----------
LANG = C
TARGET_OS = Linux
prefix = /usr/local
DATADIR = /usr/local/share/mplayer
CONFDIR = /usr/local/share/mplayer
LIBDIR = /usr/local/lib/mplayer
AR = ar
CC = gcc
AWK = gawk
# OPTFLAGS = -O4 -g3 -march=athlon -mcpu=athlon -pipe -fomit-frame-pointer -ffast-math
OPTFLAGS = -W -Wall -O2 -march=athlon -mcpu=athlon -g3 -D_REENTRANT
EXTRA_INC = -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include
WIN32_PATH = -DWIN32_PATH=\"/usr/lib/win32\"
STREAMING = yes
STREAMING_LIB = -lnsl
VIDIX = yes
OPENDIVX = yes
VO2 = no
PNG = yes
JPEG = yes
EXTRA_LIB =
Z_LIB = -lz
HAVE_MLIB = no
STATIC_LIB =
X11_INC =
X11DIR = -L/usr/X11R6/lib -lX11 -lXext -lnsl
# video output
X_LIB = -L/usr/X11R6/lib -lX11 -lXext -lnsl -lGL -lXxf86dga -lXv -lXxf86vm -lXinerama -lnsl
GGI_LIB =
MLIB_LIB =
MLIB_INC =
PNG_LIB = -lpng -lz
JPEG_LIB = -ljpeg
SDL_LIB =
SVGA_LIB =
AA_LIB =
# audio output
ALSA_LIB =
NAS_LIB =
MAD_LIB =
VORBIS_LIB =
FAAD_LIB =
SGIAUDIO_LIB =
# input
TERMCAP_LIB =
LIRC_LIB =
CSS_USE = no
CSS_LIB =
SDL_INC =
W32_DEP = loader/libloader.a
W32_LIB = -Lloader -lloader
DS_DEP = loader/dshow/libDS_Filter.a
DS_LIB = -Lloader/dshow -lDS_Filter
AV_DEP =
AV_LIB =
MP1E_DEP =
MP1E_LIB =
ARCH_LIB = -lpthread -ldl -rdynamic
DIVX4LINUX = no
XVID = no
DECORE_LIB = -Lopendivx -ldecore
MENCODER = yes
ENCORE_LIB =
DIRECTFB_LIB =
NEW_INPUT_LIB = -Linput -linput
# --- Some stuff for autoconfigure ----
TARGET_ARCH_X86 = yes
TARGET_CYGWIN = no
TARGET_CPU=686
TARGET_MMX = yes
TARGET_MMX2 = yes
TARGET_3DNOW = yes
TARGET_3DNOWEX = yes
TARGET_SSE = no
BINUTILS = yes
# --- GUI stuff ---
GTKLIB = -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm
GLIBLIB = -L/usr/lib -lglib
GTK_LIBS = $(GTKLIB) $(GLIBLIB)
GUI = yes
DEBUG = -DDEBUG
# --- HAZARDOUS STUFF
ENABLE_XP=no
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.h
Type: text/x-chdr
Size: 8164 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-users/attachments/20020322/788a6659/attachment.h>
-------------- next part --------------
1. The system info what we always want:
* linux distribution
Mandrake 8.1
* kernel version:
Linux NelsonMonfort 2.4.8-26mdk #1 Sun Sep 23 17:06:39 CEST 2001 i686 unknown
* libc version:
libc-2.2.4.so*
libc.so.6 -> libc-2.2.4.so*
* X version:
XFree86 Version 4.1.0 / X Window System
(protocol Version 11, revision 0, vendor release 6510)
Release Date: 2 June 2001
If the server is older than 6-12 months, or if your card is
newer than the above date, look for a newer version before
reporting problems. (See http://www.XFree86.Org/FAQ)
Build Operating System: Linux 2.4.8-5mdkenterprise i686 [ELF]
Module Loader present
* gcc and ld version:
Reading specs from /usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.0.3/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share/gcc-3.0.3 --enable-shared --enable-threads=posix --disable-checking --enable-long-long --enable-cstdio=stdio --enable-clocale=generic --enable-languages=c,c++,f77,objc,java --program-suffix=-3.0.3 --enable-objc-gc --host=i586-mandrake-linux-gnu
Thread model: posix
gcc version 3.0.3 (Mandrake Linux 8.2 3.0.3-1mdk)
GNU ld version 2.11.92.0.12 20011121
* binutils version:
GNU assembler 2.11.92.0.12 20011121
Copyright 2001 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License. This program has absolutely no warranty.
This assembler was configured for a target of `i586-mandrake-linux-gnu'.
2. Hardware & drivers:
* CPU info:
processor : 0
vendor_id : AuthenticAMD
cpu family : 6
model : 1
model name : AMD-K7(tm) Processor
stepping : 2
cpu MHz : 656.480
cache size : 512 KB
fdiv_bug : no
hlt_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 mmx syscall mmxext 3dnowext 3dnow
bogomips : 1310.72
* video card manufacturer and model
nVidia Corporation TNT2 Vanta [NV6] AGP (i know you don't like nvidia, sorry it's an old card :-( )
* video driver type&version
NVIDIA_kernel-1.0-2313.mdk81up
* sound card type & driver
ES1370 [AudioPCI]
module es1370
-------------- next part --------------
[mammique at NelsonMonfort preview.jpg]$ gdb mplayer
GNU gdb 20010813 (MI_OUT)
Copyright 2001 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-mandrake-linux"...
(no debugging symbols found)...
(gdb) run -v -v \*.JPG -mf on:w=360:h=240:fps=12
Starting program: /usr/local/bin/mplayer -v -v \*.JPG -mf
on:w=360:h=240:fps=12
[New Thread 1024 (LWP 10853)]
MPlayer CVS-020321-06:00-3.0.3 (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/mammique/.mplayer/codecs.conf: can't open
'/home/mammique/.mplayer/codecs.conf': No such file or directory
Reading /usr/local/share/mplayer/codecs.conf: 30 audio & 81 video codecs
CommandLine: '-v' '-v' '*.JPG' '-mf' 'on:w=360:h=240:fps=12'
get_path('font/font.desc') -> '/home/mammique/.mplayer/font/font.desc'
font: can't open file: /home/mammique/.mplayer/font/font.desc
font: Reading section: [info]
font: Reading section: [files]
RAW: /usr/local/share/mplayer/font//iso-8859-1-a.raw 4216 x 28, 256 colors
RAW: /usr/local/share/mplayer/font//iso-8859-1-b.raw 4216 x 28, 256 colors
font: Reading section: [characters]
font: Reading section: [files]
RAW: /usr/local/share/mplayer/font//osd-mplayer-a.raw 536 x 32, 256 colors
RAW: /usr/local/share/mplayer/font//osd-mplayer-b.raw 536 x 32, 256 colors
font: Reading section: [characters]
font: resampling alpha by factor 0.750 (192) DONE!
font: resampling alpha by factor 0.750 (192) DONE!
Font /usr/local/share/mplayer/font/font.desc loaded successfully! (206
chars)
Linux RTC init error: Permission denied
Using usleep() timing
get_path('input.conf') -> '/home/mammique/.mplayer/input.conf'
Can't open input config file /home/mammique/.mplayer/input.conf : No such
file or directory
Falling back on default (hardcoded) config
[[[init getch2]]]
Joue *.JPG
[mf] search expr: *.JPG
[mf] number of files: 98 (392)
forced mf.
[demuxer] mf support.
==> Found video stream: 0
[V] filefmt:16 fourcc:0x47504A49 size:360x240 fps:12.00 ftime:=0.0833
get_path('sub/') -> '/home/mammique/.mplayer/sub/'
==========================================================================
Opening Video Decoder: [ijpg] JPEG Images decoder
Detected video codec: [ijpg] drv:22 prio:0 (IJPG codec)
==========================================================================
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 10853)]
0x40257f3b in XQueryExtension () from /usr/X11R6/lib/libX11.so.6
(gdb) bt
#0 0x40257f3b in XQueryExtension () from /usr/X11R6/lib/libX11.so.6
#1 0x4024e761 in XInitExtension () from /usr/X11R6/lib/libX11.so.6
#2 0x4021ea72 in XextAddDisplay () from /usr/X11R6/lib/libXext.so.6
#3 0x403cf25e in XvQueryPortAttributes () from /usr/X11R6/lib/libXv.so.1
#4 0x08089caf in vo_vm_close ()
#5 0x08064231 in main ()
#6 0x403ea370 in __libc_start_main () from /lib/libc.so.6
(gdb) disass $eip-32 $eip+32
Dump of assembler code from 0x40257f1b to 0x40257f5b:
0x40257f1b <XQueryBestCursor+247>: daa
0x40257f1c <XQueryBestCursor+248>: add %al,(%eax)
0x40257f1e <XQueryBestCursor+250>: add %al,(%eax)
0x40257f20 <XQueryBestCursor+252>: mov (%esp,1),%ebx
0x40257f23 <XQueryBestCursor+255>: ret
0x40257f24 <XQueryExtension>: push %ebp
0x40257f25 <XQueryExtension+1>: mov %esp,%ebp
0x40257f27 <XQueryExtension+3>: push %edi
0x40257f28 <XQueryExtension+4>: push %esi
0x40257f29 <XQueryExtension+5>: push %ebx
0x40257f2a <XQueryExtension+6>: sub $0x2c,%esp
0x40257f2d <XQueryExtension+9>: call 0x40257f20 <XQueryBestCursor+252>
0x40257f32 <XQueryExtension+14>: add $0xbba82,%ebx
0x40257f38 <XQueryExtension+20>: mov 0x8(%ebp),%edi
0x40257f3b <XQueryExtension+23>: mov 0x4d0(%edi),%eax
0x40257f41 <XQueryExtension+29>: test %eax,%eax
0x40257f43 <XQueryExtension+31>: je 0x40257f4e
<XQueryExtension+42>
0x40257f45 <XQueryExtension+33>: sub $0xc,%esp
0x40257f48 <XQueryExtension+36>: push %edi
0x40257f49 <XQueryExtension+37>: call *(%eax)
0x40257f4b <XQueryExtension+39>: add $0x10,%esp
0x40257f4e <XQueryExtension+42>: mov 0x6c(%edi),%esi
---Type <return> to continue, or q <return> to quit---
0x40257f51 <XQueryExtension+45>: lea 0x8(%esi),%eax
0x40257f54 <XQueryExtension+48>: cmp 0x70(%edi),%eax
0x40257f57 <XQueryExtension+51>: jbe 0x40257f68
<XQueryExtension+68>
0x40257f59 <XQueryExtension+53>: sub $0xc,%esp
End of assembler dump.
(gdb)
More information about the MPlayer-users
mailing list