{
 "app_id": "com.obsproject.Studio",
 "source_url": "https://raw.githubusercontent.com/flathub/com.obsproject.Studio/master/com.obsproject.Studio.json",
 "runtime": "org.kde.Platform",
 "runtime_version": "5.15-21.08",
 "sdk": "org.kde.Sdk",
 "finish_args": [
  "--share=ipc",
  "--share=network",
  "--socket=fallback-x11",
  "--socket=pulseaudio",
  "--socket=wayland",
  "--device=all",
  "--filesystem=xdg-run/pipewire-0",
  "--filesystem=host",
  "--talk-name=org.kde.StatusNotifierWatcher",
  "--talk-name=org.freedesktop.Flatpak",
  "--talk-name=org.freedesktop.Notifications",
  "--talk-name=org.a11y.Bus"
 ],
 "module_count": 11,
 "fetched_at": "2026-09-17T16:08:28.025843+00:00",
 "manifest": {
  "app-id": "com.obsproject.Studio",
  "default-branch": "stable",
  "runtime": "org.kde.Platform",
  "runtime-version": "5.15-21.08",
  "sdk": "org.kde.Sdk",
  "command": "obs",
  "finish-args": [
   "--socket=x11",
   "--socket=wayland",
   "--socket=pulseaudio",
   "--device=all",
   "--share=network",
   "--share=ipc",
   "--filesystem=host",
   "--filesystem=xdg-run/pipewire-0",
   "--talk-name=org.kde.StatusNotifierWatcher",
   "--talk-name=org.freedesktop.Flatpak",
   "--talk-name=org.freedesktop.ScreenSaver",
   "--talk-name=org.freedesktop.PowerManagement.Inhibit",
   "--talk-name=org.freedesktop.Notifications",
   "--talk-name=org.mate.SessionManager",
   "--talk-name=org.gnome.SessionManager",
   "--own-name=org.kde.StatusNotifierItem-2-2",
   "--system-talk-name=org.freedesktop.Avahi",
   "--env=VST_PATH=/app/extensions/Plugins/lxvst"
  ],
  "add-extensions": {
   "com.obsproject.Studio.Plugin": {
    "directory": "plugins",
    "subdirectories": true,
    "add-ld-path": "lib",
    "merge-dirs": "lib/obs-plugins;share/obs/obs-plugins",
    "no-autodownload": true,
    "autodelete": true
   },
   "com.obsproject.Studio.BlackMagicLibs": {
    "directory": "lib/blackmagic",
    "add-ld-path": ".",
    "no-autodownload": true,
    "autodelete": true
   },
   "com.obsproject.Studio.NDI": {
    "directory": "lib/ndi",
    "add-ld-path": ".",
    "no-autodownload": true,
    "autodelete": true
   },
   "com.obsproject.Studio.V4L2Sink": {
    "directory": "lib/v4l2sink",
    "add-ld-path": ".",
    "no-autodownload": true,
    "autodelete": true
   },
   "org.freedesktop.LinuxAudio.Plugins": {
    "directory": "extensions/Plugins",
    "version": "21.08",
    "add-ld-path": "lib",
    "merge-dirs": "lxvst",
    "subdirectories": true,
    "no-autodownload": true
   }
  },
  "cleanup": [
   "/lib/pkgconfig",
   "/share/man",
   "*.la"
  ],
  "modules": [
   "shared-modules/linux-audio/jack2.json",
   {
    "name": "x264",
    "config-opts": [
     "--disable-cli",
     "--enable-shared"
    ],
    "cleanup": [
     "/include"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://code.videolan.org/videolan/x264.git",
      "branch": "master",
      "commit": "5585eafe31c2299163dcb206e05e18be7dd93098"
     }
    ]
   },
   {
    "name": "v4l-utils",
    "config-opts": [
     "--disable-static",
     "--disable-doxygen-doc",
     "--disable-libdvbv5",
     "--disable-v4l-utils",
     "--disable-qv4l2",
     "--with-udevdir=/app/lib/udev/"
    ],
    "cleanup": [
     "/include"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://linuxtv.org/downloads/v4l-utils/v4l-utils-1.22.1.tar.bz2",
      "sha256": "65c6fbe830a44ca105c443b027182c1b2c9053a91d1e72ad849dfab388b94e31",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 9998,
       "url-template": "https://linuxtv.org/downloads/v4l-utils/v4l-utils-$version.tar.bz2"
      }
     }
    ]
   },
   {
    "name": "nv-codec-headers",
    "no-autogen": true,
    "make-install-args": [
     "PREFIX=/app"
    ],
    "cleanup": [
     "*"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://git.videolan.org/git/ffmpeg/nv-codec-headers.git",
      "commit": "84483da70d903239d4536763fde8c7e6c4e80784",
      "tag": "n11.1.5.1",
      "x-checker-data": {
       "type": "git",
       "tag-pattern": "^n([\\d.]+)$"
      }
     }
    ]
   },
   {
    "name": "srt",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DENABLE_STATIC=OFF",
     "-DENABLE_APPS=OFF",
     "-DENABLE_LOGGING=OFF"
    ],
    "cleanup": [
     "/include",
     "/bin"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/Haivision/srt.git",
      "tag": "v1.4.4",
      "commit": "8b32f3734ff6af7cc7b0fef272591cb80a2d1aae",
      "x-checker-data": {
       "type": "git",
       "tag-pattern": "^v([\\d.]+)$"
      }
     }
    ]
   },
   {
    "name": "ffmpeg",
    "config-opts": [
     "--enable-gpl",
     "--enable-shared",
     "--disable-static",
     "--enable-gnutls",
     "--disable-doc",
     "--disable-programs",
     "--disable-devices",
     "--enable-libopus",
     "--enable-libvpx",
     "--enable-libvorbis",
     "--enable-libx264",
     "--enable-nvenc",
     "--enable-libsrt"
    ],
    "cleanup": [
     "/share/ffmpeg",
     "/include"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://www.ffmpeg.org/releases/ffmpeg-4.3.2.tar.xz",
      "sha256": "46e4e64f1dd0233cbc0934b9f1c0da676008cad34725113fb7f802cfa84ccddb"
     }
    ]
   },
   {
    "name": "luajit",
    "no-autogen": true,
    "cleanup": [
     "/bin",
     "/include"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://luajit.org/git/luajit-2.0.git",
      "branch": "v2.1",
      "disable-shallow-clone": true
     },
     {
      "type": "shell",
      "commands": [
       "sed -i 's|/usr/local|/app|' ./Makefile"
      ]
     }
    ]
   },
   {
    "name": "swig",
    "config-opts": [
     "--without-boost",
     "--without-pcre",
     "--without-alllang",
     "--with-lua=/app/bin/luajit-2.1.0-beta3",
     "--with-luaincl=/app/include/luajit-2.1",
     "--with-python3"
    ],
    "cleanup": [
     "*"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://prdownloads.sourceforge.net/swig/swig-4.0.2.tar.gz",
      "sha256": "d53be9730d8d58a16bf0cbd1f8ac0c0c3e1090573168bfa151b01eb47fa906fc",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 4919,
       "url-template": "https://prdownloads.sourceforge.net/swig/swig-$version.tar.gz"
      }
     }
    ]
   },
   {
    "name": "mbedtls",
    "buildsystem": "cmake-ninja",
    "builddir": true,
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=Release",
     "-DCMAKE_POSITION_INDEPENDENT_CODE=ON",
     "-DUSE_SHARED_MBEDTLS_LIBRARY=ON",
     "-DUSE_STATIC_MBEDTLS_LIBRARY=OFF",
     "-DENABLE_TESTING=OFF",
     "-DENABLE_PROGRAMS=OFF"
    ],
    "cleanup": [
     "/include"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/ARMmbed/mbedtls.git",
      "commit": "f71e2878084126737cc39083e1e15afc459bd93d",
      "tag": "v2.27.0"
     }
    ]
   },
   {
    "name": "cef",
    "buildsystem": "cmake-ninja",
    "no-make-install": true,
    "make-args": [
     "libcef_dll_wrapper"
    ],
    "build-commands": [
     "mkdir -p /app/cef/libcef_dll_wrapper",
     "cp -R ./include /app/cef",
     "cp -R ./Release /app/cef",
     "cp -R ./Resources /app/cef",
     "cp -R ./libcef_dll_wrapper/libcef_dll_wrapper.a /app/cef/libcef_dll_wrapper"
    ],
    "cleanup": [
     "*.a",
     "./*"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://cdn-fastly.obsproject.com/downloads/cef_binary_4280_linux64.tar.bz2",
      "sha256": "d91c78349ecbfbfdfc18d5f882dc28b939028f1a631191c603b5d0d938ada972"
     }
    ]
   },
   {
    "name": "obs",
    "buildsystem": "cmake-ninja",
    "builddir": true,
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=Release",
     "-DENABLE_WAYLAND=ON",
     "-DBUILD_BROWSER=ON",
     "-DCEF_ROOT_DIR=/app/cef",
     "-DUNIX_STRUCTURE=ON",
     "-DUSE_XDG=ON",
     "-DDISABLE_ALSA=ON",
     "-DENABLE_PULSEAUDIO=ON",
     "-DENABLE_PIPEWIRE=ON",
     "-DWITH_RTMPS=ON",
     "-DOBS_VERSION_OVERRIDE=27.1.3"
    ],
    "post-install": [
     "install -d /app/plugins",
     "install -d /app/extensions/Plugins",
     "install -d /app/lib/blackmagic /app/lib/ndi /app/lib/v4l2sink",
     "ln -s /app/lib/ndi/obs-ndi.so /app/lib/obs-plugins/obs-ndi.so",
     "mkdir -p /app/share/obs/obs-plugins/obs-ndi",
     "ln -s /app/lib/ndi/locale /app/share/obs/obs-plugins/obs-ndi/locale",
     "ln -s /app/lib/v4l2sink/v4l2sink.so /app/lib/obs-plugins/obs-v4l2sink.so"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/obsproject/obs-studio.git",
      "tag": "27.1.3",
      "commit": "3c14e4ece250a862a5fa62aa7e85f476f7545ca4"
     }
    ]
   }
  ]
 }
}