afinfo
afinfo is a command line tool available on macOS that stands for Audio File Info. It provides detailed information about various audio files such as MP3, WAV, AIFF, and more. When executed with the file path as an argument, afinfo retrieves and displays relevant metadata and properties of that audio file.
Some of the information provided by afinfo includes the audio duration, data format, sample rate, bit rate, channel count, and number of frames. It also gives details about the audio encoding, compression type, and the codec used. Additionally, it provides information about the audio packets, frames, and average bytes per packet.
afinfo can be helpful for users working with audio files who need to quickly access specific details about them without the need for specialized audio editing or analysis software. By using afinfo, users can gain insights into the technical specifications and characteristics of an audio file easily from the command line interface.
List of commands for afinfo:
-
afinfo:tldr:2cec0 afinfo: Display info of a given audio file.$ afinfo ${filename}try on your machineexplain this command
-
afinfo:tldr:400ac afinfo: Print output in XML format.$ afinfo --xml ${filename}try on your machineexplain this command
-
afinfo:tldr:5553a afinfo: Print warnings for the audio file if any.$ afinfo --warnings ${filename}try on your machineexplain this command
-
afinfo:tldr:88e44 afinfo: Print a one line description of the audio file.$ afinfo --brief ${filename}try on your machineexplain this command
-
afinfo:tldr:b7700 afinfo: Print metadata info and contents of the audio file's InfoDictionary.$ afinfo --info ${filename}try on your machineexplain this command
-
afinfo:tldr:e6cd1 afinfo: Display help for full usage.$ afinfo --helptry on your machineexplain this command