Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

list all audio files with duration bash ffprobe

LENGTH=0; for file in *; do LENGTH="$LENGTH+$(ffprobe -show_entries format=duration -of default=noprint_wrappers=1:nokey=1 "$file" 2>/dev/null)"; done; echo "$LENGTH" | bc
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #list #audio #files #duration #bash #ffprobe
ADD COMMENT
Topic
Name
1+3 =