We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 44647b5 commit 5a3e71bCopy full SHA for 5a3e71b
1 file changed
Hochob/Services/Video/FfmpegImageVideo.sh
@@ -8,9 +8,9 @@ set -x
8
9
#. ~/CodeLabs/Hochob/Main.sh
10
11
-export FFMPEG_PID=$$
12
-export FFMPEG_BINARY=ffmpeg
13
-export FFMPEG_ARGUMENTS="-y -s 4096x2304 -framerate 10 -vf fps=10 -pix_fmt yuv420p"
+export FFMPEGIMAGEVIDEO_PID=$$
+export FFMPEGIMAGEVIDEO_BINARY=ffmpeg
+export FFMPEGIMAGEVIDEO_ARGUMENTS="-y -s 4096x2304 -framerate 10 -vf fps=10 -pix_fmt yuv420p"
14
15
LOCAL_DIRECTORY="$1"
16
@@ -26,7 +26,7 @@ LOCAL_DIRECTORY="$1"
26
27
if [ $# -eq 1 ]
28
then
29
- $FFMPEG_BINARY -i "$LOCAL_DIRECTORY/"%04d.jpg $FFMPEG_ARGUMENTS $FFMPEG_VIDEO
+ $FFMPEGIMAGEVIDEO_BINARY -i "$LOCAL_DIRECTORY/"%04d.jpg $FFMPEGIMAGEVIDEO_ARGUMENTS $FFMPEGIMAGEVIDEO_VIDEO
30
else
31
echo "Invalid number of arguments, see Documentation"
32
exit 1
0 commit comments