lib/wgif/video.rb in wgif-0.3.0 vs lib/wgif/video.rb in wgif-0.3.1
- old
+ new
@@ -28,10 +28,10 @@
if options[:frames]
framerate = options[:frames] / @clip.duration
else
framerate = 24
end
- transcode(@clip, "/tmp/wgif/frames/\%2d.png", "-vf fps=#{framerate}")
+ transcode(@clip, "/tmp/wgif/frames/\%5d.png", "-vf fps=#{framerate}")
open_frame_dir
end
private