Make transcoded MP4 audio compatible
This commit is contained in:
@@ -105,9 +105,9 @@ transcode_video() {
|
|||||||
case "$format" in
|
case "$format" in
|
||||||
mp4)
|
mp4)
|
||||||
if [[ $resolution == "4k" ]]; then
|
if [[ $resolution == "4k" ]]; then
|
||||||
ffmpeg -i "$input" -vf "$scale" -c:v libx265 -preset slow -crf 24 -c:a aac -b:a 192k "$output"
|
ffmpeg -i "$input" -vf "$scale" -c:v libx265 -preset slow -crf 24 -c:a aac -b:a 192k -movflags +faststart "$output"
|
||||||
else
|
else
|
||||||
ffmpeg -i "$input" -vf "$scale" -c:v libx264 -preset fast -crf 23 -c:a copy "$output"
|
ffmpeg -i "$input" -vf "$scale" -c:v libx264 -preset fast -crf 23 -c:a aac -b:a 192k -movflags +faststart "$output"
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
gif)
|
gif)
|
||||||
|
|||||||
Reference in New Issue
Block a user