summaryrefslogtreecommitdiff
path: root/bin/decode+edit+encode+stream
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2017-04-13 10:31:25 +0200
committerJonas Smedegaard <dr@jones.dk>2017-04-13 10:53:32 +0200
commitc37fe7cba815cb845583364481facc21da34f29b (patch)
tree97f34d75e08963b13e92665502eb8af658f78d37 /bin/decode+edit+encode+stream
parent5ecdeaf2c7b1ce9b2fe13744068a4d9c44dafb1d (diff)
Tidy comments.
Diffstat (limited to 'bin/decode+edit+encode+stream')
-rwxr-xr-xbin/decode+edit+encode+stream5
1 files changed, 2 insertions, 3 deletions
diff --git a/bin/decode+edit+encode+stream b/bin/decode+edit+encode+stream
index 80ec165..e8f5cdd 100755
--- a/bin/decode+edit+encode+stream
+++ b/bin/decode+edit+encode+stream
@@ -19,9 +19,8 @@ BITRATE=500000
MOVIE=../src/omni/show0/earth.mp4
LOGO=../../content/icon_small.png
-# based on http://video.stackexchange.com/a/16933
-# + codec options from http://www.webmproject.org/docs/encoder-parameters/
-# example "Real-time CBR Encoding and Streaming"
+# based on http://www.webmproject.org/docs/encoder-parameters/#real-time-cbr-encoding-and-streaming
+# + loop-in-filter trick based on http://video.stackexchange.com/a/16933
# + Drop frames, aggressively treat as static, and use fastest cpu
ffmpeg -threads auto -re \
-f lavfi -i "movie=filename=$MOVIE:loop=$ITERATIONS, setpts=N/(FRAME_RATE*TB), scale=-1:$HEIGHT" \