projects
/
fgen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b556594
)
Add video debug messages
author
Hugo Villeneuve
<hugo@hugovil.com>
Sat, 7 Oct 2023 15:22:40 +0000
(11:22 -0400)
committer
Hugo Villeneuve
<hugo@hugovil.com>
Sun, 8 Oct 2023 02:36:44 +0000
(22:36 -0400)
fgen.sh
patch
|
blob
|
history
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 [ ${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
}