Accept a name for dl and include starter script file
[khome.git] / home / bin / video-list
CommitLineData
64fc685a
SK
1#! /bin/sh
2
3video-find $@ \
4| xargs \
5 -0 \
6 -P "$(nproc)" \
7 -I {} \
8 sh -c '
9 duration=$(ffprobe \
10 -i "{}" \
11 -show_entries \
12 format=duration \
13 -v quiet \
14 -of csv="p=0" \
15 -sexagesimal)
16 printf "%s\t%s\n" "$duration" "{}"
17 '
This page took 0.082268 seconds and 4 git commands to generate.