diff options
author | Jonas Smedegaard <dr@jones.dk> | 2017-04-27 20:09:46 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2017-04-27 20:09:46 +0200 |
commit | 73c58e6cf15a921197a6e85422cb061fe01b0f53 (patch) | |
tree | 13c5c821e5037d5783369bdf805aa674778c836d /bin/loop+encode+stream | |
parent | 943f0e2f7dcdaccbbfc1a07b4218f97e85d70914 (diff) |
Use mapping (not audio/video supporession), and consistently use complex filter (not video filter).
Diffstat (limited to 'bin/loop+encode+stream')
-rwxr-xr-x | bin/loop+encode+stream | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/loop+encode+stream b/bin/loop+encode+stream index 13a5c75..8d28767 100755 --- a/bin/loop+encode+stream +++ b/bin/loop+encode+stream @@ -26,10 +26,10 @@ VBITRATE=256000 # + Use same RTP payload types as GStreamer ffmpeg -hide_banner -threads auto -re \ -stream_loop -1 -i "$INPUT" \ + -map '0:a' \ -codec:a libopus -ac "$ACHANNELS" -ar "$AFRAMERATE" -b:a "$ABITRATE" \ - -vn \ -f rtp -payload_type 111 "rtp://$IP:$FIRSTPORT?pkt_size=1200" \ - -an \ + -map '0:v' \ -pix_fmt yuv420p \ -codec:v vp8 -quality realtime -deadline 1000000 -cpu-used 15 \ -b:v "$VBITRATE" -minrate "$VBITRATE" -maxrate "$VBITRATE" \ |