Skip to content

Commit 5a3e71b

Browse files
authored
Update FfmpegImageVideo.sh
1 parent 44647b5 commit 5a3e71b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Hochob/Services/Video/FfmpegImageVideo.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ set -x
88

99
#. ~/CodeLabs/Hochob/Main.sh
1010

11-
export FFMPEG_PID=$$
12-
export FFMPEG_BINARY=ffmpeg
13-
export FFMPEG_ARGUMENTS="-y -s 4096x2304 -framerate 10 -vf fps=10 -pix_fmt yuv420p"
11+
export FFMPEGIMAGEVIDEO_PID=$$
12+
export FFMPEGIMAGEVIDEO_BINARY=ffmpeg
13+
export FFMPEGIMAGEVIDEO_ARGUMENTS="-y -s 4096x2304 -framerate 10 -vf fps=10 -pix_fmt yuv420p"
1414

1515
LOCAL_DIRECTORY="$1"
1616

@@ -26,7 +26,7 @@ LOCAL_DIRECTORY="$1"
2626

2727
if [ $# -eq 1 ]
2828
then
29-
$FFMPEG_BINARY -i "$LOCAL_DIRECTORY/"%04d.jpg $FFMPEG_ARGUMENTS $FFMPEG_VIDEO
29+
$FFMPEGIMAGEVIDEO_BINARY -i "$LOCAL_DIRECTORY/"%04d.jpg $FFMPEGIMAGEVIDEO_ARGUMENTS $FFMPEGIMAGEVIDEO_VIDEO
3030
else
3131
echo "Invalid number of arguments, see Documentation"
3232
exit 1

0 commit comments

Comments
 (0)