]> git.phdru.name Git - audio-cdr-video.git/blob - video/ff_cropdetect
Add `cat-playlists`
[audio-cdr-video.git] / video / ff_cropdetect
1 #! /bin/sh
2
3 if [ -z "$1" ]; then
4    echo "Usage: $0 input1 [input2...]"
5    exit 1
6 fi
7
8 if [ $# -eq 1 ]; then
9    input="$1"
10 else
11    input=concat:"`echo \"$@\" | sed 's/ /|/g'`"
12 fi
13
14 exec ffmpeg -i "$input" -vf cropdetect -an -f rawvideo -y /dev/null