From 1023309e315b5b8337f6aae597f0ba176abe9c06 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Wed, 17 May 2017 09:02:56 +0200 Subject: Deinterlace dv source. --- bin/stream | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/stream b/bin/stream index 006f924..48b4c92 100755 --- a/bin/stream +++ b/bin/stream @@ -40,7 +40,7 @@ while [ $# -gt 0 ]; do case $1 in alsa=*) ALSA=${1#*=}; AINPUT=$((AINPUT+1));; alsa) ALSA=default; AINPUT=$((AINPUT+1));; - dvcam=*) DVCAM=${1#*=}; XINPUT=$((XINPUT+1));; + dvcam=*) DVCAM=${1#*=}; DEINT=${DEINT:-yadif}; XINPUT=$((XINPUT+1));; dvcam) DVCAM=auto; XINPUT=$((XINPUT+1));; dc=*) IIDC=${1#*=}; VINPUT=$((VINPUT+1));; dc) IIDC=/dev/fw1; VINPUT=$((VINPUT+1));; @@ -133,7 +133,7 @@ HEIGHTS=$(uniqwords "$HEIGHTS_WEBM $HEIGHTS_MPEG") filter_split_height() { heightcount=$(echo "$HEIGHTS" | wc --words) - echo_n "[$VSTREAMINDEX:v]split=$heightcount" + echo_n "[$VSTREAMINDEX:v]${DEINT:+$DEINT,}split=$heightcount" printf_each '[s%s]' "$HEIGHTS" } filter_scale() { outstem=${1:-v}; -- cgit v1.2.3