Garry's Mod Wiki

IVideoWriter

This is returned from video.Record.

Methods

IVideoWriter:AddFrame( number frameTime, boolean downsample )
Adds the current framebuffer to the video stream.
IVideoWriter:Finish()
Ends the video recording and dumps it to disk.
number IVideoWriter:Height()
Returns the height of the video stream.
IVideoWriter:SetRecordSound( boolean record )
Sets whether to record sound or not.
number IVideoWriter:Width()
Returns the width of the video stream.