Skip to main content
Participant
October 27, 2007
Question

Video stops / pauses when audio starts

  • October 27, 2007
  • 2 replies
  • 327 views
Hi there...

We're attempting to integrate an A/V private message app (see it at http://www.flashcoms.com/products/site_mail/overview/) into our existing site. It's our first foray into FMS apps.

Here's the problem: Recording video with no audio is fine. If you record video with audio, it hangs for a few seconds once the audio kicks in. What I mean by that is this: if you record a 20-second video, but don't start talking until 7 seconds into it, it will pause for about 5 seconds upon playback right at the mark where you start talking (in this example case, at 7 seconds into file).

I've checked the flv's on the server and downloaded them to my local machine, and the pause is still there when I playback locally, meaning the problem is created when the file is being recorded.

Anyone experience this before? Problem with FMS or the app itself? I don't have any other FMS apps installed - if someone could point me to a very simple webcam record/playback app I could easily install that would be great, that way I could test if other apps behave the same way.

Thanks!

Shane
    This topic has been closed for replies.

    2 replies

    Participant
    November 4, 2007
    Well, I don't know what you're using to convert your videos to FLV but if your using FFMPEG when I was converting I had the exact same problem, if doing it from the command line using the Async command. for example you say yours is about...5 seconds off? well in the conversion put -async 5 and it will sync up the audio with the video. Heres what the command line would look like....

    exec(" 'ffmpeg directory' -i 'directory to keep converted videos' -s 640x480 -async 5 -b 3000k -g 60 -ar 44100 -f flv video save name.flv");
    Participant
    November 2, 2007
    I get exactly the same problem. I use FLEX20. I personally suspect component VideoDisplay, but not sure.