Deactivate ffmpeg stdin for MP3-OGG transcodes

This commit is contained in:
fruchti 2023-01-29 17:20:26 +01:00
parent d4adb9199f
commit bca5776302

View file

@ -140,7 +140,7 @@ function transcode_to_ogg()
;&
audio/mpeg)
echo "Transcoding OGG..."
ffmpeg -hide_banner -loglevel fatal -i "$input_path" -y -map a -qscale:a 6 -id3v2_version 3 -f ogg "$tmp_ogg" || die "Could not transcode to \"$tmp_ogg\"."
ffmpeg -hide_banner -loglevel fatal -i "$input_path" -y -map a -qscale:a 6 -id3v2_version 3 -f ogg "$tmp_ogg" < /dev/null || die "Could not transcode to \"$tmp_ogg\"."
echo "Adding OGG cover image..."
exiftool -Picture -b "$input_path" > "$tmp_cover" || die "Could not export cover image."