Skip to content

AVI Demo Capturing

aufau edited this page Mar 15, 2017 · 3 revisions

JK2MV comes with a new, improved demo capturing method. Demo is rendered in desired framerate and saved to an AVI container, together with game sounds.

Cvars

  • cl_aviFramerate – Desired AVI framerate.
  • cl_aviMotionJpeg – Encode video in Motion JPEG (mjpeg) format instead of raw bitmaps. It's a widely used intermediate format (for further editing/encoding) and provides good compression ratio compared to raw video. Recommended for all purposes.
  • cl_aviMotionJpegQuality – Same as JPEG image format quality (0-100). Values between 90-95 are perfect for further video editing. Lower values can be also used for simple re-encoding to delivery format.

Commands

  • video – Start recording demo.
  • stopvideo – Stop recording.

Caveats

  • s_useOpenAL must be 0 for sound recording to work.