From 02dbe051b24febac0583bbb64aa37dc5636a2b89 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Mon, 24 Apr 2017 08:49:16 +0200 Subject: Cosmetics: Apply AFRAMERATE before ABITRATE. --- bin/loop+encode+stream | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/loop+encode+stream') diff --git a/bin/loop+encode+stream b/bin/loop+encode+stream index 100b6c1..4266b53 100755 --- a/bin/loop+encode+stream +++ b/bin/loop+encode+stream @@ -25,7 +25,7 @@ VBITRATE=256000 # + Use same RTP payload types as GStreamer ffmpeg -threads auto -re \ -stream_loop -1 -i "$INPUT" \ - -codec:a libopus -ac 2 -b:a "$ABITRATE" -ar "$AFRAMERATE" \ + -codec:a libopus -ac 2 -ar "$AFRAMERATE" -b:a "$ABITRATE" \ -vn \ -f rtp -payload_type 111 "rtp://$IP:$FIRSTPORT?pkt_size=1200" \ -an \ -- cgit v1.2.3