A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: Troubles playing a FLV file

  1. #1
    Junior Member
    Join Date
    Mar 2001
    Posts
    19

    Troubles playing a FLV file

    Hi everyone,

    I am experiencing a pretty weird problem with a Flash MX 2004 stand alone application running a FLV video file.

    The thing is, I have a huge (52 MB) Flash file that opens a FLV file (around 10 MB). When the video file is displayed half its size the CPU usage is at 95%. When I try to display the video at full size the CPU usage soars to 100% and the video is not played fluidly anymore.

    It could be that my PC is not powerful enough but ... where it gets pretty weird is that, from my large Flash file, I load several external SWF files (using loadMovie) that also opens the same FLV file. When the video file is opened this way (through the SWF files that were loaded into the huge flash file), the video is played perfectly fluidly, the CPU usage at half size being 75% and at full size 95%.

    How can a unique video have a CPU usage 20 points higher being played by two different ways ?

    I don't know if anyone has a clew. It would be of tremendous help :-)

    Thanks for reading my message.

    Bye ;-)

  2. #2
    Media Services
    Join Date
    Jul 2004
    Posts
    252
    75% of CPU that's high enough. I see that you have a hudge problem with encoding here not CPU. Usual video in 320x240 will take about 25-35% of CPU.

    Framerate and kayframe encoding values also play main role in CPU usage.

    You need to descripe your FLV specs to let us estimate the problem.

  3. #3
    Junior Member
    Join Date
    Mar 2001
    Posts
    19
    In fact my FLV file is a pretty large one. Here are its specs :

    Width x Height : 720 x 576
    Framerate : 25 ips (PAL)
    1500 kpbs
    FLV
    Encoded with Sorenson Squeeze 3.5
    The source was a DV AVI and the video is meant to be played from a hard drive.

    I don't think I have more info about it.

    Thanks for your reply ;-)

  4. #4
    Media Services
    Join Date
    Jul 2004
    Posts
    252
    That is the problem...1500 kbps is way to high even for local stream.

    I wouldn't go with 720 x 576 either. That's way to big to expect good quality in lower data rates.

    I would suggest to go with 800 kbps max. and resize your video a little bit (at least 25%)

  5. #5
    Junior Member
    Join Date
    Aug 2003
    Location
    Philadelphia
    Posts
    13

    Loading external flv

    Well, I thought you might know. I have an FLV that I need to import into a Flash file. I am trying to stream a video.

    How the hell do I load the external flv?

    I have it in the same directory. Keep trying the loadmovie action.
    loadMovieNum("movie1.flv");

    This cant be right. Can u help?

    Thanks-Russ

Posting Permissions

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




Click Here to Expand Forum to Full Width

HTML5 Development Center