summaryrefslogtreecommitdiff
path: root/bin/stream
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2017-05-18 10:01:20 +0200
committerJonas Smedegaard <dr@jones.dk>2017-05-18 10:01:20 +0200
commit7d4e5ef0b288ea24c826961a7c1d9f502acf7e15 (patch)
treeb13cad140c4fe9640a3850d3984173f819ded31b /bin/stream
parent985c330f64f8127a0c04e43efe7aa3371f12e256 (diff)
Fix avooid single-quotes made literal by echo_n.
Diffstat (limited to 'bin/stream')
-rwxr-xr-xbin/stream2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/stream b/bin/stream
index e6e0f40..964b7f7 100755
--- a/bin/stream
+++ b/bin/stream
@@ -194,7 +194,7 @@ encode_vp8() { bitrate=$1; speed=$2;
encode_x264() { bitrate=$1; speed=$2;
echo_n "-codec:v libx264 -preset $speed -tune zerolatency \
-maxrate $bitrate -bufsize $((bitrate*2)) -crf 23 \
- -force_key_frames 'expr:gte(t,n_forced*2)'"
+ -force_key_frames expr:gte(t,n_forced*2)"
}
tee_rtp() { stream=$1; pt=$2; port=$3;
echo_n "[select=\'$stream\':f=rtp:payload_type=$pt]rtp://$IP:$port?pkt_size=1200"