From f5449870e073c8f5fe6f2798aaf679068a60e343 Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Tue, 15 Jul 2014 11:10:24 +0200 Subject: [PATCH] idet.sh: Fix telecine detection. --- TOOLS/idet.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/TOOLS/idet.sh b/TOOLS/idet.sh index 8e1580cbb8..d73ec7d206 100755 --- a/TOOLS/idet.sh +++ b/TOOLS/idet.sh @@ -30,7 +30,7 @@ esac testfun() { $ILDETECT_MPV "$@" \ - --vf=lavfi="[idet]" --msg-level ffmpeg=v \ + --vf-add=lavfi="[idet]" --msg-level ffmpeg=v \ --o= --vo=null --no-audio --untimed \ $ILDETECT_MPVFLAGS \ | { if [ -n "$ILDETECT_QUIET" ]; then cat; else tee /dev/stderr; fi } \ @@ -87,7 +87,7 @@ judge() echo "$verdict" } -judge "$@" +judge --vf-clr "$@" case "$verdict" in progressive) [ -n "$ILDETECT_DRY_RUN" ] || \ @@ -98,7 +98,7 @@ case "$verdict" in exit 0 ;; interlaced-tff) - judge "$@" --vf-pre=pullup --field-dominance=top + judge "$@" --vf-clr --vf-pre=pullup --field-dominance=top case "$verdict" in progressive) [ -n "$ILDETECT_DRY_RUN" ] || \ @@ -117,7 +117,7 @@ case "$verdict" in esac ;; interlaced-bff) - judge "$@" --vf-pre=pullup --field-dominance=bottom + judge "$@" --vf-clr --vf-pre=pullup --field-dominance=bottom case "$verdict" in progressive) [ -n "$ILDETECT_DRY_RUN" ] || \ @@ -136,7 +136,7 @@ case "$verdict" in esac ;; interlaced) - judge "$@" --vf-pre=pullup + judge "$@" --vf-clr --vf-pre=pullup case "$verdict" in progressive) [ -n "$ILDETECT_DRY_RUN" ] || \