diff options
author | Jonas Smedegaard <dr@jones.dk> | 2017-04-28 10:19:01 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2017-04-28 10:19:01 +0200 |
commit | e41c71324edee6e068a10fe0fc3d179d661a7270 (patch) | |
tree | f01a3fcdd2f3d0beaec3d561f2991e7f9a039456 /bin/stream | |
parent | caa15c07179bb765c710b5132cb78520cac99926 (diff) |
Use rounded rescaling.
Diffstat (limited to 'bin/stream')
-rwxr-xr-x | bin/stream | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -92,7 +92,7 @@ ffmpeg -hide_banner -threads auto -re \ ${VFILE:+-i "$VFILE"} \ ${LOGO:+-i "$LOGO"} \ ${MAYBEVIDEO:+-filter_complex \ - "[$VSTREAMINDEX:v]scale=-1:$HEIGHT${WATERMARK:-[v]}${WATERMARK:+[bg]${LOGO:+; + "[$VSTREAMINDEX:v]scale=-2:$HEIGHT${WATERMARK:-[v]}${WATERMARK:+[bg]${LOGO:+; [bg][$((VSTREAMINDEX+1)):v]overlay=main_w-overlay_w-20:main_h-overlay_h-20[v]}}"} \ ${SAVEDIR:+-map '0:' ${TWOSOURCES:+-map '1:'} \ -codec copy \ |