From: Hugo Villeneuve Date: Fri, 6 Oct 2023 03:20:07 +0000 (-0400) Subject: Make ffmpeg output less verbose X-Git-Url: http://gitweb.hugovil.com/?a=commitdiff_plain;h=086b3bab00204b52cc17770b04cd5d4a9d0c5cba;p=fgen.git Make ffmpeg output less verbose --- 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