Skip to content

Commit 0cd08fb

Browse files
authored
Update FfmpegAudio.sh
1 parent 5a3e71b commit 0cd08fb

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Hochob/Services/Video/FfmpegAudio.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 -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"
1414

1515
LOCAL_AUDIO=$1
1616
LOCAL_DIRECTORY="$2"
@@ -27,7 +27,7 @@ LOCAL_DIRECTORY="$2"
2727

2828
if [ $# -eq 2 ]
2929
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
3131
else
3232
echo "Invalid number of arguments, see Documentation"
3333
exit 1

0 commit comments

Comments
 (0)