obs-plugin-guide

Guide C/C++ and Rust OBS Studio plugin development with API references.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/UtakataKyosui/C2Lab --skill obs-plugin-guide
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: obs-plugin-guide
Source: https://github.com/UtakataKyosui/C2Lab/tree/main/plugins/obs-plugin-dev/skills/obs-plugin-guide
Command: npx skills add https://github.com/UtakataKyosui/C2Lab --skill obs-plugin-guide

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides comprehensive guidance and reference material for developing plugins for OBS Studio, simplifying the complex process of creating custom video streaming and recording functionalities.

Core Features & Use Cases

  • Language Support: Covers both C/C++ and Rust development approaches.
  • Plugin Types: Details the structure for Source, Filter, Output, and Encoder plugins.
  • Build Systems: Explains CMake configuration and Rust's Cargo integration.
  • API Reference: Provides essential OBS API function signatures and usage examples.
  • Use Case: A developer wants to create a custom video filter for OBS. They can use this Skill to understand the necessary C/C++ structures, GLSL shader integration, and CMake build steps.

Quick Start

Use the obs-plugin-guide skill to learn how to implement the obs_module_load function in C/C++.

Frequently Asked Questions about obs-plugin-guide

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I develop OBS Studio plugins using C++ or Rust?

OBS Studio plugin development is supported in both C/C++ and Rust, requiring you to implement the `obs_module_load` function and configure build systems like CMake or Cargo to create custom streaming functionalities.

What types of plugins can I build for OBS Studio?

OBS Studio plugin development supports four primary types: Source, Filter, Output, and Encoder plugins, each requiring specific C/C++ structures to integrate custom video capture and processing functionalities.

How do I manage memory when creating an OBS plugin?

Memory management in OBS plugins requires using the built-in `bzalloc` and `bfree` functions to ensure proper allocation and deallocation within the C/C++ API environment.

Can I use Rust to write OBS Studio plugins?

Yes, you can write OBS Studio plugins in Rust by utilizing Foreign Function Interface (FFI) to interact with the core C/C++ API and configuring your build with Cargo.

What's the best way to debug an OBS Studio video filter plugin?

Debugging OBS Studio plugins involves utilizing specific techniques outlined in the API reference to troubleshoot custom video filter implementations and ensure proper GLSL shader integration.

How do I configure CMake for OBS Studio plugin development?

Configuring CMake for OBS Studio plugin development requires setting up the proper build configuration files to compile your C/C++ source code and link against the necessary OBS API libraries.