[MPlayer-users] Ogg vorbis problems with MPlayer-1.0rc3

Edd Barrett vext01 at gmail.com
Mon Aug 2 01:02:10 CEST 2010


Hi once again,

On Sun, Aug 1, 2010 at 10:21 PM, Edd Barrett <vext01 at gmail.com> wrote:
> On Sun, Aug 1, 2010 at 9:52 PM, Reimar Döffinger
> <Reimar.Doeffinger at gmx.de> wrote:
>>> MPlayer SVN-r30866 (C) 2000-2010 MPlayer Team
>>
>> This is not trunk, this is the march version.
>
> Yes, quite! Something has gone wrong with obtaining at tarring the
> sources; I thought I was working on trunk, so the trunk issue I am
> claiming to have here is invalid. Sorry about that.

Ah, no wait! That is from a stale version.h which we install so that
the package does not depend upon svn. The code was infact svn from a
few days ago.

However, to be sure I have downloaded the newest export snapshot from
your www page 20100801. Let me be specific, so we don't get in a
jumble:

MPlayer SVN-r31880-snapshot. i386 machine running OpenBSD-4.7-current.
Mplayer was built using GCC 4.2.1.

The configure args are almost the same as before, but taking into
account people's suggestions from earlier in the thread; I *removed*
from the configure arguments:
--disable-faad-internal
--disable-tremor-internal
--disable-libvorbis

And tried both methods of demuxing, as demonstrated by Carl.

 * -demuxer lavc (with of without -ac vorbis), does as previously
reported, loops printing an error.
 * -demuxer ogg - prints an error once, then plays the file.

Here are the logs:

*** Using -demuxer lavf ***
this_opt = option: v
Setting v=-demuxer
this_opt = option: demuxer
Setting demuxer=lavf
Adding file song30.ogg
Config pushed level is now 2
Config pushed level is now 3
MPlayer SVN-r31880-snapshot (C) 2000-2010 MPlayer Team
CPU vendor name: GenuineIntel  max cpuid level: 10
CPU: Genuine Intel(R) CPU           L2400  @ 1.66GHz (Family: 6,
Model: 14, Stepping: 8)
extended cpuid-level: 8
extended cache-info: 134242368
Detected cache-line size is 64 bytes
Testing OS support for SSE... yes.
Testing OS support for SSE2... yes.
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNowExt: 0 SSE: 1 SSE2: 1 SSSE3: 0
Compiled with runtime CPU detection.
get_path('codecs.conf') -> '/home/edd/.mplayer/codecs.conf'
Reading /home/edd/.mplayer/codecs.conf: Can't open
'/home/edd/.mplayer/codecs.conf': No such file or directory
Reading /etc/mplayer/codecs.conf: Can't open
'/etc/mplayer/codecs.conf': No such file or directory
Using built-in default codecs.conf.
Configuration: --disable-alsa --disable-arts --disable-esd
--disable-ossaudio --disable-nas --disable-liblzo --disable-caca
--disable-vidix --disable-smb --disable-select --disable-langinfo
--disable-openal --disable-libcdio --disable-toolame
--disable-dvdread-internal --disable-libdvdcss-internal --disable-gui
--disable-win32dll --disable-ggi --disable-libopenjpeg --enable-menu
--confdir=/etc/mplayer --mandir=/usr/local/man
--extra-cflags=-I/usr/local/include -I/usr/local/include/libpng
--extra-ldflags=-L/usr/local/lib --extra-libs-mplayer=-lrtunes
-lcrypto --enable-runtime-cpudetection --disable-ssse3 --disable-sdl
--disable-mad --disable-aa --disable-jack
CommandLine: '-v' '-v' '-v' '-demuxer' 'lavf' 'song30.ogg'
init_freetype
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
get_path('fonts') -> '/home/edd/.mplayer/fonts'
Using nanosleep() timing
get_path('input.conf') -> '/home/edd/.mplayer/input.conf'
Can't open input config file /home/edd/.mplayer/input.conf: No such
file or directory
Parsing input config file /etc/mplayer/input.conf
Input config file /etc/mplayer/input.conf parsed: 91 binds
get_path('song30.ogg.conf') -> '/home/edd/.mplayer/song30.ogg.conf'

[[[init getch2]]]

