Check the real bitrate of saved audio files (ffprobe script)

A small command-line check for audio files you saved: codec, real bitrate, sample rate, channels, length, and the title/artist tags. I wrote it to answer one recurring question: is this "320 kbps" MP3 actually better than the 128 kbps one?

$ python3 audiocheck.py ~/Music/saved
file                                     codec   kbps     Hz ch   time  title / artist
artist-track.mp3                         mp3      128  44100  2   3:41  Track / Artist
artist-track-320.mp3                     mp3      320  44100  2   3:41  Track / Artist
    note: if this was converted from a 128 kbps MP3 or Opus stream, it is not better than the source; the extra bits only make the file bigger.

Needs ffprobe from FFmpeg (brew install ffmpeg, apt install ffmpeg, or the Windows build from ffmpeg.org). Pass files or folders; folders are scanned recursively.

Why the bitrate number can mislead

Saving public tracks

If a track has no Download button and you only need it for personal listening, scloudconvert saves public, freely streamable SoundCloud tracks as MP3 or M4A with title, artist and cover art, and playlists as a ZIP. It does not bypass DRM or Go+ protection. Respect the artist's rights; don't re-upload what you download.

License

MIT