I've converted an animated GIF to Flash for freeze/resume interaction.
Unfortunately, Animation.flv runs too fast and ffmpeg -r isn't helping.
FFmpeg -r seems to be working counter-intuitively as the greater -r, the
slower Animation.flv runs. Also, it produces a much larger file and
seems to hit a wall. Examples I've tried are:
ffmpeg -f gif -i Animation.gif -f swf -r 1 -y
Animation.flv - Plays much too fast.
ffmpeg -f gif -i Animation.gif -f swf -r 5 -y
Animation.flv - Generates a slower, but larger, file.
ffmpeg -f gif -i Animation.gif -f swf -r 10 -y
Animation.flv - Generates a slower and larger file than
the "-r 5" option.
ffmpeg -f gif -i Animation.gif -f swf -r 20 -y
Animation.flv - Generates a file of the same speed, but
larger than the "-r 10" option.
It seems the lower the -r value, the slower Flash should run. A smaller
frame rate would logically produce a slower animation. It's also
illogical to me the file should be larger. To test my theory, I
produced Animation.avi from Animation.gif. Testing "-r" options works
as I expect. The lower the -r value, the slower Animation.avi runs.
I first posted this question to the ffmpeg forum without success.
Perhaps this is a Flash, not ffmpeg problem. However, is there an
ffmpeg option I'm missing? Also, is there an option other than Flash to
enable freeze/resume in my animation? It is a simple animation of a
moving part.