diff options
author | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2013-01-29 19:02:27 +0100 |
---|---|---|
committer | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2013-01-29 19:02:27 +0100 |
commit | 4622f27137e92d6fa497c289d0cdb7b912c6ffed (patch) | |
tree | 527e3f87eb390d5d696a63abc90611eed083f804 | |
parent | b5a15f6b160efe9cec77286df2c0dc1748530b1f (diff) | |
download | advtime-4622f27137e92d6fa497c289d0cdb7b912c6ffed.tar.gz advtime-4622f27137e92d6fa497c289d0cdb7b912c6ffed.tar.bz2 advtime-4622f27137e92d6fa497c289d0cdb7b912c6ffed.zip |
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.
-rwxr-xr-x | src/cutting | 2 |
1 files changed, 1 insertions, 1 deletions
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 |