[Flashcoders] flv lagging when changes the frame via code

2008-07-25 Thread Fabio Pinatti
Hello all!

I'm doing a kind of navigation application using a flv embedded on
flash. When I use a command to play it, it runs well.. But if I go to
to a specific frame backwards the current frame, it gives a small lag
before plays again... Is it a codec restriction? Any way to avoid that
lag, using only a big flv, like my situation?

Thanks so much,

-- 
Fábio Pinatti
:: web.developer
 www.pinatti.com.br
:: 19. 9184.3745 / 3342.1130

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] flv lagging when changes the frame via code

2008-07-25 Thread Hans Wichman
Hi,
might not be your issue, but are you telling the timeline on which the flv
is embedded to go back, or the flv itself?
greetz
JC

On Fri, Jul 25, 2008 at 7:18 PM, Fabio Pinatti [EMAIL PROTECTED] wrote:

 Hello all!

 I'm doing a kind of navigation application using a flv embedded on
 flash. When I use a command to play it, it runs well.. But if I go to
 to a specific frame backwards the current frame, it gives a small lag
 before plays again... Is it a codec restriction? Any way to avoid that
 lag, using only a big flv, like my situation?

 Thanks so much,

 --
 Fábio Pinatti
 :: web.developer
  www.pinatti.com.br
 :: 19. 9184.3745 / 3342.1130

 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] flv lagging when changes the frame via code

2008-07-25 Thread Fabio Pinatti
On Fri, Jul 25, 2008 at 3:19 PM, Hans Wichman
[EMAIL PROTECTED] wrote:
 Hi,
 might not be your issue, but are you telling the timeline on which the flv
 is embedded to go back, or the flv itself?
 greetz
 JC

 On Fri, Jul 25, 2008 at 7:18 PM, Fabio Pinatti [EMAIL PROTECTED] wrote:

 Hello all!

 I'm doing a kind of navigation application using a flv embedded on
 flash. When I use a command to play it, it runs well.. But if I go to
 to a specific frame backwards the current frame, it gives a small lag
 before plays again... Is it a codec restriction? Any way to avoid that
 lag, using only a big flv, like my situation?

 Thanks so much,

 --
 Fábio Pinatti
 :: web.developer
  www.pinatti.com.br
 :: 19. 9184.3745 / 3342.1130

 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Hello,

I'm trying control the timeline where it is embedded. Then, if I play
it goes well.. but if in frame 100, I call a gotoAndPlay(50), for
example, it backs to frame 50, give a small lag, and then plays.

-- 
Fábio Pinatti
:: web.developer
 www.pinatti.com.br
:: 19. 9184.3745 / 3342.1130

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] flv lagging when changes the frame via code

2008-07-25 Thread Merrill, Jason
I've experienced the same with movies on timelines, and never found a
great way to overcome the performance lags.  

Jason Merrill 
Bank of America 
Enterprise Technology  Global Risk LLD 
Instructional Technology  Media

Join the Bank of America Flash Platform Developer Community 

Are you a Bank of America associate interested in innovative learning
ideas and technologies?
Check out our internal  GTO Innovative Learning Blog  subscribe. 

 
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] flv lagging when changes the frame via code

2008-07-25 Thread Zeh Fernando

I'm trying control the timeline where it is embedded. Then, if I play
it goes well.. but if in frame 100, I call a gotoAndPlay(50), for
example, it backs to frame 50, give a small lag, and then plays.


That's because when you go to a frame that does not contain a keyframe 
for the movie it has to actually go back in the movie until it finds a 
keyframe, and re-render it until the frame you want to see. Makes a 
backward playback impossible, for example.


If you just have a few moments where you need it - ie, skipping to the 
middle of the movie - and you want to make the skipping performance a 
bit better, increasing the number of keyframes on your movie helps. Just 
export with 1 keyframe every second and see how it works.


This will probably make your movie file bigger.

There's no perfect solution, however. The only way to fix it completely 
is making all frames keyframes, which pretty much defeats the purpose of 
using a video file. You can only hope that a few more keyframes will 
work well enough.



Zeh
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] flv lagging when changes the frame via code

2008-07-25 Thread Fabio Pinatti
On Fri, Jul 25, 2008 at 4:48 PM, Zeh Fernando [EMAIL PROTECTED] wrote:
 I'm trying control the timeline where it is embedded. Then, if I play
 it goes well.. but if in frame 100, I call a gotoAndPlay(50), for
 example, it backs to frame 50, give a small lag, and then plays.

 That's because when you go to a frame that does not contain a keyframe for
 the movie it has to actually go back in the movie until it finds a keyframe,
 and re-render it until the frame you want to see. Makes a backward playback
 impossible, for example.

 If you just have a few moments where you need it - ie, skipping to the
 middle of the movie - and you want to make the skipping performance a bit
 better, increasing the number of keyframes on your movie helps. Just export
 with 1 keyframe every second and see how it works.

 This will probably make your movie file bigger.

 There's no perfect solution, however. The only way to fix it completely is
 making all frames keyframes, which pretty much defeats the purpose of using
 a video file. You can only hope that a few more keyframes will work well
 enough.


 Zeh
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



Great... Guys, you really helped me. I know at least that is not
possible do miracles with flv encoding.

Thanks so much for clarifying me..

Best Regards,

-- 
Fábio Pinatti
:: web.developer
 www.pinatti.com.br
:: 19. 9184.3745 / 3342.1130

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders