[MPlayer-users] Can somebody explain this? (and some trouble with mpeg muxer as well - i guess)

Levente Novák lnovak at dragon.unideb.hu
Sun Mar 12 00:39:10 CET 2006


On Sat, 2006-03-11 at 22:44 +0000, Vijay Gill wrote:
> Ok, I ran the tests and found that the CVS worked fine upto 2006-02-11. CVS
> of 2006-02-12 is broken. I start getting error messages when I use the
> binary compiled from cvs of 2006-02-12.
> 

That's strange. I was also doing CVS tests, but very surprisingly, even
the CVS versions of 2006-01-10 and 2006-01-01 have the same problem
(these are prior to the date of 2006-01-13 you mentioned in your
previous post). I did compile them with gcc-4.0.3 as well as with
gcc-3.4 (no differences -- encoding is bad with either).

How did you compile your working 2006-02-11 and the non-working
2006-02-12 versions? Which compiler, what is the output of ldd mencoder?
Mine is:

ldd ./mencoder
        linux-gate.so.1 =>  (0xffffe000)
        libmp3lame.so.0 => /usr/lib/libmp3lame.so.0 (0xb7ea5000)
        libmad.so.0 => /usr/lib/libmad.so.0 (0xb7e8f000)
        libdv.so.2 => /usr/lib/libdv.so.2 (0xb7e68000)
        libtheora.so.0 => /usr/lib/libtheora.so.0 (0xb7e4b000)
        libogg.so.0 => /usr/lib/libogg.so.0 (0xb7e46000)
        libpng12.so.0 => /usr/lib/libpng12.so.0 (0xb7e21000)
        libz.so.1 => /usr/lib/libz.so.1 (0xb7e0c000)
        libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0xb7dec000)
        libasound.so.2 => /usr/lib/libasound.so.2 (0xb7d39000)
        libdl.so.2 => /lib/tls/libdl.so.2 (0xb7d35000)
        libpthread.so.0 => /lib/tls/libpthread.so.0 (0xb7d23000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb7cb6000)
        libncurses.so.5 => /usr/lib/libncurses.so.5 (0xb7c72000)
        libcdda_interface.so.0 => /usr/local/lib/libcdda_interface.so.0
(0xb7c5d000)
        libcdda_paranoia.so.0 => /usr/local/lib/libcdda_paranoia.so.0
(0xb7c54000)
        libnsl.so.1 => /lib/tls/libnsl.so.1 (0xb7c3e000)
        libungif.so.4 => /usr/lib/libungif.so.4 (0xb7c36000)
        libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0xb7c07000)
        libm.so.6 => /lib/tls/libm.so.6 (0xb7be0000)
        libc.so.6 => /lib/tls/libc.so.6 (0xb7aa9000)
        /lib/ld-linux.so.2 (0xb7f6c000)
        libexpat.so.1 => /usr/lib/libexpat.so.1 (0xb7a89000)


Don't know if it helps to point the problem, I've also done a gdb run of
mplayer crashing with the resulting file. Here it is:


novakl at szisz:/video$ gdb /tmp/mplayer/mplayer
GNU gdb 6.4-debian
Copyright 2005 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 "i486-linux-gnu"...Using host libthread_db
library "/ lib/tls/libthread_db.so.1".

(gdb) run ffvhuff-422p.avi.mpg
Starting program: /tmp/mplayer/mplayer ffvhuff-422p.avi.mpg
[Thread debugging using libthread_db enabled]
[New Thread -1226593568 (LWP 9448)]
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/local/share/locale

MPlayer dev-CVS-060311-23:15-4.0.3 (C) 2000-2005 MPlayer Team
CPU: Advanced Micro Devices Duron Morgan,Camaro (Family: 6, Stepping: 1)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE


Linux RTC init error in ioctl (rtc_irqp_set 1024): Inappropriate ioctl
for devic e
Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your system
startup scripts.
Playing ffvhuff-422p.avi.mpg.
MPEG-PS file format detected.
VIDEO:  MPEG2  480x560  (aspect 1)  25.000 fps  2500.0 kbps (312.5
kbyte/s)
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 44100 Hz, 2 ch, s16le, 224.0 kbit/15.87% (ratio: 28000->176400)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 480 x 560 (preferred colorspace: 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.
Try adding the scale filter, e.g. -vf spp,scale instead of -vf spp.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder
libmpeg2-v0.4.0b
Selected video codec: [mpeg12] vfm: libmpeg2 (MPEG-1 or 2 (libmpeg2))
==========================================================================
Building audio filter chain for 44100Hz/2ch/s16le -> 0Hz/0ch/??...
AO: [oss] 44100Hz 2ch s16le (2 bytes per sample)
Building audio filter chain for 44100Hz/2ch/s16le ->
44100Hz/2ch/s16le...
Starting playback...
VDec: vo config request - 480 x 560 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [xv] 480x560 => 480x560 Planar YV12  [fs]
New_Face failed. Maybe the font path is wrong. 2 ??% ??% ??,?% 1 0
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
big_values too large!: -0.090 ct: -0.121 301/301  8%  5%  0.4% 1 0
big_values too large!
A:  15.1 V:  14.6 A-V:  0.538 ct:  0.123 362/362  8%  5%  0.5% 1 0
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1226593568 (LWP 9448)]
MP3_DecodeFrame (hova=0xbfabf7c8 "\034", single=-1) at layer2.c:167
167                 real cm=muls[k][scale[x1]];
(gdb) backtrace
#0  MP3_DecodeFrame (hova=0xbfabf7c8 "\034", single=-1) at layer2.c:167
#1  0x080d375f in decode_audio (sh_audio=0x877eed0, buf=0x879bf68 "9",
    minlen=8192, maxlen=<value optimized out>) at dec_audio.c:376
#2  0x08080943 in main (argc=2, argv=0xbfac0a34) at mplayer.c:2604
(gdb)

Hope this helps.

Levente





More information about the MPlayer-users mailing list