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