Commits

Mikhail Porokhovnichenko committed 7cdb50e

m

Comments (0)

Files changed (1)

         width    = result.movie_info['width']
         height   = result.movie_info['height']
 
-        seconds = list(xrange(1, duration, int(math.ceil(float(duration / num)))))
+        seconds = list(xrange(1, duration, int(math.floor(float(duration / num)))))
         seconds.append(duration)
         seconds.append( math.ceil(float(duration) /2) )
 
     result = converter.convert(
         input_file = sys.argv[1], 
         output_file = sys.argv[2],
-    )
+    )