Hello Sudesh,

Look the thing is that you are trying to sync two different file(Hope there
bitrate is same),
Here the problem is that two different streams that you are playing can take
different bandwidth so synchronization problem
starts here only as one stream can be behind of other or vice verse.

Now to achieve the synchronization  you need to make sure that both streams
are playing at constant bitrate or having equal elapsed time.

You can achieve this on cleint side by continuous monitiring of two streams.

eg: If you set timer of 5 sec then you will check
        stream1.time and stream2.time if both are not exactly same then you
can seek the audio stream same as video stream to handle the sync.

But here problem is that after X number of seconds you are seeking the
stream so no audio will be hered untill seeking will complete.

Thanks & Regards,

Pravin Uttarwar | Perennial Systems
pravin.uttar...@perennialsys.com | Cell: +91 9371288080 | Tel: +91 (020)
2421 1286 Ext:2007


On 10 May 2010 13:14, Sudesh Das <sudesh...@yahoo.com> wrote:

>
>
>
> Hello Pravin,
>    its the clients requirement. There may be up to 3-4 video files and a
> single audio. and I have to play all in sync.
> Thanks
> ------------------------------
> *From:* "p...@vin Uttarwar" <pravinuttar...@gmail.com>
> *To:* flexcoders@yahoogroups.com
> *Sent:* Mon, May 10, 2010 12:12:10 PM
> *Subject:* Re: [flexcoders] How to sync Audio and video files
>
>
>
> Hi Sudesh,
>
> You are trying to achieve something which is next to impossible.
> Why you have used two separate files to record audio and video instead of
> single file?
>
> Thanks & Regards,
>
> Pravin Uttarwar | Perennial Systems
> pravin.uttar...@perennialsys.com | Cell: +91 9371288080 | Tel: +91 (020)
> 2421 1286 Ext:2007
>
>
> On 10 May 2010 11:40, sudeshdas <sudesh...@yahoo.com> wrote:
>
>>
>>
>> Hi All,
>> In my flex application the video and audio files are loaded separately. I
>> want sync both to play together. can anyone give some idea.
>>
>> Thanks
>> Sudesh
>>
>>
>
>
>
>  
>

Reply via email to