check duration of audio files on the command-line

后端 未结 14 901
攒了一身酷
攒了一身酷 2021-02-05 00:00

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 00:39

    with ffprobe

    ffprobe your_file.mp3 2>&1 | grep "Duration"
    

    The output looks like this:

    Duration: 00:44:33.50, start: 0.011995, bitrate: 128 kb/

提交回复
热议问题