[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
-map 0:0 -acodec mp3 -b:a %%c -ar:a %%b

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)
      title           : Album cover
      comment         : Cover (front)
[NULL @ 00000203060f89c0] Unable to find a suitable output format for 'N/A'
N/A: Invalid argument


More information about the ffmpeg-user mailing list