From: Guillaume Pellerin Date: Wed, 4 Dec 2013 21:30:32 +0000 (+0100) Subject: more mlt batch options X-Git-Tag: 1.4.5~3^2~8^2~4 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=a603134d0adf0ab9687b920837cf73bebeef9c1f;p=telemeta.git more mlt batch options --- diff --git a/telemeta/util/kdenlive/mlt_fix_threads.sh b/telemeta/util/kdenlive/mlt_fix_threads.sh index 52b96166..60b00614 100755 --- a/telemeta/util/kdenlive/mlt_fix_threads.sh +++ b/telemeta/util/kdenlive/mlt_fix_threads.sh @@ -1,10 +1,10 @@ #!/bin/sh -threads=$1 -dir=$2 +#threads=$1 +dir=$1 for file in `ls $dir/*.sh`; do - perl -pi -e 's/threads=2/threads=$threads/g' $file - perl -pi -e 's/threads=4/threads=$threads/g' $file - perl -pi -e 's/threads=6/threads=$threads/g' $file + perl -pi -e 's/threads=6/threads=4/g' $file + perl -pi -e 's/threads=2/threads=4/g' $file + perl -pi -e 's/threads=1/threads=4/g' $file done diff --git a/telemeta/util/kdenlive/mlt_process_batch.py b/telemeta/util/kdenlive/mlt_process_batch.py index 1b4176da..7d346c68 100755 --- a/telemeta/util/kdenlive/mlt_process_batch.py +++ b/telemeta/util/kdenlive/mlt_process_batch.py @@ -1,3 +1,4 @@ +#!/usr/bin/python import os, sys