Custom-convert.conf has the following added:

==================================================
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 -

=================================================
Can't recall at the moment if there were mods to another file as well.

mplayer.sh is as follows:
=================================================
#!/bin/sh
scriptpid=$$
apppid=/tmp/.alienbbc-app.$$.pid
app=mplayer

if [ -x /usr/local/bin/$app ] ; then
app=/usr/local/bin/$app
fi

# For mplayer pre6 comment out following line and uncomment line after

if [ -e "${10}" ] ; then
#if [ -e "${12}" ] || [ -e "${13}" ] ; then
echo Local File: Launching $app $1 $2 $3 $4 $5 $6 $7 $8 $9 "${10}"
${11} "${12}" "${13}" >&2
$app $1 $2 $3 $4 $5 $6 $7 $8 $9 "${10}" ${11} "${12}" "${13}" 3>&1
1>&2
exit
fi

echo Streaming: Launching $app $* >&2
(
$app $* 3>&1 1>&2 & 
echo $! > $apppid
wait
rm -f $apppid
kill $scriptpid 2> /dev/null
) < /dev/null &

cat > /dev/null
if [ -s $apppid ] ; then
kill `cat $apppid` 2> /dev/null
fi

=================================================

Paul

PS the file plays okay in "mplayerc".


-- 
pshepherd
------------------------------------------------------------------------
pshepherd's Profile: http://forums.slimdevices.com/member.php?userid=9779
View this thread: http://forums.slimdevices.com/showthread.php?t=42679

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/plugins

Reply via email to