[MPlayer-users] ACELP.net, playback truncated

dybulk at tri8.net dybulk at tri8.net
Tue Aug 10 23:14:36 CEST 2004


On Tue, 10 Aug 2004, Reimar Döffinger wrote:

> Hi,
> > What is happening is that this WMA file will only play the first 2
> > seconds. It then stops. I've spent about 5 hours (after I finally got SOME
> > audio) figuring that something was wrong with my libraries/codecs (I've
> > reinstalled codecs and such about 10 times). But, I now think it's just
> > something about the ACELP codec.
>
> Please give the full logs obtained with mplayer -v. You should also try
> to upload a sample file somewhere (one of the none-working files), e.g.
> to ftp://mplayerhq.hu/MPlayer/incoming/.
> You could also try the attached patch, although I doubt it will work...
> even if it does it would be nice to have a sample.


OK, sorry. Here's the output with -v, after I recompiled using the patch
you supplied (no, it didn't change the results). I have uploaded
Message_2020.wma to the ftp site you specified. You should hear a count
from 1 to 10, but it always dies after "two" (which just happens to be two
seconds into the file).

Thanks very much for your help.

Cheers,
Dan

[dan at raynix dan]$ mplayer -v Message_2020.wma
MPlayer 1.0pre5-3.3.1 (C) 2000-2004 MPlayer Team

CPU: Intel Pentium 4/Xeon/Celeron Foster 2660 MHz (Family: 8, Stepping: 9)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2

Reading config file /usr/local/etc/mplayer/mplayer.conf: No such file or directory
Reading config file /home/dan/.mplayer/config
Reading /home/dan/.mplayer/codecs.conf: Can't open '/home/dan/.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.
CommandLine: '-v' 'Message_2020.wma'
init_freetype
get_path('font/font.desc') -> '/home/dan/.mplayer/font/font.desc'
font: can't open file: /home/dan/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Linux RTC init error in ioctl (rtc_irqp_set 1024): Permission denied
Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your system startup scripts.
Using usleep() timing
get_path('input.conf') -> '/home/dan/.mplayer/input.conf'
Can't open input config file /home/dan/.mplayer/input.conf: No such file or directory
Can't open input config file /usr/local/etc/mplayer/input.conf: No such file or directory
Falling back on default (hardcoded) input config
get_path('Message_2020.wma.conf') -> '/home/dan/.mplayer/Message_2020.wma.conf'

Playing Message_2020.wma.
[file] File size is 11527 bytes
STREAM: [file] Message_2020.wma
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
Checking for YUV4MPEG2
DEMUXER: freeing demuxer at 0x85c6ad8
ASF file format detected.
ASF: packets: 24  flags: 2  max_packet_size: 382  min_packet_size: 382  max_bitrate: 6962  preroll: 3000
stream type: guid_audio_stream
stream concealment: guid_audio_conceal_interleave
type: 22 bytes,  stream: 8 bytes  ID: 1
unk1: 0  unk2: 227FBA4
FILEPOS=0x8C7
==> Found audio stream: 1
======= WAVE Format =======
Format Tag: 304 (0x130)
Channels: 1
Samplerate: 8000
avg byte/sec: 805
Block align: 29
bits/sample: 0
cbSize: 4
Unknown extra header dump: [2] [0] [0] [0]
===========================
ASF: audio scrambling: 1 x 1 x 348
============ ASF Stream group == START ===
 object size = 32
 stream count=[0x1][1]
   stream id=[0x1][1]
   max bitrate=[0x1b32][6962]
============ ASF Stream group == END ===
Found movie at 0x937 - 0x2D07
ASF: 1 audio and 0 video streams found
ASF: Searching for audio stream (id:1).
Auto-selected ASF audio ID = 1
==========================================================================
Opening audio decoder: [dshow] Win32/DirectShow decoders
get_path('registry') -> '/home/dan/.mplayer/registry'
INFO: Win32/DShow audio codec init OK!
dec_audio: Allocating 8192 bytes for input buffer.
dec_audio: Allocating 16384 + 65536 = 81920 bytes for output buffer.
AUDIO: 8000 Hz, 1 ch, 16 bit (0x10), ratio: 805->16000 (6.4 kbit)
Selected audio codec: [acelp] afm:dshow (ACELP.net Sipro Lab Audio Decoder)
==========================================================================
Checking audio filter chain for 8000Hz/1ch/16bit -> 8000Hz/2ch/16bit...
[libaf] Adding filter dummy
[dummy] Was reinitialized, rate=8000Hz, nch = 1, format = 0x00000001 and bps = 2
AF_pre: af format: 2 bps, 1 ch, 8000 hz, little endian signed int
AF_pre: 8000Hz 1ch Signed 16-bit (Little-Endian)
ao2: 8000 Hz  2 chans  Signed 16-bit (Little-Endian)
audio_setup: using '/dev/dsp' dsp device
audio_setup: using '/dev/mixer' mixer device
audio_setup: using 'pcm' mixer device
audio_setup: sample format: Signed 16-bit (Little-Endian) (requested: Signed 16-bit (Little-Endian))
audio_setup: using 2 channels (requested: 2)
audio_setup: using 8000 Hz samplerate (requested: 8000)
audio_setup: frags: 256/256  (256 bytes/frag)  free:  65536
AO: [oss] 8000Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
AO: Description: OSS/ioctl audio output
AO: Author: A'rpi
Building audio filter chain for 8000Hz/1ch/16bit -> 8000Hz/2ch/16bit...
[dummy] Was reinitialized, rate=8000Hz, nch = 1, format = 0x00000001 and bps = 2
[libaf] Adding filter channels
[channels] Changing number of channels to 2
[dummy] Was reinitialized, rate=8000Hz, nch = 1, format = 0x00000001 and bps = 2
Video: no video
Freeing 0 unused video chunks
Starting playback...
ds_fill_buffer: EOF reached (stream: audio)
ds_fill_buffer: EOF reached (stream: audio)
ds_fill_buffer: EOF reached (stream: audio)
ds_fill_buffer: EOF reached (stream: audio)
ds_fill_buffer: EOF reached (stream: audio)
ds_fill_buffer: EOF reached (stream: audio)
ds_fill_buffer: EOF reached (stream: audio)
ds_fill_buffer: EOF reached (stream: audio)
[libaf] Reallocating memory in module channels, old len = 0, new len = 65534
A:         1.8  0.2% 0%   
EOF code: 1

Uninit audio filters...
[libaf] Removing filter dummy
[libaf] Removing filter channels
uninit audio: dshow
DEMUXER: freeing demuxer at 0x85c6ad8
DEMUXER: freeing sh_audio at 0x85c7600
vo: x11 uninit called but X11 not inited..

Exiting... (End of file)




More information about the MPlayer-users mailing list