summaryrefslogtreecommitdiff
path: root/bin/encodevideo+loop+stream
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2017-04-27 20:09:46 +0200
committerJonas Smedegaard <dr@jones.dk>2017-04-27 20:09:46 +0200
commit73c58e6cf15a921197a6e85422cb061fe01b0f53 (patch)
tree13c5c821e5037d5783369bdf805aa674778c836d /bin/encodevideo+loop+stream
parent943f0e2f7dcdaccbbfc1a07b4218f97e85d70914 (diff)
Use mapping (not audio/video supporession), and consistently use complex filter (not video filter).
Diffstat (limited to 'bin/encodevideo+loop+stream')
-rwxr-xr-xbin/encodevideo+loop+stream2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/encodevideo+loop+stream b/bin/encodevideo+loop+stream
index 61edc0d..39e4b21 100755
--- a/bin/encodevideo+loop+stream
+++ b/bin/encodevideo+loop+stream
@@ -20,7 +20,7 @@ VBITRATE=256000
# + Use same RTP payload types as GStreamer
ffmpeg -hide_banner -threads auto -re \
-stream_loop -1 -i "$INPUT" \
- -an \
+ -map '0:v' \
-pix_fmt yuv420p \
-codec:v vp8 -quality realtime -deadline 1000000 -cpu-used 15 \
-b:v "$VBITRATE" -minrate "$VBITRATE" -maxrate "$VBITRATE" \