File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 8
8
9
9
# . ~/CodeLabs/Hochob/Main.sh
10
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 -acodec copy"
11
+ export FFMPEGAUDIO_PID =$$
12
+ export FFMPEGAUDIO_BINARY =ffmpeg
13
+ export FFMPEGAUDIO_ARGUMENTS =" -y -s 4096x2304 -framerate 10 -vf fps=10 -pix_fmt yuv420p -acodec copy"
14
14
15
15
LOCAL_AUDIO=$1
16
16
LOCAL_DIRECTORY=" $2 "
@@ -27,7 +27,7 @@ LOCAL_DIRECTORY="$2"
27
27
28
28
if [ $# -eq 2 ]
29
29
then
30
- $FFMPEG_BINARY -i " $LOCAL_DIRECTORY /" %04d.jpg -i $LOCAL_AUDIO $FFMPEG_ARGUMENTS $FFMPEG_VIDEO_AUDIO
30
+ $FFMPEGAUDIO_BINARY -i " $LOCAL_DIRECTORY /" %04d.jpg -i $LOCAL_AUDIO $FFMPEGAUDIO_ARGUMENTS $FFMPEG_VIDEO_AUDIO
31
31
else
32
32
echo " Invalid number of arguments, see Documentation"
33
33
exit 1
You can’t perform that action at this time.
0 commit comments