Playing song30.ogg.
get_path('sub/') -> '/home/edd/.mplayer/sub/'
[file] File size is 2636244 bytes
STREAM: [file] song30.ogg
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
s->pos=0  newpos=0  new_bufpos=0  buflen=0
LAVF_check: Ogg
libavformat file format detected.
32768=mp_read(0x850d7670, 0x8639000c, 32768), pos: 32768, eof:0
mp_seek(0x850d7670, 0, 65536)
mp_seek(0x850d7670, 2570937, 0)
s->pos=8000  newpos=273800  new_bufpos=273AB9  buflen=0
32768=mp_read(0x850d7670, 0x8639000c, 32768), pos: 2603705, eof:0
32539=mp_read(0x850d7670, 0x8639000c, 32768), pos: 2636244, eof:1
0=mp_read(0x850d7670, 0x86397f27, 229), pos: 2636244, eof:1
mp_seek(0x850d7670, 7052, 0)
s->pos=2839D4  newpos=1800  new_bufpos=1B8C  buflen=0
[vorbis @ 0x891e2410] Index value 142 out of range (0 - 34) for bits
at vorbis_dec.c:520
[vorbis @ 0x891e2410]  Vorbis setup header packet corrupt (floors).
[vorbis @ 0x891e2410] Setup header corrupt.
[vorbis @ 0x891e2410] Index value 142 out of range (0 - 34) for bits
at vorbis_dec.c:520
[vorbis @ 0x891e2410]  Vorbis setup header packet corrupt (floors).
[vorbis @ 0x891e2410] Setup header corrupt.
[vorbis @ 0x891e2410] Index value 142 out of range (0 - 34) for bits
at vorbis_dec.c:520
[vorbis @ 0x891e2410]  Vorbis setup header packet corrupt (floors).
[vorbis @ 0x891e2410] Setup header corrupt.
[vorbis @ 0x891e2410] Index value 142 out of range (0 - 34) for bits
at vorbis_dec.c:520
[vorbis @ 0x891e2410]  Vorbis setup header packet corrupt (floors).
[vorbis @ 0x891e2410] Setup header corrupt.
[vorbis @ 0x891e2410] Index value 142 out of range (0 - 34) for bits
at vorbis_dec.c:520
[vorbis @ 0x891e2410]  Vorbis setup header packet corrupt (floors).
[vorbis @ 0x891e2410] Setup header corrupt.
[vorbis @ 0x891e2410] Index value 142 out of range (0 - 34) for bits
at vorbis_dec.c:520
vorbis @ 0x891e2410] Index value 142 out of range (0 - 34) for bits at
vorbis_dec.c:520
...etc...


*** Using -demuxer ogg ***
this_opt = option: v
Setting v=-demuxer
this_opt = option: demuxer
Setting demuxer=ogg
Adding file song30.ogg
Config pushed level is now 2
Config pushed level is now 3
MPlayer SVN-r31880-snapshot (C) 2000-2010 MPlayer Team
CPU vendor name: GenuineIntel  max cpuid level: 10
CPU: Genuine Intel(R) CPU           L2400  @ 1.66GHz (Family: 6,
Model: 14, Stepping: 8)
extended cpuid-level: 8
extended cache-info: 134242368
Detected cache-line size is 64 bytes
Testing OS support for SSE... yes.
Testing OS support for SSE2... yes.
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNowExt: 0 SSE: 1 SSE2: 1 SSSE3: 0
Compiled with runtime CPU detection.
get_path('codecs.conf') -> '/home/edd/.mplayer/codecs.conf'
Reading /home/edd/.mplayer/codecs.conf: Can't open
'/home/edd/.mplayer/codecs.conf': No such file or directory
Reading /etc/mplayer/codecs.conf: Can't open
'/etc/mplayer/codecs.conf': No such file or directory
Using built-in default codecs.conf.
Configuration: --disable-alsa --disable-arts --disable-esd
--disable-ossaudio --disable-nas --disable-liblzo --disable-caca
--disable-vidix --disable-smb --disable-select --disable-langinfo
--disable-openal --disable-libcdio --disable-toolame
--disable-dvdread-internal --disable-libdvdcss-internal --disable-gui
--disable-win32dll --disable-ggi --disable-libopenjpeg --enable-menu
--confdir=/etc/mplayer --mandir=/usr/local/man
--extra-cflags=-I/usr/local/include -I/usr/local/include/libpng
--extra-ldflags=-L/usr/local/lib --extra-libs-mplayer=-lrtunes
-lcrypto --enable-runtime-cpudetection --disable-ssse3 --disable-sdl
--disable-mad --disable-aa --disable-jack
CommandLine: '-v' '-v' '-v' '-demuxer' 'ogg' 'song30.ogg'
init_freetype
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
get_path('fonts') -> '/home/edd/.mplayer/fonts'
Using nanosleep() timing
get_path('input.conf') -> '/home/edd/.mplayer/input.conf'
Can't open input config file /home/edd/.mplayer/input.conf: No such
file or directory
Parsing input config file /etc/mplayer/input.conf
Input config file /etc/mplayer/input.conf parsed: 91 binds
get_path('song30.ogg.conf') -> '/home/edd/.mplayer/song30.ogg.conf'

[[[init getch2]]]

