From 70b72ee3e3e01e00dd9d975e603c95f769ba7ef5 Mon Sep 17 00:00:00 2001 From: JMARyA Date: Sat, 24 May 2025 03:00:24 +0200 Subject: [PATCH] add ffprobe duration --- functions/ffprobe_duration.fish | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 functions/ffprobe_duration.fish diff --git a/functions/ffprobe_duration.fish b/functions/ffprobe_duration.fish new file mode 100644 index 0000000..a9a7826 --- /dev/null +++ b/functions/ffprobe_duration.fish @@ -0,0 +1,5 @@ +# ffprobe_duration +# print duration of video file +function ffprobe_duration + ffprobe -v error -show_entries format=duration -of default=noprint_wrappers=1:nokey=1 $argv +end