A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: Flash Players video playback capabilities

  1. #1
    Junior Member
    Join Date
    Nov 2003
    Posts
    16

    Flash Players video playback capabilities

    I have just completed a CD_ROM for use as a training video. I am having trouble playing it back on some computers.

    The CD_ROM is a mix of embedded video and animation. ALl the files are exported as .swf and are called to various levels of the main timeline frame. The videos load in 2-4 videos at a time

    The probelm: some machines while loading the second or third batch of videos, playback with a stutter of both sound and video., It seems like the flash player is overwhelmed. Is there another flash player that has expanded memory for playback?

    Im on a really tight deadline and ned some help quick!!

    Thanks in advance.

  2. #2
    Flash Video Moderator Wheels's Avatar
    Join Date
    Dec 2000
    Location
    Minneapolis
    Posts
    1,590

    Re: Flash Players video playback capabilities

    Originally posted by mijata3
    the videos load in 2-4 videos at a time
    Video loading off CD will have to load completely into memory before playback can begin, loading one at a time can really slow things down, much less two or four.

    The playback issues are due to the difference in capabilities in the machines, and is not something you can control.

    You'll have to load one at a time, and be content with the stalling that occurs while the video loads.

  3. #3
    Junior Member
    Join Date
    Nov 2003
    Posts
    16

    Thanks for the advice. i have another question

    i have limited it to 1 video loading at a time.


    Im currently using Serenson squeeze to take each of the 7 quicktime files (which range in size from 90mb to 30mb). and squeezing them down to around a 30-40mb .fla. which them when imported into the time line and published as a .swf are around 30mb. The videos are all sized at 480x360 and cannot change.

    Are these file sizes to large to be runnung through Flash?

    If so, what is the preferred size?

    Thanks again.

  4. #4
    Flash Video Moderator Wheels's Avatar
    Join Date
    Dec 2000
    Location
    Minneapolis
    Posts
    1,590
    30 MB for a .swf off CD is too big, you may have to use Sorenson and stitch them to work effectively.

    How long (time) are the videos at 30 MB. You should be able to get them down to around 3MB per minutes of playback if you are doing your compression properly.

  5. #5
    Junior Member
    Join Date
    Oct 2003
    Posts
    18
    why dont you use sorenson to turn the videos into flv's...
    stick teh following code onto your movie and there you go - perfect video... no stutter or anything - you can also trigger events by using one of the video classes...

    --

    my_nc = new NetConnection();
    my_nc.connect(null);
    my_ns = new NetStream(my_nc);
    my_video.attachVideo(my_ns);
    my_ns.play("Sequence1.flv");
    my_ns.setBufferTime(5);
    my_video.setVolume(100)


    my_ns.onStatus = function(info) {
    for (var i in info){
    trace(i+" = "+info[i]);
    }
    if(info.code=="NetStream.Buffer.Empty" && waitingForEmpty==true){
    //display a play button because the video is done
    replay_btn._visible=true;
    }
    if(info.code=="NetStream.Play.Stop"){
    waitingForEmpty=true;
    }

    };

    waitingForEmpty=false;
    replay_btn._visible=false;
    replay_btn.onPress=function(){
    replay_btn._visible=false;
    waitingForEmpty=false;
    my_ns.play("Sequence1.flv");
    }

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