Is there a command with ffmpeg that returns information about an mp3 like the bitrate or sampling frequency?
There is a ffprobe
.
Simple usage:
ffprobe foo.mp3 2>&1 | grep -A1 Duration:
will give you output (without displaying any extra window) like:
Duration: 00:03:10.48, start: 0.000000, bitrate: 128 kb/s
Stream #0.0: Audio: mp3, 22050 Hz, 2 channels, s16, 128 kb/s
you can try:
ffmpeg -i filename
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With