]> git.parisson.com Git - telemeta.git/commitdiff
more mlt batch options
authorGuillaume Pellerin <yomguy@parisson.com>
Wed, 4 Dec 2013 21:30:32 +0000 (22:30 +0100)
committerGuillaume Pellerin <yomguy@parisson.com>
Wed, 4 Dec 2013 21:30:32 +0000 (22:30 +0100)
telemeta/util/kdenlive/mlt_fix_threads.sh
telemeta/util/kdenlive/mlt_process_batch.py

index 52b96166bda16f2245b53d415f193697760ff720..60b006148c948e929e8960024e0f44ef72e25b96 100755 (executable)
@@ -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
index 1b4176da752d14f23633025ec9e7c6685effee8c..7d346c68b8d61a42d3d144b201e32bb02ac4e9b8 100755 (executable)
@@ -1,3 +1,4 @@
+#!/usr/bin/python
 
 import os, sys