Playing song30.ogg.
get_path('sub/') -> '/home/edd/.mplayer/sub/'
[file] File size is 2636244 bytes
STREAM: [file] song30.ogg
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
s->pos=0  newpos=0  new_bufpos=0  buflen=0
Ogg : Found a stream with serial=1383675860
==> Found audio stream: 0
[Ogg] stream 0: audio (Vorbis), -aid 0
s->pos=1000  newpos=0  new_bufpos=0  buflen=0
s->pos=2000  newpos=241800  new_bufpos=241B24  buflen=0
Ogg stream length (granulepos): 7988568
s->pos=0  newpos=0  new_bufpos=0  buflen=0
Ogg demuxer : found 1 audio stream, 0 video stream and 0 text stream
New dp: 0x7ec61ac0  ds=0x8a724480  pts=-9223372036854775808.000
len=30  flag=0
fixup_vorbis_wf: i=0, size=30
New dp: 0x7ec61c00  ds=0x8a724480  pts=-9223372036854775808.000
len=48  flag=0
fixup_vorbis_wf: i=1, size=48
New dp: 0x7ec61900  ds=0x8a724480  pts=-9223372036854775808.000
len=2518  flag=0
fixup_vorbis_wf: i=2, size=2518
demux_ogg, offset after 1st len = 2
demux_ogg, offset after 2nd len = 3
demux_ogg, i=0, bytes: 30, offset: 3
demux_ogg, i=1, bytes: 48, offset: 33
demux_ogg, i=2, bytes: 2518, offset: 81
demux_ogg, extradata size: 2599
demux_ogg, vorbis stream features are: channels: 2, srate: 44100,
bitrate: 14001, max: 0, nominal: 112015, min: 0
Ogg file format detected.
get_path('sub/') -> '/home/edd/.mplayer/sub/'
New dp: 0x7ec61600  ds=0x8a724480  pts=0.000  len=1  flag=0
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
dec_audio: Allocating 192000 + 65536 = 257536 bytes for output buffer.
FFmpeg's libavcodec audio codec
[vorbis @ 0x84592010] Index value 142 out of range (0 - 34) for bits
at vorbis_dec.c:520
[vorbis @ 0x84592010]  Vorbis setup header packet corrupt (floors).
[vorbis @ 0x84592010] Setup header corrupt.
Could not open codec.
ADecoder init failed :(
ADecoder init failed :(
Requested audio codec family [vorbis] (afm=libvorbis) not available.
Enable it at compilation.
Opening audio decoder: [tremor] Ogg/Vorbis audio decoder
dec_audio: Allocating 4096 + 65536 = 69632 bytes for output buffer.
ad_vorbis, extradata seems is 2599 bytes long
ad_vorbis, offset: 2, length: 30
ad_vorbis, offset: 3, length: 48
ad_vorbis, header sizes: 30 48 2518
OggVorbis: Bitstream is 2 channels, 44100Hz, 112015bit/s VBR
OggVorbis: Encoded by: Xiphophorus libVorbis I 20011231
OggVorbis: Init OK!
AUDIO: 44100 Hz, 2 ch, s16le, 112.0 kbit/7.94% (ratio: 14001->176400)
Selected audio codec: [tremor] afm: tremor (OggVorbis audio)
==========================================================================
Building audio filter chain for 44100Hz/2ch/s16le -> 0Hz/0ch/??...
[libaf] Adding filter dummy
[dummy] Was reinitialized: 44100Hz/2ch/s16le
[dummy] Was reinitialized: 44100Hz/2ch/s16le
Trying every known audio driver...
AO: [sndio] 44100Hz 2ch s16le (2 bytes per sample)
AO: Description: sndio audio output
AO: Author: Alexandre Ratchov <alex at caoua.org>
Building audio filter chain for 44100Hz/2ch/s16le -> 44100Hz/2ch/s16le...
[dummy] Was reinitialized: 44100Hz/2ch/s16le
[dummy] Was reinitialized: 44100Hz/2ch/s16le
Video: no video
Freeing 0 unused video chunks.
Starting playback...
New dp: 0x7ec61600  ds=0x8a724480  pts=0.003  len=1  flag=0

[decoded: 576 / 576 ]
New dp: 0x7ec61900  ds=0x8a724480  pts=0.026  len=1  flag=0

[decoded: 1024 / 1024 ]
New dp: 0x7ec61900  ds=0x8a724480  pts=0.049  len=101  flag=0

[decoded: 1024 / 1024 ]
New dp: 0x7ec61900  ds=0x8a724480  pts=0.073  len=259  flag=0

[decoded: 1024 / 1024 ]
New dp: 0x7ec61900  ds=0x8a724480  pts=0.096  len=302  flag=0
A:   2.7 (02.7) of 180.8 (03:00.7)  1.6%
...etc...

What do you reckon?

-- 
Best Regards
Edd Barrett

http://www.theunixzoo.co.uk


More information about the MPlayer-users mailing list