diff options
author | Jonas Smedegaard <dr@jones.dk> | 2017-05-18 10:01:20 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2017-05-18 10:01:20 +0200 |
commit | 7d4e5ef0b288ea24c826961a7c1d9f502acf7e15 (patch) | |
tree | b13cad140c4fe9640a3850d3984173f819ded31b | |
parent | 985c330f64f8127a0c04e43efe7aa3371f12e256 (diff) |
Fix avooid single-quotes made literal by echo_n.
-rwxr-xr-x | bin/stream | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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" |