annna-add-hashtag: do not allow ffmpeg(1) to read stdin - annna - Annna the nice friendly bot. HTML git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/annna/ DIR Log DIR Files DIR Refs DIR Tags DIR README --- DIR commit 4071707e65654b1ea2b18d461439f676adbe4d5b DIR parent 5ecda1d4aeea1720b4cc7655181d6b43752058d4 HTML Author: Anders Damsgaard <anders@adamsgaard.dk> Date: Tue, 6 Oct 2020 21:29:53 +0200 annna-add-hashtag: do not allow ffmpeg(1) to read stdin Doing so breaks the read loop in annna-add-hashtag-mass Signed-off-by: Annna Robert-Houdin <annna@bitreich.org> Diffstat: M annna-add-hashtag | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- DIR diff --git a/annna-add-hashtag b/annna-add-hashtag @@ -63,7 +63,7 @@ processtag() { case "${tagfile}" in *.MP4|*.mp4|*.MKV|*.mkv|*.webm|*.WEBM|*.mov|*.MOV) printf "Making %s streamable by adding faststart.\n" "${tagfile}" - ffmpeg -i "${tagfile}" -c copy -movflags faststart "faststart_${tagfile}" + ffmpeg -i "${tagfile}" -c copy -movflags faststart "faststart_${tagfile}" </dev/null mv "faststart_${tagfile}" "${tagfile}" ;; esac