X-Git-Url: https://zdv2.bktei.com/gitweb/BK-2020-03.git/blobdiff_plain/c21cf1161003f00b20da69cd9054220cea9268eb..fea1bafcec18f9858dccbca7326fe60ca5f88816:/user/mp3s_to_mkv.sh diff --git a/user/mp3s_to_mkv.sh b/user/mp3s_to_mkv.sh index b7fd29e..b788edb 100755 --- a/user/mp3s_to_mkv.sh +++ b/user/mp3s_to_mkv.sh @@ -4,7 +4,7 @@ # Example: mp3s_to_mkv.sh ./dir_source ./dir_output 48k # Depends: GNU Coreutils 8.32 (date), ffmpeg, ffprobe # Ref/Attrib: [1] FFmpeg Formats Documentation https://ffmpeg.org/ffmpeg-formats.html#toc-Metadata-2 -# Version: 0.1.1 +# Version: 0.1.2 # plumbing opus_bitrate="$3"; # e.g. "48k" @@ -114,7 +114,7 @@ ffmpeg_convert() { pushd "$dir_in" || die "FATAL:Directory error:$(pwd)"; # Concatenate mp3 files into a single WAV file - # Convert WAV to 48 kbps opus mkv file + # Convert WAV to opus mkv file ffmpeg -nostdin -f concat -safe 0 -i "$file_flist" -c:a pcm_s24le -rf64 auto -f wav - | \ ffmpeg -i - -i "$file_chapters" \ -map_metadata 1 -map_chapters 1 \