Whats the best linux console tool to explore sound file information?

6

2

Im looking for console tool that will output most detailed information about sound file (particularly mp3).

Tried to use different tools (id3, lame, ffmpeg)

Looking to get such info:

  • Format (Mp3/Wave/etc..)
  • Encoder
  • Bitrate
  • Compression
  • Stream size (not filesize)

Thanks

Dan Sosedoff

Posted 2010-07-12T04:05:06.203

Reputation: 181

Question was closed 2013-05-28T18:59:58.297

Answers

9

I use mplayer -identify filename

It works with almost any audio/video file.

vtest

Posted 2010-07-12T04:05:06.203

Reputation: 4 424

1+1 for naming a piece of software that might already be installed. – Algific – 2010-07-12T10:51:46.933

Actually, even file can produce useful details about audio/video files. This is certainly installed on most Linux systems. – vtest – 2010-07-13T02:45:34.037

When called on webm files, it does not identify them, and even worse, it starts playing random noise from the speakers! This is mplayer 1.1-4.8 from Linux Mint 17.3 – Davide – 2017-01-26T18:45:57.980

3

There is also a sox based tool - soxi

sdaau

Posted 2010-07-12T04:05:06.203

Reputation: 3 758

2

Try MediaInfo. I use this on Windows (although not restricted to) and it's pretty comprehensive at what it does.

happy_soil

Posted 2010-07-12T04:05:06.203

Reputation: 2 339

This is the one that worked best for me (on Linux Mint 17.3 for webm files) – Davide – 2017-01-26T18:43:36.357

1

I used a few years back this little tool called mp3info and I was pleased with it.

You can get it here: http://www.ibiblio.org/mp3info/

Patkos Csaba

Posted 2010-07-12T04:05:06.203

Reputation: 1 542

1

ffmpeg-based: ffprobe

igorp1024

Posted 2010-07-12T04:05:06.203

Reputation: 431