add ffprobe duration

This commit is contained in:
JMARyA 2025-05-24 03:00:24 +02:00
parent 6512d095b3
commit 70b72ee3e3
Signed by: jmarya
GPG key ID: 901B2ADDF27C2263

View file

@ -0,0 +1,5 @@
# ffprobe_duration <file>
# print duration of video file
function ffprobe_duration
ffprobe -v error -show_entries format=duration -of default=noprint_wrappers=1:nokey=1 $argv
end