Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 9 of 9
  1. #1
    Regular Coder ajetrumpet's Avatar
    Join Date
    Jul 2009
    Location
    Iowa City, IA
    Posts
    407
    Thanks
    44
    Thanked 5 Times in 5 Posts

    optimal MB of size per minute of .swf movie

    all,

    I have swf movies that play on my webpages that are anywhere from 15MB to 30MB. I'd like to know what the ratio of MB to minutes of playback time "should" be. Is it different for every piece of software that can produce swf files??

    I'm trying to nail a problem on my front-end site whereby these short videos take more than 2 minutes to load when they are NOT already cached by the browser. The load time is painfully slow on these pages, for some reason that I can't figure out.

    To witness it, here is the site: http://www.neuroprosystems.com/

    Again, the issue is with first-time visits. Otherwise, they load in a flash, as I think I would expect them too.

    thank you so much for any assistance.

  • #2
    Senior Coder
    Join Date
    Apr 2007
    Location
    Quakertown PA USA
    Posts
    1,028
    Thanks
    1
    Thanked 125 Times in 123 Posts
    Loaded in 3-4 seconds for me.
    John

  • #3
    Master Coder
    Join Date
    Dec 2007
    Posts
    6,682
    Thanks
    436
    Thanked 890 Times in 879 Posts
    Quote Originally Posted by ajetrumpet View Post
    all,

    I have swf movies that play on my webpages that are anywhere from 15MB to 30MB. I'd like to know what the ratio of MB to minutes of playback time "should" be. Is it different for every piece of software that can produce swf files??

    I'm trying to nail a problem on my front-end site whereby these short videos take more than 2 minutes to load when they are NOT already cached by the browser. The load time is painfully slow on these pages, for some reason that I can't figure out.

    To witness it, here is the site: http://www.neuroprosystems.com/

    Again, the issue is with first-time visits. Otherwise, they load in a flash, as I think I would expect them too.

    thank you so much for any assistance.
    the loading time depend on the slowest conection between your site and the visitor. For example for me this is probably somewhere between 14K/s and 32K/s between you and me,
    That means that after 4-5 minutes of waiting was loaded, cached a chunk only, then when i start to watch, output from cache and continue to load, get the rest piece by piece. Autostart playing make things worst usualy.
    I hope this will help,

    best regards

  • #4
    Regular Coder ajetrumpet's Avatar
    Join Date
    Jul 2009
    Location
    Iowa City, IA
    Posts
    407
    Thanks
    44
    Thanked 5 Times in 5 Posts
    Quote Originally Posted by PappaJohn View Post
    Loaded in 3-4 seconds for me.
    everyone else I've talked to says the same thing, John.

    It simply might be either a bandwidth issue or connection issue with my ISP's or the CEO's ISP's. I don't know.

    thoughts on that?

  • #5
    Senior Coder
    Join Date
    Apr 2007
    Location
    Quakertown PA USA
    Posts
    1,028
    Thanks
    1
    Thanked 125 Times in 123 Posts
    I'd say oesxyl hit the nail on the head ...
    Quote Originally Posted by oesxyl View Post
    the loading time depend on the slowest conection between your site and the visitor.
    Don't think there's much you're going to do about it. A good connection will yield very acceptable load times, lesser connections - less so.

    oesxyl has a good point ...
    Autostart playing make things worst usualy.
    It's a matter of user perception. A video that auto-starts and then repeatedly pauses as the buffer fills is annoying and appears to load slower.

    You might want to look into increasing the buffer size before auto-starting, or disabling the auto-start altogether.
    John

  • #6
    Regular Coder ajetrumpet's Avatar
    Join Date
    Jul 2009
    Location
    Iowa City, IA
    Posts
    407
    Thanks
    44
    Thanked 5 Times in 5 Posts
    John,

    I know nothing about this. Furthermore, I know nothing about buffers, except the fact that they play some part in prepping media so it can play.

    Is the buffer size part of the HTML behind the page, or in the object tag / param tag codes that dreamweaver automatically inserts with a SWF object?

    thanks!

    (what would increasing the buffer size do?)

  • #7
    Senior Coder
    Join Date
    Apr 2007
    Location
    Quakertown PA USA
    Posts
    1,028
    Thanks
    1
    Thanked 125 Times in 123 Posts
    When your page loads and begins streaming the video, the video player first stores some amount of the movie in the buffer (maybe 10 seconds or so) and then begins to play the movie while the rest of the file streams (to the buffer). The idea is to play the video from the buffer and, hopefully, overcome the problems with slower connections - ie: the video stopping and waiting for more of the file to stream.

    So, at least in theory, a larger buffer will improve the experience of those on slower / less reliable connections by eliminating (or reducing) those periodic pauses.

    There is a bit of a trade-off, of course. A larger buffer will take longer to fill before the auto-play starts. This means your page could load but the video will start some time later (when the buffer is full). You can offset the user's perception of this delay by providing a image to use as a sort of cover for the video. The player (at least a decent player) will display the image until the buffer is full and auto-play starts, at which time the cover image is replaced by the running video.

    The following link to a forum post, although discussing the JW Video player specifically (an excellent player, btw), offers several examples of setting the bufferLength.

    http://www.longtailvideo.com/support...buffer-problem

    BTW, I noticed from your page source, that you are including swfobject.js, but you don't seem to be using it to control the video player. You might want to look into using it - it's a better, cross-browser solution than using the object tags. (I don't use Dreamweaver, but I believe the latest version of DW uses swfobject).
    John

  • Users who have thanked PappaJohn for this post:

    ajetrumpet (03-24-2011)

  • #8
    Regular Coder ajetrumpet's Avatar
    Join Date
    Jul 2009
    Location
    Iowa City, IA
    Posts
    407
    Thanks
    44
    Thanked 5 Times in 5 Posts
    thanks, John.

    I'm no expert with this, nor was I the one who worked on it. I'm the expert in finding the answers to problems other people are having.

    But apparently, the CEO of the company produced the video again using Adobe Flash player and the problem was immediately solved. Again, the video you saw was made with software called Camtasia. It's basically a recorder. I'm assuming that was the issue. I've used that type of software before, and the files just bloat in size, way out of proportion for some reason.

    He told me that Adobe Flash produced the same 1 minute video with a final size of 55K and had no problem at all loading on the page. So he's going with that.

    I appreciate all your help here. I'm sure I'll be referring back to it at some point in the future, as your information is very helpful to us. Thanks!

  • #9
    Senior Coder
    Join Date
    Apr 2007
    Location
    Quakertown PA USA
    Posts
    1,028
    Thanks
    1
    Thanked 125 Times in 123 Posts
    you're welcom, Adam
    John


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •