Switch aac codec to modern alternative

This prevents a buffer overrun that crashes ffmpeg.
This commit is contained in:
Alex Howard 2023-02-26 03:22:22 -05:00 committed by GitHub
parent 80146696f3
commit 6e60aa55ca
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -223,7 +223,7 @@ class Track extends Model implements Searchable, Commentable, Favouritable
'tag_format' => 'AtomicParsley',
'tag_method' => 'updateTagsWithAtomicParsley',
'mime_type' => 'audio/mp4',
'command' => 'ffmpeg 2>&1 -y -i {$source} -map 0:a -map_metadata -1 -codec:a libfaac -ab 256k -f mp4 {$target}'
'command' => 'ffmpeg 2>&1 -y -i {$source} -map 0:a -map_metadata -1 -codec:a libfdk_aac -ab 256k -f mp4 {$target}'
],
'ALAC' => [
'index' => 4,