Deactivate ffmpeg stdin for MP3-OGG transcodes
This commit is contained in:
parent
d4adb9199f
commit
bca5776302
|
@ -140,7 +140,7 @@ function transcode_to_ogg()
|
||||||
;&
|
;&
|
||||||
audio/mpeg)
|
audio/mpeg)
|
||||||
echo "Transcoding OGG..."
|
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..."
|
echo "Adding OGG cover image..."
|
||||||
exiftool -Picture -b "$input_path" > "$tmp_cover" || die "Could not export cover image."
|
exiftool -Picture -b "$input_path" > "$tmp_cover" || die "Could not export cover image."
|
||||||
|
|
Loading…
Reference in a new issue