CamStudio

The Official Blog

CamStudio random header image

Audio/Video Desynch – Workaround

March 3rd, 2007 · 13 Comments

It seems as though the tip I posted previously to try and fix the audio/video desychronization problem hasn’t worked, at least according to the people who have emailed me with their results, or lack of them …

CamStudio SuperStar ™ Ben Ward sent this workaround a while ago and it looks as though I never got around to posting it up here … could’ve sworn that I did, tho’ … oh well here it is anyway …

Download VirtualDub (Free)

Open up the AVI file in VirtualDub you recorded previously

Click “Video”, “Frame Rate…”, and under “Source rate adjustment” choose “Change so video and audio durations match”.

Save the AVI (using “Video” > “Direct stream copy” mode), open it in CamStudio Producer, and convert to SWF.

Hopefully, job done!

Let me know …

Share and Enjoy:
  • Digg
  • del.icio.us
  • StumbleUpon
  • Reddit
  • Netscape
  • Technorati
  • MisterWong
  • BlinkList
  • IndianPad
  • Furl
  • YahooMyWeb

Tags:

13 responses so far ↓

  • 1 phys_pucca // Mar 6, 2007 at 3:03 pm

    Thank you. This method works pretty well. I have a sync problem for a long time and this problem make me upset. But now it is solved.

    I will produce cool video with this incredible software.

    Thanks

  • 2 phys_pucca // Mar 6, 2007 at 4:05 pm

    Sorry if I post this double. I’m not sure about my first post, it isn’t showed.

    I have a problem about sync between sound and video . And I waste a lot of time to solve it, but it isn’t success.

    BTW, this method works :) pretty well.

    Thanks for good software. I will use it to produce useful video.

  • 3 JimmyRcom // Apr 11, 2007 at 3:33 am

    I just made a video tutorial on how to make CamStudio work right after install without any sync errors.
    http://www.youtube.com/watch?v=Kiug3H3c4gk

  • 4 Nick // Apr 16, 2007 at 7:27 am

    Hi Jimmy

    Thanks for taking the time to record that video.

    I duplicated what you did and I still got desync but then I switched to MCI Recording and it all seems to work fine.

    I’m going to do another couple of test videos to make sure and then post the results.

    Thanks again, dude!

    Cheers

    Nick :)

  • 5 GlennRogers // May 30, 2007 at 7:49 pm

    I was having issues for a few hours. The MCI Recorcding checkbox selected did it for me! Thanks. FYI, I’m on XP with a 2ghz Intel Laptop.

    Glenn

  • 6 Coldblade // Aug 10, 2007 at 7:26 pm

    Yes, the MCI recording does work, but not as good as I hoped. Anyways thanks Jimmy and Nick for that following information. Getting Camstudio to work for me, is from Jimmy, a fellow Camstudio fan.

  • 7 dbehman // Jun 17, 2008 at 2:35 pm

    Hi – I have a couple of 100mb AVIs created with Camstudio that I recorded without the MCI recording “fix” so the audio is not sync’d. I installed VirtualDub and tried the framerate adjustment suggested above but it doesn’t help. Is there anything else I can try? It seems as though I have about 50 seconds of video that continues to play after the audio ends at the end of the video.

  • 8 Nick // Jun 18, 2008 at 8:09 am

    @dbehman

    The only other thing I can think of is to save the audio out as a WAV in VirtualDub and then try to “dub” it back in by reimporting it with VirtualDub or even Techsmith’s DubIt utility which you can get here:

    http://www.techsmith.com/snagit/accessories/dubit.asp
    (I think it’s still free)

    HTH

  • 9 df-b // Jun 18, 2008 at 9:42 am

    I record in PCM at 22050khz 16bit mono with interleave set to every 100 milliseconds. after I’ve used it to fix the sync problem with virtualdub I use it to convert the audio stream to mp3 (lame).
    Video >> set to direct stream copy
    Audio >> set to full processing mode
    Audio >> Compression (choose whichever you like)
    Done videos in excess of 5 minutes at 1074 resolution without problems.

  • 10 df-b // Jun 18, 2008 at 9:44 am

    Sorry, slight typo above:

    I record in PCM at 22050khz 16bit mono with interleave set to every 100 milliseconds. After I’ve used virtualdub to fix the sync problem I use it to convert the audio stream to mp3 (lame).
    Video >> set to direct stream copy
    Audio >> set to full processing mode
    Audio >> Compression (choose whichever you like)
    Done videos in excess of 5 minutes at 1074 resolution without problems.

  • 11 dbehman // Jun 19, 2008 at 12:18 am

    Thanks Nick! I appreciate the response. What I ended up doing was taking what Camstudio calculated as the new FPS needed to get the audio in sync with the video, then manually come up with a new value using that as a base, re-save the file and see how that works. Trial and error, but it really didn’t take that long to get it really close.

    I also did a new recording today, this time ensuring MCI Recording was checked off and I can’t believe how perfect it turned out! I love this piece of software!!!

    Excellent documentation included with it as well – I learned all about key frames with compressed video and why when I was trying to delete a small section, it didn’t seem to actually do anything. Love it!!

  • 12 dbehman // Jun 19, 2008 at 2:53 am

    I just noticed a possible problem. When using MCI Recording, it seems that the recorded audio is always PCM 44kHz 16bit stereo regardless of what I set in the Audio Options for Microphone dialog box (both recording format and compressed format sections). Is this a known issue?

  • 13 Nick // Jun 24, 2008 at 9:34 am

    @dbehman

    No, it’s not an issue.

    http://camstudio.org/faq.htm#MCI

    When you record using MCI, it’s the same as if you recorded your audio using Windows Sound Recorder and no compression is applied to it.

    HTH

You must log in to post a comment.