[MPlayer-users] Bug when reading dumped .rm files

Hernan Badino hernan.badino at gmail.com
Sun Jul 16 15:32:34 CEST 2006


Hello everybody,

I dumped a .rm file:

mplayer -dumpstream 
rtsp://ms.espectador.com/audio/app_metafiles/dol0501241.rm -dumpfile 
dol0501241.rm -bandwidth 1048576

and then I wanted to play it

mplayer -v dol0501241.rm

Everything works well, but when the end of the file is arrived (~ 127.5 
seconds) mplayer plays somehow randomly the second 127.3, 127.5, 127.4 
.... infinitely. Here is the output I get with '-v' option:
__________________________________
MPlayer dev-SVN-r19105-3.3.1 (C) 2000-2006 MPlayer Team
CPU: Intel(R) Pentium(R) M processor 2.00GHz (Family: 6, Model: 13, 
Stepping: 6)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2

Warning unknown option ffourcc at line 2
get_path('codecs.conf') -> '/home/badino/.mplayer/codecs.conf'
Reading /home/badino/.mplayer/codecs.conf: Can't open 
'/home/badino/.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' 'dol0501241.rm'
init_freetype
get_path('font/font.desc') -> '/home/badino/.mplayer/font/font.desc'
font: can't open file: /home/badino/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Failed to open /dev/rtc: Permission denied (it should be readable by the 
user.)
Using nanosleep() timing
get_path('input.conf') -> '/home/badino/.mplayer/input.conf'
Can't open input config file /home/badino/.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
Setting up LIRC support...
mplayer: could not connect to socket
mplayer: Permission denied
Failed to open LIRC support.
You will not be able to use your remote control.
get_path('dol0501241.rm.conf') -> '/home/badino/.mplayer/dol0501241.rm.conf'

Playing dol0501241.rm.
get_path('sub/') -> '/home/badino/.mplayer/sub/'
[file] File size is 143360 bytes
STREAM: [file] dol0501241.rm
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
Checking for YUV4MPEG2
ASF_check: not ASF guid!
Checking for NuppelVideo
Checking for REAL
REAL file format detected.
real: Header size: 18
real: Header object version: 0
real: File version: 0
Chunk: PROP (504f5250) (size: 0x32, offset: 0x12)
First index chunk offset: 0x0
First data chunk offset: 0x138
Flags (b): [save allowed] [perfect play (more buffers)]
Chunk: CONT (544e4f43) (size: 0x51, offset: 0x44)
Chunk: MDPR (5250444d) (size: 0x99, offset: 0x95)
Found new stream (id: 0)
Stream description: Audio Stream
Stream mimetype: audio/x-pn-realaudio
==> Found audio stream: 0
Found audio stream!
version: 4
header size: 57
coded_frame_size: 304
sub_packet_h: 6
frame_size: 304
sub_packet_size: 0
samplerate: 8000, channels: 1
skip_str: 4 bytes skipped
read_str: 4 bytes read
audio fourcc: sipr (72706973)
======= WAVE Format =======
Format Tag: 26995 (0x6973)
Channels: 1
Samplerate: 8000
avg byte/sec: 1062
Block align: 304
bits/sample: 16
cbSize: 0
==========================================================================
### skipping 2 bytes of codec info
Chunk: DATA (41544144) (size: 0x21fe0, offset: 0x12e)
Packets in file: 458
Auto-selected RM audio ID = 0
AUDIO:  sipr [72706973]
Clip info:
 name: Dolina explica ausencia de La venganza
 copyright: Radio El Espectador ©2005
==========================================================================
Opening audio decoder: [realaud] RealAudio decoder
opening shared obj '/opt/RealPlayer/lib/sipr.so.6.0'
Error: /opt/RealPlayer/lib/sipr.so.6.0: cannot open shared object file: 
No such file or directory
opening win32 dll 'sipr.so.6.0'
Win32 LoadLibrary failed to load: sipr.so.6.0, 
/usr/local/lib/win32/sipr.so.6.0, /usr/lib/win32/sipr.so.6.0
Error loading dll
ERROR: Could not open required DirectShow codec sipr.so.6.0.
Read the RealAudio section of the DOCS!
ADecoder preinit failed :(
ADecoder init failed :(
Opening audio decoder: [realaud] RealAudio decoder
opening win32 dll 'sipr3260.dll'
Got sipr flavor 1 from bitrate 1062
dec_audio: Allocating 304 bytes for input buffer.
dec_audio: Allocating 128000 + 65536 = 193536 bytes for output buffer.
AUDIO: 8000 Hz, 1 ch, s16le, 8.5 kbit/6.64% (ratio: 1062->16000)
Selected audio codec: [rasiprwin] afm: realaud (Win32 RealAudio Sipro)
==========================================================================
Building audio filter chain for 8000Hz/1ch/s16le -> 0Hz/0ch/??...
[libaf] Adding filter dummy
[dummy] Was reinitialized: 8000Hz/1ch/s16le
[dummy] Was reinitialized: 8000Hz/1ch/s16le
ao2: 8000 Hz  1 chans  s16le
audio_setup: using '/dev/dsp' dsp device
audio_setup: using '/dev/mixer' mixer device
audio_setup: using 'pcm' mixer device
audio_setup: sample format: s16le (requested: s16le)
audio_setup: using 1 channels (requested: 1)
audio_setup: using 8000 Hz samplerate (requested: 8000)
audio_setup: frags:   4/4  (8192 bytes/frag)  free:  32768
AO: [oss] 8000Hz 1ch s16le (2 bytes per sample)
AO: Description: OSS/ioctl audio output
AO: Author: A'rpi
Building audio filter chain for 8000Hz/1ch/s16le -> 8000Hz/1ch/s16le...
[dummy] Was reinitialized: 8000Hz/1ch/s16le
[dummy] Was reinitialized: 8000Hz/1ch/s16le
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)
.
.
.
A: 127.3 (02:07.3) of 131.0 (02:11.0)  0.2%

__________________________________

The line EOF error line is printed repeatedly. The lines telling the 
error with sipr.so.6.0 are also suspicious. I don't know if the dumped 
file is corrupt or the player don't detect the end of the file.

Any ideas?

Cheers,

Hernan



More information about the MPlayer-users mailing list