This commit is contained in:
James Devine 2021-03-27 12:04:45 +01:00 committed by GitHub
parent 83c86c52ee
commit 30ea191bda

View file

@ -46,10 +46,10 @@ function recursive_convert {
if [ -e "$subtitle_srt" ] && [ "$BURN_SUBS" = "true" ]; then if [ -e "$subtitle_srt" ] && [ "$BURN_SUBS" = "true" ]; then
echo "Converting $file_to_convert with hardcoded subs" echo "Converting $file_to_convert with hardcoded subs"
HandBrakeCLI --input "$file_to_convert" --output "$converted_filepath" --preset="$PRESET" --srt-file "$subtitle_srt" --srt-codeset UTF-8 --srt-burn -e x265 -B 160 -E ca_aac --loose-anamorphic -w 720 -l 480</dev/null HandBrakeCLI --input "$file_to_convert" --output "$converted_filepath" --preset="$PRESET" --srt-file "$subtitle_srt" --srt-codeset UTF-8 --srt-burn --aencoder="mp3"</dev/null
else else
echo "Converting $file_to_convert" echo "Converting $file_to_convert"
HandBrakeCLI --input "$file_to_convert" --output "$converted_filepath" --preset="$PRESET" -e x265 -B 160 -E ca_aac --loose-anamorphic -w 720 -l 480</dev/null HandBrakeCLI --input "$file_to_convert" --output "$converted_filepath" --preset="$PRESET" --aencoder="mp3"</dev/null
fi fi
else else
echo "$converted_filepath already exists" echo "$converted_filepath already exists"