在命令行中列出带有比特率的音频文件

在命令行中列出带有比特率的音频文件

有没有办法通过命令行列出文件夹的内容,以便 mp3 格式的音频文件具有比特率信息?我尝试过ls -l,但没有成功。

答案1

findfile

find Music/Albert\ Ayler/Vibrations/ -name "*.flac" -exec file {} \;
Music/Albert Ayler/Vibrations/1.Ghosts.flac: FLAC audio bitstream data, 16 bit, stereo, 44.1 kHz, 5653620 samples
Music/Albert Ayler/Vibrations/4.Ghosts (2).flac: FLAC audio bitstream data, 16 bit, stereo, 44.1 kHz, 21096264 samples
Music/Albert Ayler/Vibrations/3.Holy Spirit.flac: FLAC audio bitstream data, 16 bit, stereo, 44.1 kHz, 22529220 samples
Music/Albert Ayler/Vibrations/5.Vibrations.flac: FLAC audio bitstream data, 16 bit, stereo, 44.1 kHz, 13225296 samples
Music/Albert Ayler/Vibrations/2.Children.flac: FLAC audio bitstream data, 16 bit, stereo, 44.1 kHz, 18213300 samples
Music/Albert Ayler/Vibrations/6.Mothers.flac: FLAC audio bitstream data, 16 bit, stereo, 44.1 kHz, 18814824 samples

您可以根据您感兴趣的字段进一步过滤输出...

相关内容