Introduction
Introduction Statistics Contact Development Disclaimer Help
Fix parameter names in various ffmpeg and imagemagick calls - bitreich-memestat…
git clone git://bitreich.org/bitreich-memestats git://hg6vgqziawt5s4dj.onion/bi…
Log
Files
Refs
Tags
LICENSE
---
commit c78a71ae3ad86fbe0b112c947c5252746ae020cd
parent 5bfeec49a9374801c59c6f8d46c423d7d019e806
Author: Anders Damsgaard <[email protected]>
Date: Mon, 20 Apr 2020 11:47:28 +0000
Fix parameter names in various ffmpeg and imagemagick calls
Diffstat:
M brtv-start.sh | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/brtv-start.sh b/brtv-start.sh
@@ -56,20 +56,20 @@ video_from_img() {
-i "$1" \
-t "00:${3}:00" \
$ffmpeg_codec \
- "$2"
+ "$2";
}
title_slide() {
- img="$(basename "${1%.*}.png)"
- convert -size 640x480 xc:"$bgcolor" -pointsize 48 -fill "$fgcolor" \
- -gravity center -draw "text 0,0 '#${1%.*}'" "$t"
+ img="$(basename "${1%.*}".png)"
+ convert -size "$video_resolution" "xc:${bgcolor}" -pointsize 48 -fill …
+ -gravity center -draw "text 0,0 '#${img%.*}'" "$img"
ffmpeg -y \
-f lavfi \
-i anullsrc=r=48000 \
- -i "$t" \
+ -i "$img" \
-t "00:${title_display_time}:00" \
- $ffmpec_codec\
- "$2"
+ $ffmpec_codec \
+ "$2";
}
video_conv() {
You are viewing proxied material from bitreich.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.