[MPlayer-users] unable to play Real Audio stream

Ross Gayler r.gayler at gmail.com
Sat Mar 22 22:25:58 CET 2008


Wanderer,

Thanks for the rapid response.

> What is the exact command line involved? It is important, when reporting
problems, to always give the exact
> command line (copy-pasted, not
> retyped) and the exact, *complete* text output.

Sorry - I have a bout 5 minutes experience with MPlayer and that is all via
the MPUI wrapper.

The Mplayer version is r25803 (because that's what came with the UI).

> I would suggest, first, trying to play the stream from the command line
> rather than using a UI wrapper;

I get essentially the same result that you did.

=====
C:\RG_ProgFiles\MPlayer for Windows>mplayer -playlist
http://woub.org/radio/woublive.ram
MPlayer Sherpya-SVN-r25803-4.2.2 (C) 2000-2008 MPlayer Team
CPU: Intel(R) Core(TM)2 Duo CPU     T7500  @ 2.20GHz (Family: 6, Model: 15,
Stepping: 11)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
Warning unknown option color at line 7
Resolving woub.org for AF_INET...
Connecting to server woub.org[198.234.122.134]: 80...
Cache size set to 320 KBytes

Playing rtsp://media.woub.org/qtencoder/woubfmlive.sdp?title="WOUB-FM
Live!"&aut
hor="WOUB Radio - woub.org"&copyright="2005 Ohio University".
Resolving media.woub.org for AF_INET...
Connecting to server media.woub.org[198.234.121.103]: 554...
Cache size set to 320 KBytes
Cache fill: 17.50% (57344 bytes)
REAL file format detected.
Stream mimetype: audio/MPEG4-GENERIC
demux_real: invalid chunksize! (0)
No stream found.

Exiting... (End of file)
=====

 > if that still fails, try updating to a more recent version;

I have just downloaded the Windows binary from
http://www.mplayerhq.hu/design7/dload.html
This gets me MPlayer 1.0rc2-4.2.1 (which I interpret to be a slightly older
version than the one I was using before).
Unfortunately, I am not set up to compile MPlayer from the source.
The 1.0rc2-4.2.1 version produces exactly the same result as my earlier
attempt.

> then either you are missing important libraries, the stream is not in
> fact supported, or you have most likely found an actual bug.

I think that has exhausted my debugging skills on this (because I know
bugger all about MPlayer and streaming audio formats).

Since you and I get the same result from the command line version,
and both our outputs mention "demux_real: invalid chunksize! (0)",
and Real Player can play it whereas Mplayer can't,
and VLC also refuses to play it (see below),
I would guess that some initial part of the stream is malformed in a way
that Real Player ignores but MPlayer can't handle.



For what it's worth I tried opening http://woub.org/radio/woublive.ram with
VLC and got the following log:

main debug: adding playlist item `http://woub.org/radio/woublive.ram' (
http://woub.org/radio/woublive.ram )
main debug: creating new input thread
main debug: waiting for thread completion
main debug: thread 4628 (input) created at priority 1 (input/input.c:265)
main debug: `http://woub.org/radio/woublive.ram' gives access `http' demux
`' path `woub.org/radio/woublive.ram'
main debug: creating demux: access='http' demux=''
path='woub.org/radio/woublive.ram'
main debug: looking for access_demux module: 0 candidates
main warning: no access_demux module matched "http"
main debug: creating access 'http' path='woub.org/radio/woublive.ram'
main debug: looking for access2 module: 7 candidates
access_http debug: http: server='woub.org' port=80 file='/radio/woublive.ram
main debug: net: connecting to woub.org port 80
main debug: connection in progress
access_http debug: protocol 'HTTP' answer code 206
access_http debug: Server: Apache/2.2.8 (Fedora)
access_http debug: stream size=133
access_http debug: Content-Type: audio/x-pn-realaudio
main debug: using access2 module "access_http"
main debug: pre-buffering...
main debug: received first data for our buffer
main debug: creating demux: access='http' demux=''
path='woub.org/radio/woublive.ram'
main debug: looking for demux2 module: 45 candidates
playlist debug: found valid M3U playlist file
main debug: using demux2 module "playlist"
main debug: looking for a subtitle file in C:\RG_ProgFiles\VideoLAN\VLC\
main debug: `http://woub.org/radio/woublive.ram' successfully opened
playlist debug: starting playlist playback
main debug: adding playlist item
`rtsp://media.woub.org/qtencoder/woubfmlive.sdp?title="WOUB-FM
Live!"&author="WOUB Radio - woub.org"&copyright="2005 Ohio University"' (
rtsp://media.woub.org/qtencoder/woubfmlive.sdp?title="WOUB-FM
Live!"&author="WOUB Radio - woub.org"&copyright="2005 Ohio University" )
main debug: EOF reached
main debug: closing input
main debug: removing module "playlist"
main debug: removing module "access_http"
main debug: thread times: real 0m0.968750s, kernel 0m0.015625s, user
0m0.000000s
main debug: thread 4628 joined (input/input.c:412)
main debug: creating new input thread
main debug: waiting for thread completion
main debug: thread 4628 (input) created at priority 1 (input/input.c:265)
main debug: `rtsp://media.woub.org/qtencoder/woubfmlive.sdp?title="WOUB-FM
Live!"&author="WOUB Radio - woub.org"&copyright="2005 Ohio University"'
gives access `rtsp' demux `' path
`media.woub.org/qtencoder/woubfmlive.sdp?title="WOUB-FM Live!"&author="WOUB
Radio - woub.org"&copyright="2005 Ohio University"'
main debug: creating demux: access='rtsp' demux=''
path='media.woub.org/qtencoder/woubfmlive.sdp?title="WOUB-FM
Live!"&author="WOUB Radio - woub.org"&copyright="2005 Ohio University"'
main debug: looking for access_demux module: 1 candidate
live555 debug: RTP subsession 'audio/MPEG4-GENERIC'
main debug: selecting program id=0
main debug: using access_demux module "live555"
main debug: looking for a subtitle file in C:\RG_ProgFiles\VideoLAN\VLC\
main debug: looking for decoder module: 28 candidates
main debug: using decoder module "faad"
main debug: thread 4788 (decoder) created at priority 2
(input/decoder.c:159)
main debug: `rtsp://media.woub.org/qtencoder/woubfmlive.sdp?title="WOUB-FM
Live!"&author="WOUB Radio - woub.org"&copyright="2005 Ohio University"'
successfully opened
live555 warning: no data received in 10s. Switching to TCP
live555 debug: RTP subsession 'audio/MPEG4-GENERIC'
live555 error: no data received in 10s, aborting
main debug: EOF reached
main debug: closing input
main debug: removing module "live555"
main debug: removing module "faad"
main debug: thread times: real 0m12.437500s, kernel 0m0.000000s, user
0m0.000000s
main debug: thread 4788 joined (input/decoder.c:191)
main debug: killing decoder fourcc `mp4a', 0 PES in FIFO
main debug: thread times: real 0m13.703125s, kernel 0m0.046875s, user
0m0.000000s
main debug: thread 4628 joined (input/input.c:412)
main: nothing to play

So that makes two players other than Real Player that won't play this
stream.

Ross




-----Original Message-----
From: The Wanderer [mailto:inverseparadox at comcast.net] 
Sent: Saturday, 22 March 2008 10:15 PM
To: r.gayler at gmail.com; MPlayer usage questions, feature requests, bug
reports
Subject: Re: [MPlayer-users] unable to play Real Audio stream

Ross Gayler wrote:

> Hi,
> 
> My apologies if this is a really dumb question.
> 
> I appear to be unable to play http://woub.org/radio/woublive.ram with 
> MPlayer Sherpya-SVN-r58803-4.2.2 (with MPUI 1.2-pre3 build 38).
> This contains
> rtsp://media.woub.org/qtencoder/woubfmlive.sdp?title="WOUB-FM
> Live!"&author="WOUB Radio - woub.org"&copyright="2005 Ohio University"
> 
> The MPlayer output seems to suggest that it is being confused by the 
> spaces in the query strings:

What is the exact command line involved? It is important, when reporting
problems, to always give the exact command line (copy-pasted, not
retyped) and the exact, *complete* text output.

With MPlayer revision 26091 (itself now a little old) and the first obvious
candidate command line, I get:

========
wanderer at archon:/tmp$ mplayer -playlist http://woub.org/radio/woublive.ram
MPlayer dev-SVN-r26091-4.2.3 (C) 2000-2008 MPlayer Team
CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 5000+ (Family: 15, Model: 
107, Stepping: 2)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1 Compiled for x86
CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2 Resolving woub.org for
AF_INET6...
Couldn't resolve name for AF_INET6: woub.org Resolving woub.org for
AF_INET...
Connecting to server woub.org[198.234.122.134]: 80...
Cache size set to 320 KBytes

Playing rtsp://media.woub.org/qtencoder/woubfmlive.sdp?title="WOUB-FM
Live!"&author="WOUB Radio - woub.org"&copyright="2005 Ohio University".
Resolving media.woub.org for AF_INET6...
Couldn't resolve name for AF_INET6: media.woub.org Resolving media.woub.org
for AF_INET...
Connecting to server media.woub.org[198.234.121.103]: 554...
Cache size set to 320 KBytes
Cache fill: 17.50% (57344 bytes)
REAL file format detected.
Stream mimetype: audio/MPEG4-GENERIC
demux_real: invalid chunksize! (0)
No stream found.


Exiting... (End of file)
========

> I guess this may be a malformed/nonstandard rtsp URL, but Real Player
> is able to play this OK.
> 
> Any suggestions as to how I can work around this?

The problem itself looks to me like something to do with improperly
quoted command-line parameters, but I have not been able to reproduce
the problem on my own computer with several different obvious ways to
not correctly quote the URL. Since I have never heard of MPUI as far as
I recall, I suspect that it may be to blame for this.

I would suggest, first, trying to play the stream from the command line
rather than using a UI wrapper; if that still fails, try updating to a
more recent version; if it fails with the latest development version,
then either you are missing important libraries, the stream is not in
fact supported, or you have most likely found an actual bug.

-- 
    The Wanderer

    My usual .sig is on vacation while I adjust to my new computer




More information about the MPlayer-users mailing list