4 ms·
This way it will output time in H:MM:SS find . -type f -print0 | \ xargs -0 -I {} ffprobe -v quiet -show_entries format=duration -of default=noprint_
by iruoy 3y ago
This way it will output time in H:MM:SS
find . -type f -print0 | \
xargs -0 -I {} ffprobe -v quiet -show_entries format=duration -of default=noprint_wrappers=1:nokey=1 {} | \
awk '{s += $1} END {printf "%d:%.2d:%.2d\n", s/3600, s%3600/60, s%3600%60}'
- deleted 3y ago[deleted]