[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: New idea for converting an avi to a flash file -- Was Re: [Swftools-
Re: New idea for converting an avi to a flash file -- Was Re: [Swftools-common] Problems with avi2swf
Sun, 23 Nov 2003 10:03:29 +0100
On Mon, Nov 17, 2003 at 08:55:24AM -0800, Amartyo Banerjee wrote:
> Ok, I think I found some more information. It seems the '-r' parameter is
> working differently than
> I understood/expected. As a test I created an swf by combining two jpegs
> which are slightly
> different (the object in it moves slightly sideways).
> When I used the parameter '-r 100' and play the file using gflashplayer, the
> frame change happens
> every 1 second.
> When I used the parameter '-r 2500', the framechange happens every 25
> seconds. If this is what
> happened to the original swf file (750 jpegs combined together), that would
> explain why it would
> seem like nothing is moving.
> Ok, I just got it to work after reading what I just wrote. I changed the
> parameter to '-r 4' and
> everything works fine. With this parameter each successive jpeg is shown
> after 0.04 seconds, so 25
> jpegs are shown in 1 second, exactly the framerate at which the original avi
> file was encoded.
> D'oh !
O.k., seems the 100/second idea wasn't so good, after all. ;)
This is much too confusing.
I changed to parameter to mean actual fps, i.e. to specify 25 fps
in png2swf or jpeg2swf you now just say "-r 25" (as you already observed in
your other mail).