[FFmpeg-user] mp3 audio output recording error message when he has Cover
CMG DiGiTaL
cmarciog at gmail.com
Sat Feb 26 10:14:05 EET 2022
Is there a way to check if the file has a cover and if so, record the cover
along with it?
conversion command line:
FOR /F "tokens=1,2 delims=," %%b IN ('ffprobe -v 0 -show_entries
stream^=bit_rate^,sample_rate -of csv^=p^=0 "!filename!.mp3"') DO ffmpeg
-hide_banner -i "!filename!.mp3" -af
"loudnorm=linear=true:I=!vluf!:LRA=11:tp=!vpeak!:measured_I=!II!:measured_LRA=!ILRA!:measured_tp=!ITP!:measured_thresh=!IT!:offset=!TO!:print_format=summary"
-map 0:0 -acodec mp3 -b:a %%c -ar:a %%b
"C:\Users\%username%\Desktop\Convertendo_lufs\!filename!.mp3"
display message at end conversion:
Stream #0:1: Video: mjpeg (Baseline), yuvj420p(pc,
bt470bg/unknown/unknown), 1018x1023 [SAR 72:72 DAR 1018:1023], 90k tbr, 90k
tbn (attached pic)
Metadata:
title : Album cover
comment : Cover (front)
[NULL @ 00000203060f89c0] Unable to find a suitable output format for 'N/A'
N/A: Invalid argument
Thanks
Clamarc
More information about the ffmpeg-user
mailing list