X-Git-Url: https://zdv2.bktei.com/gitweb/BK-2020-03.git/blobdiff_plain/2b263018f8d418991ea82d6996e2eb42f52502ad..b605b5b5c80a9daf90e92ed4be43501ff5951e8d:/unitproc/bk_export_audio.sh?ds=sidebyside diff --git a/unitproc/bk_export_audio.sh b/unitproc/bk_export_audio.sh index 5c615e8..7befc0b 100755 --- a/unitproc/bk_export_audio.sh +++ b/unitproc/bk_export_audio.sh @@ -1,7 +1,7 @@ #!/bin/bash # Desc: Extracts audio from video files # Usage: bk_export_audio.sh [input_dir] ([output_dir]) -# Version: 0.0.1 +# Version: 0.0.2 declare -Ag appRollCall # Associative array for storing app status declare -Ag fileRollCall # Associative array for storing file status @@ -231,7 +231,7 @@ extract_audio_file() { # Extract audio file file_in_basename="$(basename "$file_in")"; ffmpeg -i "$file_in" -vn -acodec copy "$dir_out"/"$file_in_basename"."$file_in_ext"; -} +} # Create audio file from video file main() { script_pwd="$(pwd)";