[Mplayer-advusers] MPlayer crashes on mencoded MPEG1-AVI with b-frames
Monika Schilling
ms at mschilling.com
Mon Dec 1 18:58:25 CET 2003
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
MPlayer crashes immediately playing a MPEG-1 AVI file with b-frames, which
has been encoded with mencoder. Other players, for example the win32 program
"Media Player Classic" (http://sourceforge.net/projects/guliverkli/), have
no problems playing the video.
In the following you will find 3 sections:
1. Encoding with mencoder
2. Running MPlayer and conserving crash information
3. System information
=========================
1. ENCODING WITH MENCODER
=========================
The source video ct.mpv decends from a DVB broadcast.
ms at epia ~/pers/prg/cygwin/MPlayer-20031130
$ ./mencoder -vf crop=704:576,lavcdeint,scale=352:288 -sws 1 -ovc lavc
-lavcopts vcodec=mpeg1video:vmax_b_frames=2:mbd=1:keyint=250:vqscale=3
:aspect=4/3 -endpos 30 /tmp/ct.mpv -o /tmp/ct.avi
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/local/share/locale
MEncoder dev-CVS-031130-06:00-3.3.1 (C) 2000-2003 MPlayer Team
CPU: IDT/Centaur/VIA C3 Samuel 2 (WinChip C5B core)/C3 Ezra (Family: 6,
Stepping: 3)
Detected cache-line size is 32 bytes
CPUflags: Type: 6 MMX: 1 MMX2: 0 3DNow: 1 3DNow2: 0 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX 3DNow
Reading /home/ms/.mplayer/codecs.conf: Can't open
'/home/ms/.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.
File not found: 'frameno.avi'
Failed to open frameno.avi
Reading config file /home/ms/.mplayer/mencoder: No such file or directory
success: format: 0 data: 0x0 - 0x2596EBF0
MPEG-ES file format detected.
VIDEO: MPEG2 720x576 (aspect 2) 25.000 fps 8078.0 kbps (1009.8 kbyte/s)
[V] filefmt:1 fourcc:0x10000002 size:720x576 fps:25.00 ftime:=0.0400
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1 (-1=autodetect) osd: 1
Opening video filter: [scale w=352 h=288]
Opening video filter: [lavcdeint]
Opening video filter: [crop w=704 h=576]
Crop: 704 x 576, -1 ; -1
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 576 (preferred csp: Mpeg PES)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.3.1
Selected video codec: [mpeg12] vfm:libmpeg2 (MPEG 1 or 2 (libmpeg2))
==========================================================================
Writing AVI header...
Pos: 0.0s 2f ( 0%) 0fps Trem: 0min 0mb A-V:0.000 [0:0]
1 duplicate frame(s)!
Pos: 0.0s 3f ( 0%) 0fps Trem: 0min 0mb A-V:0.000 [0:0]
1 duplicate frame(s)!
Pos: 0.1s 4f ( 0%) 0fps Trem: 0min 0mb A-V:0.000 [0:0]
1 duplicate frame(s)!
Pos: 0.1s 5f ( 0%) 0fps Trem: 0min 0mb A-V:0.000 [0:0]
1 duplicate frame(s)!
Pos: 0.2s 6f ( 0%) 0fps Trem: 0min 0mb A-V:0.000 [0:0]
1 duplicate frame(s)!
Pos: 0.2s 7f ( 0%) 0fps Trem: 0min 0mb A-V:0.000 [0:0]
1 duplicate frame(s)!
Pos: 0.2s 8f ( 0%) 0fps Trem: 0min 0mb A-V:0.000 [0:0]
1 duplicate frame(s)!
Pos: 0.3s 9f ( 0%) 0fps Trem: 0min 0mb A-V:0.000 [0:0]
1 duplicate frame(s)!
Pos: 0.3s 10f ( 0%) 0fps Trem: 0min 0mb A-V:0.000 [0:0]
1 duplicate frame(s)!
VDec: vo config request - 720 x 576 (preferred csp: Planar YV12)0:0]
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
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: BILINEAR scaler, from Planar YV12 to Planar YV12 using 3DNOW
videocodec: libavcodec (352x288 fourcc=3167706d [mpg1])
High quality encoding selected (non real time)!
Using constant qscale = 3.000000 (VBR)
1 duplicate frame(s)!
New_Face failed. Maybe the font path is wrong. 0mb A-V:0.000 [0:0]
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
1 duplicate frame(s)!
Pos: 30.0s 750f ( 2%) 5fps Trem: 105min 257mb A-V:0.000 [1783:0]
Writing AVI index...
Fixing AVI header...
Video stream: 1783.121 kbit/s (222890 bps) size: 6677789 bytes
29.960 secs 750 frames
===================================================
2. RUNNING MPLAYER AND CONSERVING CRASH INFORMATION
===================================================
ms at epia ~/pers/prg/cygwin/MPlayer-20031130
$ cat ~/.mplayer/config
# Write your default config options here!
# fs=yes
# quiet=yes
framedrop=yes
cache=4096
double=yes
vop=yuy2
autoq=0
aspect=4:3
# aspect=16:9
For the gdb session please look at the appended file mplayer.bug.
=====================
3. SYSTEM INFORMATION
=====================
Cygwin:
ms at epia ~/pers/prg/cygwin/MPlayer-20031130
$ cat /proc/version
CYGWIN_NT-5.1 1.5.5(0.94/3/2) 2003-09-20 16:31
REMARK: The crash occurs on my linux box with SuSE Linux 9.0 too.
libc version:
ms at epia ~/pers/prg/cygwin/MPlayer-20031130
$ ls -l /lib/libc[.-]*
-rw-r--r-- 1 ms Kein 761322 Sep 20 22:32 /lib/libc.a
gcc and ld versions:
ms at epia ~/pers/prg/cygwin/MPlayer-20031130
$ gcc -v
Reading specs from /usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/specs
Configured with: /GCC/gcc-3.3.1-3/configure --with-gcc --with-gnu-ld
--with-gnu-as --prefix=/usr --exec-prefix=/usr
--sysconfdir=/etc --libdir=/usr/lib --libexecdir=/usr/sbin
--mandir=/usr/share/man --infodir=/usr/share/info
--enable-languages=c,ada,c++,f77,pascal,java,objc --enable-libgcj
--enable-threads=posix --with-system-zlib --enable-nls
--without-included-gettext --enable-interpreter --enable-sjlj-exceptions
--disable-version-specific-runtime-libs --enable-shared
--disable-win32-registry --enable-java-gc=boehm
--disable-hash-synchronization --verbose --target=i686-pc-cygwin
--host=i686-pc-cygwin --build=i686-pc-cygwin
Thread model: posix
gcc version 3.3.1 (cygming special)
ms at epia ~/pers/prg/cygwin/MPlayer-20031130
$ ld -v
GNU ld version 2.14.90 20030901
CPU info:
ms at epia ~/pers/prg/cygwin/MPlayer-20031130
$ cat /proc/cpuinfo
processor : 0
vendor_id : CentaurHauls
type : primary processor
cpu family : 6
model : 7
model name : VIA Samuel 2
stepping : 3
brand id : 0
cpu count : 0
apic id : 0
cpu MHz : 533
fpu : yes
flags : fpu de tsc msr mtrr pge mmx
Thank you for MPlayer!
Monika
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (MingW32) - GPGrelay v0.93
iD8DBQE/y4FHSZqAGBq9jOkRAhXPAJ9i5BlBNLyYo6//QUVmdPaEdy0dMwCfT7kg
TfotDNbk/fIR+bGeYqDQvrM=
=swtK
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mplayer.bug
Type: application/octet-stream
Size: 10949 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-advusers/attachments/20031201/35389eae/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mplayer.bug.asc
Type: application/octet-stream
Size: 204 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-advusers/attachments/20031201/35389eae/attachment-0001.obj>
More information about the MPlayer-advusers
mailing list