projects
/
fgen.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add video debug messages
[fgen.git]
/
fgen.sh
diff --git
a/fgen.sh
b/fgen.sh
index
86e9b55
..
df952fa
100755
(executable)
--- 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 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
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
}
fi
fi
}