From 4622f27137e92d6fa497c289d0cdb7b912c6ffed Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Tue, 29 Jan 2013 19:02:27 +0100 Subject: cutting: The time-slot needs to be a output-parameter for accuracy The avconv manpage adds a note, that it is more accurate to have this as output parameter, but slower. Without this it seeks in the input file to the given position, but it looks like it jumps to near i-frames, which results in incorrect positions. --- src/cutting | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cutting b/src/cutting index 1c0b6db..eb555fd 100755 --- a/src/cutting +++ b/src/cutting @@ -15,5 +15,5 @@ do i=$((i+1)) param=$(printf -- "-ss %s -t %s" $time) - ee ffmpeg -y $param -i $FILE -sameq `printf "outfile-%02d.mpg" $i` + ee ffmpeg -y -i $FILE -sameq $param `printf "outfile-%02d.mpg" $i` done -- cgit