diff options
Diffstat (limited to 'bin/decode+edit+encode+stream')
-rwxr-xr-x | bin/decode+edit+encode+stream | 5 |
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" \ |