Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 09-27-2007, 11:26 PM   #1
deedod
Registered User
 
Join Date: Apr 2007
Posts: 8
Unhappy Flash Full Screen SLOW

I've got a custom FLV video player that I've
setup with a true full screen popup similar to
that of YouTube's.

When the video is in the normal browser mode
the CPU load runs up to like 1 - 2% max. However,
when I make the video jump to full screen mode
the CPU load skyrockets up to 15 - 20% and just
sits there for the entire video.

I didn't add any extra functionality for when the
video is in full screen mode so I'm baffled as to
why the huge jump in CPU load occurs. Also,
the memory rate stays virtually the same in normal
and full screen mode.

Any ideas?
deedod is offline   Reply With Quote
Old 09-28-2007, 01:39 AM   #2
pan69
Fight ya for a pint!
 
pan69's Avatar
 
Join Date: Jan 2005
Location: Sydney / Australia
Posts: 1,706
Default

Hi and welcome to Actionscript.org,

Quote:
Originally Posted by deedod View Post
When the video is in the normal browser mode
the CPU load runs up to like 1 - 2% max. However,
when I make the video jump to full screen mode
the CPU load skyrockets up to 15 - 20% and just
sits there for the entire video.
What is it that you find so strange about this? When you show your video in browser mode there are probably a lot lets pixels for the CPU to render. However, when you go to fullscreen mode suddenly the video image needs to be scaled up and any more pixels need to be rendered.

Imagine you had to carry a 100 buckets to the sea in 1 hour which would we quite easy. Suddenly they changed your task that you now have to do a 1000 buckets in an hour (in other words, the resolution has changed). That would probably require a lot more effort, don't you think?

http://www.lukeschreur.com

Last edited by pan69; 10-14-2012 at 04:37 AM.
pan69 is offline   Reply With Quote
Old 09-28-2007, 02:40 AM   #3
CyanBlue
Super Moderator
 
CyanBlue's Avatar
 
Join Date: Jan 2002
Location: Centreville, VA
Posts: 26,666
Default

You mean 100 x 100 = 10000 buckets...
__________________
CyanBlue / Jason Je / Macromedia Certified Flash Developer & Designer
http://CyanBlue.FlashVacuum.com
http://www.FlashVacuum.com
http://tutorials.FlashVacuum.com

Do NOT PM, Email or Call me... Your question belongs right in this forum...
CyanBlue is offline   Reply With Quote
Old 09-28-2007, 04:16 PM   #4
deedod
Registered User
 
Join Date: Apr 2007
Posts: 8
Default

I understand the concept that it takes more
CPU to render the screen. It's just to me
20% seems like quite a bit.

When I watch a full screen video with another
media player like media player classic I only see
the CPU go to about 10%.

Just seems like Flash is inneficient and needs
a few improvements in the full screen department.

Just my thoughts. Thanks for your input.
deedod is offline   Reply With Quote
Old 09-28-2007, 04:50 PM   #5
astgtciv
Resu Deretsiger
 
astgtciv's Avatar
 
Join Date: Jul 2005
Location: St-Petersburg, Russia
Posts: 2,329
Default

Make sure you don't have anything with filters (like GlowFilter) rendering on top of the video. I did this and noticed that for fullscreen there was quite a penalty hit there. But even without the filters, it's not so surprising, as pan69 said. Even so, I think you are right that FP could use some improvements in the fullscreen rendering department. Perhaps some improvements are coming with the next update
__________________
overstream.net: add subtitles to online videos (youtube, vimeo, blip.tv...).
astgtciv is offline   Reply With Quote
Old 09-28-2007, 10:22 PM   #6
pan69
Fight ya for a pint!
 
pan69's Avatar
 
Join Date: Jan 2005
Location: Sydney / Australia
Posts: 1,706
Default

Quote:
Originally Posted by astgtciv View Post
Perhaps some improvements are coming with the next update
Why do you always get what you ask for???

http://www.lukeschreur.com

Last edited by pan69; 10-14-2012 at 04:37 AM.
pan69 is offline   Reply With Quote
Old 09-29-2007, 03:11 AM   #7
astgtciv
Resu Deretsiger
 
astgtciv's Avatar
 
Join Date: Jul 2005
Location: St-Petersburg, Russia
Posts: 2,329
Default

Truth is, I've already seen that when I made the comment above.
The H.264 support is especially astounding. (And with Silverlight supporting VC-1 ( http://weblogs.asp.net/scottgu/archi...announced.aspx ), there is the high-quality video split in the industry.
__________________
overstream.net: add subtitles to online videos (youtube, vimeo, blip.tv...).
astgtciv is offline   Reply With Quote
Old 09-29-2007, 10:43 PM   #8
pan69
Fight ya for a pint!
 
pan69's Avatar
 
Join Date: Jan 2005
Location: Sydney / Australia
Posts: 1,706
Default

The new video codec is nice and since On2 have been so possessive of their codec (lack of Flash 8 video for ffmpeg e.g.), it was just a matter of time. People just don't want to shell out big buck these days for video encoding.

I was personally more excited about the mutilcore support.

http://www.lukeschreur.com

Last edited by pan69; 10-14-2012 at 04:37 AM.
pan69 is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Optimizing Flash Web Sites for Search Engines rockcoastmedia General Chat 19 03-29-2009 09:31 PM
full screen flash positioning of movies michaelsillitoe ActionScript 1.0 (and below) 4 12-20-2006 10:15 AM
Win SP2 - the end of full screen? hakiro Other Flash General Questions 0 05-12-2005 01:56 PM
[Q] Do we need those forums??? CyanBlue General Chat 59 07-27-2004 11:13 AM
..How i can close flash player full screen on escape button.. sftaa ActionScript 1.0 (and below) 0 03-19-2003 04:41 AM


All times are GMT. The time now is 11:58 AM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.