To play file with extension ".ra" as RealAudio file - make the following
changes to the AlienBBC conf files.
1. Add a line for the ra type to custom-types.conf
Code:
--------------------
rtsppl rm,ram,rpm ? playlist
rtsp rtsp: ? audio
smilpl smil application/smil playlist
ra ra ? audio
--------------------
Add "ra" lines to custom-convert.conf - they are trhe same as the rtsp
lines just with ra at the start.
Code:
--------------------
rtsp wav * *
[mplayer.sh] -really-quiet -vc null -vo null -bandwidth 10000000 -cache
128 -af volume=0,resample=44100:0:1,channels=2 -ao
pcm:nowaveheader:file=/dev/fd/3 $FILE$
rtsp mp3 * *
[mplayer.sh] -really-quiet -vc null -vo null -bandwidth 10000000 -cache
128 -af volume=0,resample=44100:0:1,channels=2 -ao
pcm:nowaveheader:file=/dev/fd/3 $FILE$ | [lame] --silent -r -x -q $QUALITY$ -b
$BITRATE$ - -
rtsp flc * *
[mplayer.sh] -really-quiet -vc null -vo null -bandwidth 10000000 -cache
128 -af volume=0,resample=44100:0:1,channels=2 -ao
pcm:nowaveheader:file=/dev/fd/3 $FILE$ | [flac] -cs --totally-silent
--endian=little --channels=2 --sign=signed --bps=16 --sample-rate=44100
--compression-level-0 -
ra wav * *
[mplayer.sh] -really-quiet -vc null -vo null -bandwidth 10000000 -cache
128 -af volume=0,resample=44100:0:1,channels=2 -ao
pcm:nowaveheader:file=/dev/fd/3 $FILE$
ra mp3 * *
[mplayer.sh] -really-quiet -vc null -vo null -bandwidth 10000000 -cache
128 -af volume=0,resample=44100:0:1,channels=2 -ao
pcm:nowaveheader:file=/dev/fd/3 $FILE$ | [lame] --silent -r -x -q $QUALITY$ -b
$BITRATE$ - -
ra flc * *
[mplayer.sh] -really-quiet -vc null -vo null -bandwidth 10000000 -cache
128 -af volume=0,resample=44100:0:1,channels=2 -ao
pcm:nowaveheader:file=/dev/fd/3 $FILE$ | [flac] -cs --totally-silent
--endian=little --channels=2 --sign=signed --bps=16 --sample-rate=44100
--compression-level-0 -
--------------------
I had tried to make a new type called "podr" to play the stream live
but it just stutters - the stream during the initial few minutes is
very slow and this causes problems with the rm format. The additions
to the conf files I used were
custom-types.conf
Code:
--------------------
podr - audio/x-pn-realaudio audio
--------------------
And custom-convert.conf
Code:
--------------------
podr wav * *
[mplayer.sh] -really-quiet -vc null -vo null -bandwidth 10000000
-nocache -af volume=0,resample=44100:0:1,channels=2 -ao
pcm:nowaveheader:file=/dev/fd/3 $FILE$
podr mp3 * *
[mplayer.sh] -really-quiet -vc null -vo null -bandwidth 10000000
-nocache -af volume=0,resample=44100:0:1,channels=2 -ao
pcm:nowaveheader:file=/dev/fd/3 $FILE$ | [lame] --silent -r -x -q $QUALITY$ -b
$BITRATE$ - -
podr flc * *
[mplayer.sh] -really-quiet -vc null -vo null -bandwidth 10000000
-nocache -af volume=0,resample=44100:0:1,channels=2 -ao
pcm:nowaveheader:file=/dev/fd/3 $FILE$ | [flac] -cs --totally-silent
--endian=little --channels=2 --sign=signed --bps=16 --sample-rate=44100
--compression-level-0 -
--------------------
--
bpa
------------------------------------------------------------------------
bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=53929
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/plugins