Skip navigation
fabec
Currently Being Moderated

how many flv loaded simultaneously?

Jun 14, 2012 5:37 AM

hello,

one important point concerning my question is that all flv files mentioned are local, so there is no downloading delays involved.

 

i am writting a demo multicamera application that basically allows you to switch between different camera views of the same subject: there are 5 flv files: one with four views together in a mosaic (done in editing and exported as one single flv file) plus one flv per each of the 4 views.

 

the very simple interface allows you to move from any view to the others, including the mosaic view, in such a way that when one view is opened, the video starts playing at the same moment in time that you where when you clicked in the previous screen. 

 

there will never be more than one flv file playing simultaneously, there will be others loaded and paused, but only one playing at a time.

 

since i have no downloading, my biggest concern is RAM and CPU ussage. i am using three video objects, one to hold the multicam flv and two for two possible single cam videos. my question is as follows: what would be more time and ressources consuming, having the three videos "permanently loaded but paused" (that is a NetConnection open and a NetStream loaded with a clip in pause state) or opening, loading and launching the video at each request?

 

thank you very much in advance,

josé

 
Replies
  • kglad
    61,985 posts
    Jul 21, 2002
    Currently Being Moderated
    Jun 14, 2012 6:25 AM   in reply to fabec

    the least amount of local resources would be used by having one netstream instance and switching the stream when desired.  because those streams are downloading so there will be a (brief) delay when switching.

     

    if that delay is not acceptable then you have to do what you're currently doing with multiple netstream instances so you can switch among any of the paused instances.

     
    |
    Mark as:
  • kglad
    61,985 posts
    Jul 21, 2002
    Currently Being Moderated
    Jun 14, 2012 9:07 AM   in reply to fabec

    there's no flash or blink as you change from one flv to another?  i would expect there would be because harddrive access is not instant, at least, not with my harddrive.

     

    in any case, you're welcome.

     
    |
    Mark as:
  • kglad
    61,985 posts
    Jul 21, 2002
    Currently Being Moderated
    Jun 14, 2012 10:56 AM   in reply to fabec

    that's good to hear.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points