Skip to content

Region of Interest Experiment (v2)

Latest

Choose a tag to compare

@derrod derrod released this 01 Jan 14:14
· 1743 commits to master since this release

OBS Studio test build supporting "Region of Interest" (ROI) for encoders.

This build provides a basic GUI editor for region of interest information which can be found in the "Tools" menu:
2024-01-01_14-42-57_ibvaoJ

New Features

  • Preview is now a proper OBS display, meaning it renders fully on the GPU and can draw the ROI map transparently on top of the current OBS preview
  • Center focus center can now be moved
  • Manual and scene item regions support "smoothing" to ease the transition between the ROI and other content
  • Windows is now a split layout so the middle can be adjusted
  • Window geometry is stored and restored when closing and reopening the window

Fixes

  • New items are now added at the top of the list
  • Some translation strings were missing
  • Improved some maths™
  • Fixed "Del" key shortcut not working to delete an item

Known Issues

  • Some encoders still have debug logging enabled which may get a bit spammy
  • Some internal calculations and the preview are optimised for H.264's 16x16 block size and may not display or work correctly for larger ones (HEVC/AV1)

Encoder support

Windows:

  • x264 (obs_x264)
  • AMD AMF (h264_texture_amf, h264_fallback_amf, h265_texture_amf, h265_fallback_amf, av1_texture_amf, av1_fallback_amf)
    • The old AMD AMF plugin is not supported and not included in OBS 30.0 or higher
  • Intel QSV (obs_qsv11_v2, obs_qsv11_soft_v2, obs_qsv11_hevc, obs_qsv11_hevc_soft, obs_qsv11_av1, obs_qsv11_av1_soft)
    • If you encoder name shows up as QuickSync H.264 (v1 deprecated) it is not supported
  • NVIDIA NVENC (jim_nvenc, jim_hevc_nvenc, jim_av1_nvenc)
    • Fallback/FFmpeg variants are not supported (FFmpeg does not support ROI for NVENC)

Linux:

  • obs_x264
  • (Untested) Intel QSV (obs_qsv11_v2, obs_qsv11_soft_v2, obs_qsv11_hevc, obs_qsv11_hevc_soft, obs_qsv11_av1, obs_qsv11_av1_soft)
    • If you encoder name shows up as QuickSync H.264 (v1 deprecated) it is not supported

macOS:

  • obs_x264
  • Apple's VideoToolbox API does not support ROI, so x264 will remain the only one

Note: This build is based on master at the time of writing (obsproject@0e50077) and may contain unstable changes that have been merged since 30.0.

Note 2: Only Windows builds are provided for now.