[Red5] Help with Audio-Video sync
code4freedom at yahoo.com
Fri Aug 8 19:03:57 PDT 2008
I am trying to do karaoke recording with flex and red5.
When souce video from server starts playing, I will have to start recording users' vocal with another netstream. Source video is just displaying lyrics to users.
Currently, there is no checking code for if the source video really starts playing, so I will have audio/video un-sync problem, especially when they have buffering in lyrics video.
So, I am thinking to put embeded cue-points in source flv videos at the very first frame, and wait for that cue-point event, and when that event occurs, just start recording. Also, put ending cue-point at the end of source flvs and check that end event and stop recording.
Let me know it would be a good solution for video-audio sync problem? Is there any better way of solving this?
Thanks in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Red5