summaryrefslogtreecommitdiff
path: root/bin/decode+edit+encode+stream
diff options
context:
space:
mode:
Diffstat (limited to 'bin/decode+edit+encode+stream')
-rwxr-xr-xbin/decode+edit+encode+stream4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/decode+edit+encode+stream b/bin/decode+edit+encode+stream
index f0efc74..80ec165 100755
--- a/bin/decode+edit+encode+stream
+++ b/bin/decode+edit+encode+stream
@@ -9,7 +9,7 @@ else
IP=$(host "$HOST" | grep -Po 'address \K\S+')
fi
-PORT=${2:-5004}
+FIRSTPORT=${2:-5002} # even number - next 3 ports used too
ITERATIONS=${3-0} # endless by default
@@ -33,4 +33,4 @@ ffmpeg -threads auto -re \
-max-intra-rate 0 \
-qmin 4 -qmax 56 \
-static-thresh 500 -skip_threshold 50 \
- -f rtp "rtp://$IP:$PORT?pkt_size=1200"
+ -f rtp "rtp://$IP:$((FIRSTPORT+2))?pkt_size=1200"