check duration of audio files on the command-line

后端 未结 14 945
没有蜡笔的小新
没有蜡笔的小新 2021-02-05 00:13

I need to check the duration of a group of audio files. Is there a simple way to do this on the unix command-line?

> duration *

I have the a

14条回答
  •  长情又很酷
    2021-02-05 01:01

    soxi -D filename
    soxi -D *
    

    Soxi queries metadata of audio files; D is the duration option. It supports globbing. Soxi's big brother sox does command-line audio processing.

提交回复
热议问题