How neotecos/obs-macos-videotoolbox-encoders works
This OBS plugin adds customizable Apple VideoToolbox H.264 and HEVC encoders. Users tune codec settings in the Tools dialog; settings are saved for the Mac and applied by the encoder. For supported Multitrack Video streams, an optional integration replaces compatible native encoders while preserving fallback behavior. Source excerpts show the settings/configuration calls and encoder behavior; some integration wiring is documented in the README but not fully visible in the sampled source.
Main entry points: enhanced-broadcasting.cpp Encoder replacement · encoder.c Custom H.264 · plugin-config.c Plugin configuration · settings-dialog.cpp Settings dialog
Components 9
Settings
- Settings dialog
src/settings-dialog.cpp - Plugin configuration
src/plugin-config.c
Encoding
- Custom H.264
src/encoder.c - Custom HEVC
src/encoder.c - Apple VideoToolbox
Multitrack
- Encoder replacement
src/enhanced-broadcasting.cpp
Other components
- OBS user
- OBS Studio
- Multitrack output
Connections 13
- OBS user → OBS Studio: opens tools
README.md - OBS Studio → Settings dialog: opens settings
README.md - Settings dialog → Plugin configuration: saves settings
src/settings-dialog.cpp - Plugin configuration → Custom H.264: tunes codec
README.md - Plugin configuration → Custom HEVC: tunes codec
README.md - OBS Studio → Custom H.264: selects encoder
README.md - OBS Studio → Custom HEVC: selects encoder
README.md - Custom H.264 → Apple VideoToolbox: encodes frames
src/encoder.c - Custom HEVC → Apple VideoToolbox: encodes frames
src/encoder.c - OBS Studio → Encoder replacement: notifies streaming
src/enhanced-broadcasting.cpp - Encoder replacement → Multitrack output: replaces encoders
src/enhanced-broadcasting.cpp - Encoder replacement → Custom H.264: selects replacement
README.md - Encoder replacement → Custom HEVC: selects replacement
README.md