From 086b3bab00204b52cc17770b04cd5d4a9d0c5cba Mon Sep 17 00:00:00 2001 From: Hugo Villeneuve Date: Thu, 5 Oct 2023 23:20:07 -0400 Subject: [PATCH] Make ffmpeg output less verbose --- fgen.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fgen.sh b/fgen.sh index 56b162e..64baf44 100755 --- a/fgen.sh +++ b/fgen.sh @@ -17,6 +17,7 @@ fps=8 debug=0 trames=1 SED=sed +FFMPEG_OPTS="-hide_banner -loglevel error -y" # -limit memory 5000mb -limit disk 5gb IM_OPS="" @@ -220,5 +221,5 @@ fi if which ffmpeg 1> /dev/null 2>&1; then # Conversion vidéo: - ffmpeg -y -r ${fps} -start_number 1 -i ${dest}/f%d.png ${dest}/sequence.mp4 + ffmpeg ${FFMPEG_OPTS} -r ${fps} -start_number 1 -i ${dest}/f%d.png ${dest}/sequence.mp4 fi -- 2.20.1