We are building an online Karaoke application. The need is to be able to sync and play two streams, a FLV file that is being recorded using Flash Media Server and a MP3 file. We were looking at two options
Option 1 : Play the two files together. We are using two attachnetstream , one with the recorded FLV file that has the video including voice of the singer and the other the MP4 file that has the instrumental part (this also has video but we are suppressing the video).
Issue : While playing back, the recorded video (FLV) is skipping forward at times making the two streams to be out of sync. When we download the recorded file and play it offline, it appears that there was no loss of frames etc. in the recorded file.
If there are other alternatives .e.g. ffmpeg or other encoding software, that can merge the two files as they are being recorded, we would like to explore that too.
Start Free Trial