X-Git-Url: https://zdv2.bktei.com/gitweb/BK-2020-03.git/blobdiff_plain/6731e5ce3a74351a17f975586739d072219a1a7d..7e2694d5ab50af05aa373974ab781d6e26cf05cc:/user/convert_file_to_flac.sh?ds=inline diff --git a/user/convert_file_to_flac.sh b/user/convert_file_to_flac.sh old mode 100644 new mode 100755 index c5540b1..cc6c621 --- a/user/convert_file_to_flac.sh +++ b/user/convert_file_to_flac.sh @@ -1,11 +1,11 @@ -#!/bin/bash +#!/usr/bin/env bash # Desc: Converts file readable by ffmpeg to FLAC audio file # Usage: convert_file_to_flac.sh [path] -# Version: 0.0.2 +# Version: 0.0.3 # Ref/Attrib: [1] Convert audio file to FLAC with ffmpeg? https://superuser.com/a/802126 # [2] How to specify flac compression level when converting with avconv? https://askubuntu.com/questions/544651/ # [3] How can I extract audio from video with ffmpeg? https://stackoverflow.com/a/27413824 -# Depends: ffmpeg, ffprobe +# Depends: ffmpeg version 4.4.2, ffprobe version 4.4.2, bash version 5.1.16 declare -Ag appRollCall # Associative array for storing app status declare -Ag fileRollCall # Associative array for storing file status