1
0
Fork 0

Improve audio transfer

This commit is contained in:
VirtuBox 2020-09-25 00:48:34 +02:00
parent 8eab3a647f
commit 462a773889
Signed by: virtubox
GPG Key ID: 22EB296C97BAD476
1 changed files with 1 additions and 0 deletions

View File

@ -763,6 +763,7 @@ _TRANSFER_AUDIO() {
if [ -f "${1%.*}.aac" ]; then if [ -f "${1%.*}.aac" ]; then
rm -f "${2%.*}-sound.mp4" rm -f "${2%.*}-sound.mp4"
ffmpeg -i "$2" -i "${1%.*}.aac" -map 0:v -map 1:a -c copy -y "${2%.*}-sound.mp4" ffmpeg -i "$2" -i "${1%.*}.aac" -map 0:v -map 1:a -c copy -y "${2%.*}-sound.mp4"
rm -f "${1%.*}.aac"
fi fi
fi fi
} }