check duration of audio files on the command-line

后端 未结 14 934
没有蜡笔的小新
没有蜡笔的小新 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 00:36

    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/

提交回复
热议问题