mirror of
https://github.com/KrumpetPirate/AAXtoMP3.git
synced 2024-11-17 18:58:58 +01:00
faster chapter splitting
Since there is an issue with this fix when applied on flac option, the changes dont take effect on flac. For more information have a look in KrumpetPirate/AAXtoMP3 issue #142.
This commit is contained in:
parent
c4c5470b6b
commit
2b31c7defa
8
AAXtoMP3
8
AAXtoMP3
@ -549,11 +549,11 @@ do
|
||||
# as long as the whole audiobook.
|
||||
chapter_codec=""
|
||||
if test "${extension}" = "flac"; then
|
||||
chapter_codec="-acodec flac "${compression_level_param}""
|
||||
chapter_codec="flac "${compression_level_param}""
|
||||
else
|
||||
chapter_codec="-acodec copy"
|
||||
chapter_codec="copy"
|
||||
fi
|
||||
|
||||
|
||||
# Big Long chapter debug
|
||||
debug_vars "Chapter Variables:" cover_file chapter_start chapter_end id3_version_param chapternum chapter_title chapter_file
|
||||
if [ "$((${continueAt} > ${chapternum}))" = "0" ]; then
|
||||
@ -568,7 +568,7 @@ do
|
||||
-i "${cover_file}" \
|
||||
-map 0:0 \
|
||||
-map 1:0 \
|
||||
${chapter_codec} \
|
||||
-acodec ${chapter_codec} \
|
||||
-metadata:s:v title="Album cover" \
|
||||
-metadata:s:v comment="Cover (Front)" \
|
||||
-metadata track="${chapternum}" \
|
||||
|
Loading…
Reference in New Issue
Block a user