summaryrefslogtreecommitdiff
path: root/bin/stream
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2017-05-17 08:46:45 +0200
committerJonas Smedegaard <dr@jones.dk>2017-05-17 08:46:45 +0200
commitb38522f37cd4708980bee49467b0be3a7f81aa40 (patch)
tree872304a4ebd9549946292a07241f4797f90c38e7 /bin/stream
parent363f4d522d8ef47dd30537371e7d7ebc53730a48 (diff)
Tidy: Apply options preset and tune in that order.
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 ac5135f..006f924 100755
--- a/bin/stream
+++ b/bin/stream
@@ -199,7 +199,7 @@ ffmpeg -hide_banner -threads auto \
-codec:a aac -strict experimental -ac "$ACHANNELS" -ar "$AFRAMERATE_AAC" -b:a $((ACHANNELS*ABITRATE_AAC)) } \
${HASVIDEO:+\
-pix_fmt yuv420p \
- -codec:v libx264 -tune zerolatency -preset "$SPEED_X264" \
+ -codec:v libx264 -preset "$SPEED_X264" -tune zerolatency \
-maxrate "$VBITRATE" -bufsize "$((VBITRATE*2))" -crf 23 } \
-force_key_frames 'expr:gte(t,n_forced*2)' \
-f rtp_mpegts rtp://$IP:10000 }