PDA

View Full Version : Linux RealAudio streaming



Colin Burn-Murdoch
2004-01-16, 14:50
I've been trying to get realaudio streaming to work on my linux box - i know there's been mention of this before but i don't recall a conclusive solution. I have the magority of it though.... I have a one liner that will take a realaudio stream and write a mp3 stream on STDOUT, however I can't seem to get it right in convert.conf.

I have an entry:

ra mp3 * *
vsound -s trplayer -q $URL$ | $lame$ --silent -b 128 - -

which i think should work, certainly the command:

vsound -s trplayer -q rtsp://rmlivev8.bbc.net.uk/farm/*/ev7/live24/radio1/live/r1_dsat_g2.ra | lame -b 128 -quiet - - > radio1.mp3

writes the mp3 data out to a file which is playable.

If I create a M3U file with the rtsp:// url in it, and open it on the squeezebox, it displays:

r1 dsat g2

but remains stopped.

One thing of note is that the command takes about 10 seconds (buffering) before it starts to produce the mp3 stream.

I also tried the same line in the preset rts mp3 * * section, with no effect.

Any ideas?

kdf
2004-01-16, 14:57
Quoting Colin Burn-Murdoch <colin (AT) aranion (DOT) com>:

> I've been trying to get realaudio streaming to work on my linux box - i know
> there's been mention of this before but i don't recall a conclusive solution.
> I have the magority of it though.... I have a one liner that will take a
> realaudio stream and write a mp3 stream on STDOUT, however I can't seem to
> get it right in convert.conf.
>
> I have an entry:
>
> ra mp3 * *
> vsound -s trplayer -q $URL$ | $lame$ --silent -b 128 - -
>
> which i think should work, certainly the command:
>
> vsound -s trplayer -q
> rtsp://rmlivev8.bbc.net.uk/farm/*/ev7/live24/radio1/live/r1_dsat_g2.ra | lame
> -b 128 -quiet - - > radio1.mp3
>
> writes the mp3 data out to a file which is playable.
>
> If I create a M3U file with the rtsp:// url in it, and open it on the
> squeezebox, it displays:
>
> r1 dsat g2
>
> but remains stopped.
>
> One thing of note is that the command takes about 10 seconds (buffering)
> before it starts to produce the mp3 stream.
>
> I also tried the same line in the preset rts mp3 * * section, with no
> effect.
>
run the server with --d_source as a command-line option. This will give you the
results of the server attempting to play this URL. It will confirm whether or
nto is has found vsound, for example. You might want to try using $vsound$ in
the convert.conf as well, so that the server can look using its normal search
routines.

-kdf

Roy M. Silvernail
2004-01-16, 15:23
On Fri, 2004-01-16 at 16:57, kdf wrote:
> Quoting Colin Burn-Murdoch <colin (AT) aranion (DOT) com>:

> > If I create a M3U file with the rtsp:// url in it, and open it on the
> > squeezebox, it displays:
> >
> > r1 dsat g2
> >
> > but remains stopped.
> >
> > One thing of note is that the command takes about 10 seconds (buffering)
> > before it starts to produce the mp3 stream.
> >
> > I also tried the same line in the preset rts mp3 * * section, with no
> > effect.
> >
> run the server with --d_source as a command-line option. This will give you the
> results of the server attempting to play this URL. It will confirm whether or
> nto is has found vsound, for example. You might want to try using $vsound$ in
> the convert.conf as well, so that the server can look using its normal search
> routines.

Yabbut he's trying to transcode a net stream. The server doesn't do
that yet.
--
Roy M. Silvernail is roy (AT) rant-central (DOT) com, and you're not
Never Forget: It's Only 1's and 0's!
SpamAssassin->procmail->/dev/null->bliss
http://www.rant-central.com