aboutsummaryrefslogtreecommitdiffstats
path: root/encode-url-gst-dabplus.sh
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2014-02-14 13:06:42 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2014-02-14 13:06:42 +0100
commitc520edc59f12eea97f2213326d43cbe6ca09f169 (patch)
treed72c39e50edba6ac348462b82952b9341c57d4cf /encode-url-gst-dabplus.sh
parente998a68308e5cde70bbd156107ae692f26753946 (diff)
downloadmmbtools-aux-c520edc59f12eea97f2213326d43cbe6ca09f169.tar.gz
mmbtools-aux-c520edc59f12eea97f2213326d43cbe6ca09f169.tar.bz2
mmbtools-aux-c520edc59f12eea97f2213326d43cbe6ca09f169.zip
encoding scripts improvements
Diffstat (limited to 'encode-url-gst-dabplus.sh')
-rwxr-xr-xencode-url-gst-dabplus.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/encode-url-gst-dabplus.sh b/encode-url-gst-dabplus.sh
index bbe3d59..da16851 100755
--- a/encode-url-gst-dabplus.sh
+++ b/encode-url-gst-dabplus.sh
@@ -12,7 +12,7 @@ GSTREAMER_VERSION="1"
if [ "$DSTPORT" == "" ]
then
echo "Usage:"
- echo " $0 <url> <bitrate> <zmq destination port>"
+ echo " $0 <url> <bitrate> <zmq destination>"
exit 1
fi
@@ -27,7 +27,7 @@ then
audio/x-raw, 'rate=48000,format=S16LE,channels=2' ! \
filesink location="/dev/stdout" | \
../fdk-aac-dabplus/aac-enc-dabplus-zmq \
- -i /dev/stdin -b $BITRATE -f raw -a -o "tcp://*:${DSTPORT}"
+ -i /dev/stdin -b $BITRATE -f raw -a -o "${DSTPORT}"
elif [ "$GSTREAMER_VERSION" == "0" ]
then
@@ -39,6 +39,6 @@ then
audio/x-raw-int, 'rate=48000,format=S16LE,channels=2' ! \
filesink location="/dev/stdout" | \
../fdk-aac-dabplus/aac-enc-dabplus-zmq \
- -i /dev/stdin -b $BITRATE -f raw -a -o "tcp://*:${DSTPORT}"
+ -i /dev/stdin -b $BITRATE -f raw -a -o "${DSTPORT}"
fi