Multiple streams playing at the same time?

Ask a Question related to Macromedia Flash Flashcom, Design and Development.

  1. #1

    Default Multiple streams playing at the same time?

    I'm busy buidling my first flash application wich includes FMS2. I've got a mic
    connected wich records a few audiochannels to FMS, no problem there.

    Now i want to play these audiochannels at the same time a progressive movie is
    playing. But the audiochannels have to be synced perfectly with the mvoie.

    So my question is how can i regulate that after the progressive movie is fully
    downloaded and starts playing that at the streams play without interuptions at
    the specific times they need to play.

    Sorry from my English grammer :)
    And many thanks!

    Jay_student Guest

  2. Similar Questions and Discussions

    1. Multiple out streams from one Live in stream
      Hi, Just wondering is there a viable way to get FMS to stream out different bitreates from one live stream? /A
    2. Memory Consumption on playing live streams
      The problem that we encountered is that when we play live streams from flash media server , the flash player process in task manager start getting...
    3. Synchronization of Multiple Audio Streams
      Hi, I'm trying to synchronize several Audio streams during playback and recording. Several questions I have and not sure if actually feasible or...
    4. Playing (and keeping in synce) multiple video streams?
      Hello All, I wonder whether the following is possible with Flash Media Server: We record technical breakout sessions at conferences, and we're...
    5. multiple streams from the same user
      My appliaction allows users to chat with n users. So it is possible to use the video control to stream multiple video/audio using one web camera? ...
  3. #2

    Default Re: Multiple streams playing at the same time?

    You could record the timestamps when you start to record a voice stream , while
    you are playing the downloaded FLV.

    E.g. your progressive movie starts to play.

    At timestamp 1 minute and 15 seconds you start to record voice stream A
    At timestamp 3 minute and 2 seconds you start to record voice stream B
    At timestamp 3 minute and 29 seconds you start to record voice stream C

    Store those 3 timestamps in a database.

    When a user wants to see and hear the result you need to download the movie.
    Download the data-timestamps from a database. Download the voice-streams.

    Then have a fast interval running.

    Start your movie.

    Let the interval check if the play-time of the movie is matching one of your
    recorded timestamps. If it does ; play the voice-stream.

    Et voila.

    But don't expect this to be flawless. The resolution of the interval is pretty
    good (you can have an interval run 50 times a second) but the resolution of the
    FLV is not so accurate.

    command: time (NetStream.time property)
    public time : Number [read-only]
    The position of the playhead, in seconds

    Flash only lets you time this way on whole seconds.

    Normally ppl would record a movie and insert cuepoints. See the Video Encoder
    tool that's installed when you installed Flash 8.

    This requires "editting" of the movie before you can use it ; but you only
    need to listen for an event on your client. Ofcourse you can only use this
    method if you want to use fixed cuepoints in your main-movie (like points for a
    voiceover/comment or something)

    from the docs:

    command: onMetaData (NetStream.onMetaData handler)
    onMetaData = function(infoObject:Object) {}
    Invoked when the Flash Player receives descriptive information embedded in the
    FLV file
    being played.
    The Flash Video Exporter utility (version 1.1 or greater) embeds a video's
    duration, creation
    date, data rates, and other information into the video file itself. Different
    video encoders
    embed different sets of metadata.
    This handler is triggered after a call to the NetStream.play() method, but
    before the video
    playhead has advanced.
    In many cases the duration value embedded in FLV metadata approximates the
    actual
    duration but is not exact. In other words it will not always match the value
    of the
    NetStream.time property when the playhead is at the end of the video stream.


    FMS_Developer Guest

  4. #3

    Default Re: Multiple streams playing at the same time?

    The recorde audio has to be a stream from FMS2, so when the user has a slow internet connection the aduio would get out of sync when the buffer get's empty.
    Jay_student Guest

  5. #4

    Default Re: Multiple streams playing at the same time?

    Consider breaking the video into smaller manageable chunks and provide an interface for user to select these smaller pieces. With smaller media you have an easier time starting a swf with the video.
    MotionMaker Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139