summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/cutting3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/cutting b/src/cutting
index 74a1590..1c0b6db 100755
--- a/src/cutting
+++ b/src/cutting
@@ -13,8 +13,7 @@ i=0
./advtime -d $FILE | while read time
do
i=$((i+1))
- param=$(echo $time | sed -e 's/ / -t /' -e 's/^/-ss /' )
- echo $i $time $param
+ param=$(printf -- "-ss %s -t %s" $time)
ee ffmpeg -y $param -i $FILE -sameq `printf "outfile-%02d.mpg" $i`
done