summaryrefslogtreecommitdiff
path: root/bin/stream
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2017-04-28 10:19:01 +0200
committerJonas Smedegaard <dr@jones.dk>2017-04-28 10:19:01 +0200
commite41c71324edee6e068a10fe0fc3d179d661a7270 (patch)
treef01a3fcdd2f3d0beaec3d561f2991e7f9a039456 /bin/stream
parentcaa15c07179bb765c710b5132cb78520cac99926 (diff)
Use rounded rescaling.
Diffstat (limited to 'bin/stream')
-rwxr-xr-xbin/stream2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/stream b/bin/stream
index 53d9163..afb0de5 100755
--- a/bin/stream
+++ b/bin/stream
@@ -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 \