[MPlayer-users] BBC Radio RealAudio streams skipping
Scott Coleman
phosphors at gmail.com
Sun Mar 6 18:46:32 CET 2005
In particular, http://www.bbc.co.uk/radio4/realplayer/media/fmg2.ram
Stream plays fine for a while, usually at least 15 minutes, sometimes
up to an hour, and then begins to skip stutter garble as it continues.
RealAudio streams from other sources play fine for hours. RealPlayer
for Linux does not exhibit the problem.
Have experienced this for quite a while over several versions of
mplayer and on multiple platforms. I run Gentoo linux on a couple
machines and have replicated this on both with packaged installs and
manually compiled installs. Just replicated the problem on win32
mplayer running on XP on my laptop. I've tried all the cache options
I can find sometimes delaying the time it takes to start skipping for
a while but inevitably the skipping begins.
Attached is a -v log of the initial stream startup. I've looked
through verbose output before and during skipping and can't tell any
difference.
Can anyone else reproduce this? Am I missing something very simple?
Any help greatly appreciated.
Scott
-------------- next part --------------
mplayer -cache 256 -v -playlist http://www.bbc.co.uk/radio4/realplayer/media/fmg2.ram
MPlayer 1.0pre6-3.3.2 (C) 2000-2004 MPlayer Team
CPU: Advanced Micro Devices Athlon MP/XP/XP-M Barton (Family: 6, Stepping: 0)
Detected cache-line size is 64 bytes
MMX2 supported but disabled
SSE supported but disabled
3DNowExt supported but disabled
CPUflags: MMX: 1 MMX2: 0 3DNow: 1 3DNow2: 0 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX 3DNow
Resolving www.bbc.co.uk for AF_INET...
Connecting to server www.bbc.co.uk[212.58.240.111]:80 ...
Cache size set to 256 KBytes
Connected to server: www.bbc.co.uk
77 audio & 188 video codecs
CommandLine: '-cache' '256' '-v' '-playlist' 'http://www.bbc.co.uk/radio4/realplayer/media/fmg2.ram'
init_freetype
get_path('font/font.desc') -> '/root/.mplayer/font/font.desc'
font: can't open file: /root/.mplayer/font/font.desc
font: Reading section: [info]
font: Reading section: [files]
RAW: /usr/share/mplayer/font//iso-8859-1-a.raw 3216 x 22, 256 colors
RAW: /usr/share/mplayer/font//iso-8859-1-b.raw 3216 x 22, 256 colors
font: Reading section: [characters]
font: Reading section: [files]
RAW: /usr/share/mplayer/font//osd-mplayer-a.raw 416 x 25, 256 colors
RAW: /usr/share/mplayer/font//osd-mplayer-b.raw 416 x 25, 256 colors
font: Reading section: [characters]
font: resampling alpha by factor 0.750 (192) DONE!
font: resampling alpha by factor 0.750 (192) DONE!
Font /usr/share/mplayer/font/font.desc loaded successfully! (206 chars)
Using MMX (with tiny bit 3DNow) Optimized OnScreenDisplay
Using Linux hardware RTC timing (1024Hz).
get_path('input.conf') -> '/root/.mplayer/input.conf'
Parsing input config file /root/.mplayer/input.conf
Input config file /root/.mplayer/input.conf parsed: 23 binds
Setting up LIRC support...
get_path('r4_dsat_g2.ra.conf') -> '/root/.mplayer/r4_dsat_g2.ra.conf'
[[[init getch2]]]
Playing rtsp://rmlivev8.bbc.net.uk/farm/*/ev7/live24/radio4/live/r4_dsat_g2.ra.
Filename for url is now rtsp://rmlivev8.bbc.net.uk/farm/*/ev7/live24/radio4/live/r4_dsat_g2.ra
Filename for url is now rtsp://rmlivev8.bbc.net.uk/farm/*/ev7/live24/radio4/live/r4_dsat_g2.ra
Resolving rmlivev8.bbc.net.uk for AF_INET...
Connecting to server rmlivev8.bbc.net.uk[212.58.240.106]:554 ...
Cache size set to 256 KBytes
Connected to server: rmlivev8.bbc.net.uk
CACHE_PRE_INIT: 0 [0] 0 pre:0 eof:0
Cache fill: 18.75% (49152 bytes) CACHE2_SEEK: 0x0 <= 0x0 (0x0) <= 0x0
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: 0x146
Flags (2): [perfect play (more buffers)]
Chunk: CONT (544e4f43) (size: 0x45, offset: 0x44)
Chunk: MDPR (5250444d) (size: 0xb3, offset: 0x89)
Found new stream (id: 0)
skip_str: 12 bytes skipped
skip_str: 35 bytes skipped
demux_real: type_spec: len=86 fpos=0xE6 first_dword=0x2E7261FD (?ar.)
==> Found audio stream: 0
Found audio stream!
version: 5
header size: 70
frame_size: 640
sub_packet_size: 128
samplerate: 22050, channels: 2
======= WAVE Format =======
Format Tag: 28515 (0x6F63)
Channels: 2
Samplerate: 22050
avg byte/sec: 44100
Block align: 640
bits/sample: 16
cbSize: 18
Unknown extra header dump: [80] [0] [10] [0] [b] [0] [80] [2] [8] [0] [1] [0] [0] [2] [4] [0] [0] [18]
===========================
### skipping 0 bytes of codec info
Chunk: DATA (41544144) (size: 0x0, offset: 0x13c)
demux_real: invalid chunksize! (0)
Packets in file: 0
Auto-selected RM audio ID = 0
Clip info:
name: Radio 4
author: BBC
copyright: (C) British Broadcasting Corporation 2004
==========================================================================
Opening audio decoder: [realaud] RealAudio decoder
opening shared obj '/usr/lib/real/cook.so.6.0'
Audio codec: [11] 44 Kbps Stereo Music
Audio bitrate: 44.100 kbit/s (5513 bps)
dec_audio: Allocating 10240 bytes for input buffer.
dec_audio: Allocating 128000 + 65536 = 193536 bytes for output buffer.
AUDIO: 22050 Hz, 2 ch, 16 bit (0x10), ratio: 5513->88200 (44.1 kbit)
Selected audio codec: [racook] afm:realaud (RealAudio COOK)
==========================================================================
Checking audio filter chain for 22050Hz/2ch/16bit -> 22050Hz/2ch/16bit...
[libaf] Adding filter dummy
[dummy] Was reinitialized, rate=22050Hz, nch = 2, format = 0x00000001 and bps = 2
AF_pre: af format: 2 bps, 2 ch, 22050 hz, little endian signed int
AF_pre: 22050Hz 2ch Signed 16-bit (Little-Endian)
ao2: 22050 Hz 2 chans Signed 16-bit (Little-Endian)
audio_setup: using '/dev/sound/dsp' dsp device
audio_setup: using '/dev/sound/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 22050 Hz samplerate (requested: 22050)
audio_setup: frags: 32/32 (2048 bytes/frag) free: 65536
AO: [oss] 22050Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
AO: Description: OSS/ioctl audio output
AO: Author: A'rpi
Building audio filter chain for 22050Hz/2ch/16bit -> 22050Hz/2ch/16bit...
[dummy] Was reinitialized, rate=22050Hz, nch = 2, format = 0x00000001 and bps = 2
[dummy] Was reinitialized, rate=22050Hz, nch = 2, format = 0x00000001 and bps = 2
Video: no video
Freeing 0 unused video chunks.
Starting playback...
decaudio: minlen=65536 maxlen=65536 declen=65536 (max=193536)
decaudio: decoding 65536 bytes, max: 193536 (128000)
decaudio: decoding 61440 bytes, max: 189440 (128000)
decaudio: decoding 51200 bytes, max: 179200 (128000)
decaudio: decoding 40960 bytes, max: 168960 (128000)
decaudio: decoding 30720 bytes, max: 158720 (128000)
decaudio: decoding 20480 bytes, max: 148480 (128000)
decaudio: decoding 10240 bytes, max: 138240 (128000)
More information about the MPlayer-users
mailing list