05-10-2023, 12:24 AM
moOde provides a handy tool named mediainfo which works for a number of format types.
Here's the output I get for a valid MP3 file with a valid embedded cover image
Here's the output from ffmpeg -i applied to the same file
Comparing the latter to your post, I'm puzzled that your output doesn't show any audio stream, only the stream for the cover image. However, you obviously elided a lot of the diagnostic output. Please don't do that if you intend us to guess what's wrong at a distance.
Regards,
Kent
Here's the output I get for a valid MP3 file with a valid embedded cover image
Code:
pi@test:~ $ mediainfo '01 The Count 1.mp3'
General
Complete name : 01 The Count 1.mp3
Format : MPEG Audio
File size : 1.83 MiB
Duration : 3 min 13 s
Overall bit rate mode : Constant
Overall bit rate : 64.0 kb/s
Album : 1930-1932
Track name : The Count
Track name/Position : 01
Performer : Bennie Moten
Genre : CLC
Recorded date : 1930
Cover : Yes
Cover MIME : image/png
Comment : CLC 591
Audio
Format : MPEG Audio
Format version : Version 2
Format profile : Layer 3
Format settings : Joint stereo / Intensity Stereo + MS Stereo
Duration : 3 min 13 s
Bit rate mode : Constant
Bit rate : 64.0 kb/s
Channel(s) : 2 channels
Sampling rate : 22.05 kHz
Frame rate : 38.281 FPS (576 SPF)
Compression mode : Lossy
Stream size : 1.48 MiB (81%)
Here's the output from ffmpeg -i applied to the same file
Code:
pi@test:~ $ ffmpeg -i '01 The Count 1.mp3'
ffmpeg version 4.3.5-0+deb11u1+rpt3 Copyright (c) 2000-2022 the FFmpeg developers
built with gcc 10 (Debian 10.2.1-6)
configuration: --prefix=/usr --extra-version=0+deb11u1+rpt3 --toolchain=hardened --incdir=/usr/include/aarch64-linux-gnu --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --disable-mmal --enable-neon --enable-v4l2-request --enable-libudev --enable-epoxy --enable-sand --libdir=/usr/lib/aarch64-linux-gnu --arch=arm64 --enable-pocketsphinx --enable-libdc1394 --enable-libdrm --enable-vout-drm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared
libavutil 56. 51.100 / 56. 51.100
libavcodec 58. 91.100 / 58. 91.100
libavformat 58. 45.100 / 58. 45.100
libavdevice 58. 10.100 / 58. 10.100
libavfilter 7. 85.100 / 7. 85.100
libavresample 4. 0. 0 / 4. 0. 0
libswscale 5. 7.100 / 5. 7.100
libswresample 3. 7.100 / 3. 7.100
libpostproc 55. 7.100 / 55. 7.100
[mp3 @ 0x55a8f06f70] Estimating duration from bitrate, this may be inaccurate
Input #0, mp3, from '01 The Count 1.mp3':
Metadata:
title : The Count
artist : Bennie Moten
track : 01
album : 1930-1932
date : 1930
genre : CLC
TLEN : 193332
comment : CLC 591
Duration: 00:03:13.44, start: 0.000000, bitrate: 79 kb/s
Stream #0:0: Audio: mp3, 22050 Hz, stereo, fltp, 64 kb/s
Stream #0:1: Video: png, rgb24(pc), 504x487 [SAR 2834:2834 DAR 504:487], 90k tbr, 90k tbn, 90k tbc (attached pic)
Metadata:
comment : Other
At least one output file must be specified
Comparing the latter to your post, I'm puzzled that your output doesn't show any audio stream, only the stream for the cover image. However, you obviously elided a lot of the diagnostic output. Please don't do that if you intend us to guess what's wrong at a distance.
Regards,
Kent