summaryrefslogtreecommitdiff
path: root/bin/decode+edit+encode+stream
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2017-04-13 10:15:12 +0200
committerJonas Smedegaard <dr@jones.dk>2017-04-13 10:53:30 +0200
commitd62462fa43e10c5bccdc0f25c4ed5a26e2bfa2c8 (patch)
treee191e453329300be1096c5839e2a4c2b3e9110a7 /bin/decode+edit+encode+stream
parent7fda1a3bd2a78dab92dfb6fdef9094b14aa16243 (diff)
List audio before video.
Diffstat (limited to 'bin/decode+edit+encode+stream')
-rwxr-xr-xbin/decode+edit+encode+stream3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/decode+edit+encode+stream b/bin/decode+edit+encode+stream
index b9c9d7e..f0efc74 100755
--- a/bin/decode+edit+encode+stream
+++ b/bin/decode+edit+encode+stream
@@ -26,10 +26,11 @@ LOGO=../../content/icon_small.png
ffmpeg -threads auto -re \
-f lavfi -i "movie=filename=$MOVIE:loop=$ITERATIONS, setpts=N/(FRAME_RATE*TB), scale=-1:$HEIGHT" \
-i "$LOGO" -filter_complex 'overlay=main_w-overlay_w-20:main_h-overlay_h-20' \
+ -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"