We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5a3e71b commit 0cd08fbCopy full SHA for 0cd08fb
1 file changed
Hochob/Services/Video/FfmpegAudio.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 -acodec copy"
+export FFMPEGAUDIO_PID=$$
+export FFMPEGAUDIO_BINARY=ffmpeg
+export FFMPEGAUDIO_ARGUMENTS="-y -s 4096x2304 -framerate 10 -vf fps=10 -pix_fmt yuv420p -acodec copy"
14
15
LOCAL_AUDIO=$1
16
LOCAL_DIRECTORY="$2"
@@ -27,7 +27,7 @@ LOCAL_DIRECTORY="$2"
27
28
if [ $# -eq 2 ]
29
then
30
- $FFMPEG_BINARY -i "$LOCAL_DIRECTORY/"%04d.jpg -i $LOCAL_AUDIO $FFMPEG_ARGUMENTS $FFMPEG_VIDEO_AUDIO
+ $FFMPEGAUDIO_BINARY -i "$LOCAL_DIRECTORY/"%04d.jpg -i $LOCAL_AUDIO $FFMPEGAUDIO_ARGUMENTS $FFMPEG_VIDEO_AUDIO
31
else
32
echo "Invalid number of arguments, see Documentation"
33
exit 1
0 commit comments