Synchronization of Multiple Audio Streams

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

  1. #1

    Default 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 how to best
    address :
    1/ When playing back 2 audio streams, how can I ensure the playback is full
    synchronized (<20ms difference) when client receives the 2 streams in playback
    ? Basically trying to simulate a mix-down with 2 // streaming. Ultimately
    wants to achieve this with about 5 audio streams playing back and can't accept
    tolerate delay. I suspect I need to synchronize the start of each stream so
    that they all start together, but not been very succesfull so far.
    Alternatively is there a way to mix-down 2 streams on server and send back a 1
    mixed-down audio stream ?

    2/ More tricky I believe : If I playback 1 audio stream and start recording a
    separate audio stream, I'm getting again desynchronised. Later If I replay the
    1 audio and the newly recorded one, both are not anymore aligned. I suspect
    (but not sure that the delay and desynchronization is introduced during the
    recording but not sure and reason I asked first question...

    If someone knows those answers or could provide some direction of work.... I
    would greatly appreciate.

    Thanks

    Cyberdog2007 Guest

  2. Similar Questions and Discussions

    1. Audio synchronization
      I'm having some trouble producing a livestream video because of the latency between the sound and the video. The audio is coming at least 1 second...
    2. record multiple audio streams
      Hello I'd like to make a voice chat software that can record all audio streams in one flv file. Is it possible with FMS 2? Thank you for the...
    3. Recorded streams synchronization
      We use FCS for audio conferencing. We actually recorded all audio streams to the server from a single meeting with many participants. Now our...
    4. Mix audio streams?
      I am building a live video/audio interview application. Is it possible to record from stream1 video + audio and mix it with the audio from stream2?
    5. Audio Stream distorted when passing audio streams to/from mac andpc
      We are having the oddest problem. We have a video conference room of sorts, where a main moderator has video/audio to all other users. All other...
  3. #2

    Default Re: Synchronization of Multiple Audio Streams

    When it comes to FMS streams, there really is no way of accurately syncronizing
    streams. Since you can't keep data in buffer when pausing the stream, and you
    have to rebuffer any time you seek, it's impossible.

    The only way I've been able to sync flv's is using progressive download. With
    progressive, you can sync streams, but the accuracy is limited to the keyframe
    interval of the flv files. For example, if you have 2 keyframes per second, you
    can achieve sync with 1 second accuracy. with 4 keyframes per second, you can
    get the offset down to 500ms. If you make every frame a keyframe (makes for a
    huge file), you can get frame accurate sync.

    The theory is to build a class that monitors the time and buffer length
    properties of your two streams, pausing and/or seeking when needed to maintain
    sync.


    JayCharles 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