Ask a Question related to Macromedia Flash Flashcom, Design and Development.
-
Cyberdog2007 #1
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
-
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... -
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... -
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... -
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? -
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... -
JayCharles #2
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



Reply With Quote

