From: Hugo Villeneuve Date: Sat, 7 Oct 2023 15:22:40 +0000 (-0400) Subject: Add video debug messages X-Git-Url: http://gitweb.hugovil.com/?a=commitdiff_plain;h=665faf610a826459b8edafbbf419e10273465ce8;p=fgen.git Add video debug messages --- diff --git a/fgen.sh b/fgen.sh index 86e9b55..df952fa 100755 --- a/fgen.sh +++ b/fgen.sh @@ -111,10 +111,14 @@ function generate_video() { if which ffmpeg 1> /dev/null 2>&1; then if [ -f ${dest}/${group}-f1.png ]; then - if [ ${dry_run} -eq 0 ]; then - # Conversion vidéo: + log_dbg "generate_video start" + if [ ${dry_run} -eq 1 ]; then + touch ${dest}/${group}.mp4 + else ffmpeg ${FFMPEG_OPTS} -r ${fps} -start_number 1 -i ${dest}/${group}-f%d.png ${dest}/${group}.mp4 fi + + log_dbg "generate_video: end" fi fi }