From b38522f37cd4708980bee49467b0be3a7f81aa40 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Wed, 17 May 2017 08:46:45 +0200 Subject: Tidy: Apply options preset and tune in that order. --- bin/stream | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/stream') 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 } -- cgit v1.2.3