--aac is identical to -e:m4a

This commit is contained in:
fabh2o 2021-09-26 18:30:44 +02:00
parent 58ecfbc72b
commit 68a91bbbbb

View File

@ -44,8 +44,6 @@ while true; do
case "$1" in case "$1" in
# Flac encoding # Flac encoding
-f | --flac ) codec=flac; extension=flac; mode=single; container=flac; shift ;; -f | --flac ) codec=flac; extension=flac; mode=single; container=flac; shift ;;
# Apple m4a music format.
-a | --aac ) codec=copy; extension=m4a; mode=single; container=m4a; shift ;;
# Ogg Format # Ogg Format
-o | --opus ) codec=libopus; extension=opus; container=ogg; shift ;; -o | --opus ) codec=libopus; extension=opus; container=ogg; shift ;;
# If appropriate use only a single file output. # If appropriate use only a single file output.
@ -55,7 +53,7 @@ while true; do
# This is the same as --single option. # This is the same as --single option.
-e:mp3 ) codec=libmp3lame; extension=mp3; mode=single; container=mp3; shift ;; -e:mp3 ) codec=libmp3lame; extension=mp3; mode=single; container=mp3; shift ;;
# Identical to --acc option. # Identical to --acc option.
-e:m4a ) codec=copy; extension=m4a; mode=single; container=mp4; shift ;; -e:m4a | -a | --aac ) codec=copy; extension=m4a; mode=single; container=mp4; shift ;;
# Similar to --aac but specific to audio books # Similar to --aac but specific to audio books
-e:m4b ) codec=copy; extension=m4b; mode=single; container=mp4; shift ;; -e:m4b ) codec=copy; extension=m4b; mode=single; container=mp4; shift ;;
# Change the working dir from AAX directory to what you choose. # Change the working dir from AAX directory to what you choose.