]> git.phdru.name Git - audio-cdr-video.git/blobdiff - video/ff_cropdetect
Add ff_cropdetect - detect -vf crop parameters
[audio-cdr-video.git] / video / ff_cropdetect
diff --git a/video/ff_cropdetect b/video/ff_cropdetect
new file mode 100755 (executable)
index 0000000..59a2c40
--- /dev/null
@@ -0,0 +1,8 @@
+#! /bin/sh
+
+if [ -z "$1" ]; then
+   echo "Usage: $0 input.avi"
+   exit 1
+fi
+
+exec ffmpeg -i "$1" -vf cropdetect -an -f rawvideo -y /dev/null