swftools-common
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Swftools-common] Re:Newbie having trouble with frame rates


From: Bill Gray
Subject: [Swftools-common] Re:Newbie having trouble with frame rates
Date: Wed, 7 Jan 2009 09:19:13 -0800 (PST)

Chris,

I'm surprised that you are not aware of this issue.  It appears to be a Flash 
issue, not one that is specific to swftools.  This is an article written by an 
Adobe engineer who works on flash on the subject...

http://www.kaourantin.net/2006/05/frame-rates-in-flash-player.html

As explained in this article, the fps setting is really just a sort of "goal" 
that the browser tries to hit.  But it would seem that different browsers give 
hitting that goal differing levels of priority, and different computers (even 
the same computer under differing loads) will have different amounts of 
resources to devote to the flash player.

In my research so far on this this issue, I have not seen a setting described 
that would for example allow the flash player to skip frames to hit the right 
frame rate.

My experience so far is consistent that described in the various different 
forum threads on the subject.  Safari is real slow.  Firefox seems to be in the 
middle, and IE is the fastest.


******************

Any suggestions for how to embed flv video in a swf using swftools?  The 
articles that I have found on the subject so far all want actionscript to work 
with something called a video object that seems to be setup outside of 
actionscript...

<code>
var connection_nc:NetConnection;
var stream_ns:NetStream;
playVideo = function () {
connection_nc = new NetConnection();
connection_nc.connect(null);
stream_ns = new NetStream(connection_nc);
stream_ns.setBufferTime(3);
video1_video.attachVideo(stream_ns);
stream_ns.play("video.flv");
}; 
</code>

In the example above, the object at issue is "video1_video"

Suggestions?

Thanks,

B



----- Original Message ----
From: Chris Pugh <address@hidden>
To: address@hidden
Sent: Tuesday, January 6, 2009 7:27:48 PM
Subject: Re: [Swftools-common] Newbie having trouble with frame rates

2009/1/7 Bill Gray <address@hidden>:
> Hello again,
>
> Making good progress on this project.  Thanks so much for your help.
>
> I have built the flash I have been hoping for and I have successfully 
> incorporated mp3 sound files...  only to discover that different browsers on 
> different computers will deliver different frame rates!!!!  This totally 
> screws up my goal of having pictures and actions that correspond tightly to 
> the sounds track!!!

It does?  How come?  Care to post an example?  The frame rate is
specified/set on the first line, with the 'fps=x' bit ..

   .flash bbox=400x200 filename="electric.swf" version=10 fps=1

If it really is that bad(??) why not try reversing things, and match
the pictures to the sound?  Presumably the
mp3 files don't change tempo as well?!

> DOH! ..

( How did Homer Simpson getr in here? )

.....


Chris.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]