summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2017-05-17 09:02:56 +0200
committerJonas Smedegaard <dr@jones.dk>2017-05-17 09:02:56 +0200
commit1023309e315b5b8337f6aae597f0ba176abe9c06 (patch)
tree11acd447b93c04a9006e0348475b01fccb96a6a6 /bin
parentb38522f37cd4708980bee49467b0be3a7f81aa40 (diff)
Deinterlace dv source.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/stream4
1 files 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};