Skip to main content
Participant
March 11, 2009
Question

FMSIS 3.5 recording delay

  • March 11, 2009
  • 1 reply
  • 825 views
Hello from Poland,

We are working on some kind of karaoke application based on FMS IS 3.5. Trying to do it very right way we try to mix recorded voice ( or voice + video ) with prerecorded song ( flv file stored on server ) using sox and ffmpeg to join files and convert formats. Normally, the workflow with any session looks like this:
1. background song is played ( and paused at start ) by rtmp -> we wait untill it is cached totally, then
2. we record stream from mic ( or mic + camera )
3. recording is mixed with background on server-side, so we have nice one file to publish to other users.

And there is a problem. Recording seems always to be delayed to prerecorded background. After some research, trimming ( with sox ) about 300-350ms form recording beginning solves the problem, but not for all cases. Sometimes, this value seems to be too small or too big - and lack of synchronization can be clearly heard.
What can be the cause of this delay? Is it network issue, FMS issue orhardware ( soundcard, mic )? Is there any way to find value of this delay?
    This topic has been closed for replies.

    1 reply

    Lazlo_Hollyfeld
    Inspiring
    October 7, 2009

    Hi There,

    Did you ever get to solve this issue?  The same is happening for me.  Any suggestions to fix the delay in recording?

    Thanks!

    Participant
    November 21, 2009

    I'm looking for the same solution... when I trigger record on the FMS, there's a delay on when the data actually starts recording to the server. Any help would be appreciated!

    Thanks!

    Lazlo_Hollyfeld
    Inspiring
    November 22, 2009

    Are you setting the .rate property of the microphone object?  I recall that helping me a great deal.  I record my microphone data at 22KHz.  The default just didn't cut it.

    Hope that helps!