How to record a video (with sound) without a framerate drop?

I have scripted together a simple animation sequence. It is a combination of a character’s blendshapes lip synched to some audio while particle effects happen and the camera is slowly moving. I would now like to record a video of this to put onto YouTube. Later down the track I will be using a similar technique to record my cutscenes.

So I’ve tried to do this by putting Unity into play mode and using CamStudio to do the recording. The output video has incredible lag with many frames are being dropped. I have tried several recordings with different video settings each time but the result so far has been very choppy and unusable. I have even tried the free URecord asset, but since it doesn’t record audio it is imprecise to manually try to synch up the audio with the lip synched animation.

There are many videos on the asset store that use footage from Unity, how is everyone doing this without the FPS drop?

Does your scene run on a high enough framerate to be able to record a 30 fps video? :wink:

I dont know CamStudio, but how do you record the video? At which fps are you recording, what compression is it using, resolution etc.
Do you record the area where the play window is, or fullscreen?
Have you tried building the scene and recording from the .exe? This might help since the Editor does more rendering and calculations than just the game running by itself.

For Youtube, a 720p video with 30fps is enough of a good quality to showcase things.

Try Microsoft Expression Encoder, its free AND quite powerful for being free. Record areas, choose fps, and so on.

Fraps would be the best option but I don’t know the limitations of the demo version.