diff options
author | Jonas Smedegaard <dr@jones.dk> | 2017-04-13 10:15:12 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2017-04-13 10:53:30 +0200 |
commit | d62462fa43e10c5bccdc0f25c4ed5a26e2bfa2c8 (patch) | |
tree | e191e453329300be1096c5839e2a4c2b3e9110a7 /bin/encode+stream | |
parent | 7fda1a3bd2a78dab92dfb6fdef9094b14aa16243 (diff) |
List audio before video.
Diffstat (limited to 'bin/encode+stream')
-rwxr-xr-x | bin/encode+stream | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/encode+stream b/bin/encode+stream index e23b8a1..8750c90 100755 --- a/bin/encode+stream +++ b/bin/encode+stream @@ -20,10 +20,11 @@ TMPMOVIE=../tmp/omni/show0/earth.yuv # + Drop frames, aggressively treat as static, and use fastest cpu ffmpeg -threads auto -re \ -stream_loop -1 -i "$TMPMOVIE" \ + -an \ -codec:v vp8 -quality realtime -deadline realtime -cpu-used 15 \ -b:v "$BITRATE" -minrate "$BITRATE" -maxrate "$BITRATE" \ -undershoot-pct 95 -bufsize $((6000*BITRATE/1000)) -rc_init_occupancy $((4000*BITRATE/1000)) \ -max-intra-rate 0 \ -qmin 4 -qmax 56 \ -static-thresh 500 -skip_threshold 50 \ - -an -f rtp "rtp://$IP:$PORT?pkt_size=1200" + -f rtp "rtp://$IP:$PORT?pkt_size=1200" |