commit 5ad568c4606ad2eb74819fc68e206ea85311e974
parent 8bd446d299398d9ed4fb37e0115e7df5ac0babc2
Author: Brian C. Lane <bcl@brianlane.com>
Date: Thu, 18 Mar 2010 20:27:57 -0700
Strip of the 1st image generated by ffmpeg
ffmpeg generates 2 black images at the start which throws off the
timing. This removes one of those images when generating the bif file.
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/server/scripts/makebif.py b/server/scripts/makebif.py
@@ -93,6 +93,7 @@ def makeBIF( filename, directory, interval ):
if image[-4:] == '.jpg':
images.append(image)
images.sort()
+ images = images[1:]
f = open(filename, "wb")
array.array('B', magic).tofile(f)