OBS Studio

From Elvanör's Technical Wiki
Revision as of 09:27, 3 December 2020 by Elvanor (talk | contribs)
Jump to navigation Jump to search

Installation

  • Activate the nvenc USE flag to make use of Nvidia hardware encoder. You also need to activate the uvm USE flag on nvidia-drivers for NVENC to work.

Usage

  • Not really clear why, but even with nvenc hardware encoding and good hardware, some frames can be dropped by OBS Studio. It's important to check on console logs, it will tell you the % of frames dropped. Anything above 1% indicates potential serious problems (choppy/lagging video).
  • Recording a video from Firefox seems to be problematic in particular, with about 40% dropped frames even with nvenc. The same exact video (and source) in Chromium does not produce lagged frames.

Cutting videos

  • To cut mkv videos without reencoding, you can use mkvmerge:
mkvmerge --split duration:00:10:33.000 -o target-file.mkv source-file.mkv