GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - mika314/obs-airplay: OBS plugin to capture screen mirroring from iOS and macOS devices

BranchesTags
Open more actions menu

Latest commit

 

History

35 Commits
35 Commits

Folders and files

NameName
Last commit message
Last commit date
UxPlay @ 64a7dd0
UxPlay @ 64a7dd0
 
 
coddle-repo
coddle-repo
 
 
resources/macos
resources/macos
 
 
.gitignore
.gitignore
 
 
.gitmodules
.gitmodules
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
airplay.cpp
airplay.cpp
 
 
airplay.hpp
airplay.hpp
 
 
audio-decoder.cpp
audio-decoder.cpp
 
 
audio-decoder.hpp
audio-decoder.hpp
 
 
coddle-macos.toml
coddle-macos.toml
 
 
coddle.toml
coddle.toml
 
 
h264-decoder.cpp
h264-decoder.cpp
 
 
h264-decoder.hpp
h264-decoder.hpp
 
 
plugin.cpp
plugin.cpp
 
 

Repository files navigation

obs-airplay

OBS plugin to capture screen mirroring from iOS and macOS devices

I made an AirPlay plugin for OBS

Build Instructions

Ubuntu-Like OSes 22.04

Install Dependencies

sudo apt-get install -y clang pkg-config libssl-dev libswscale-dev libavcodec-dev libavformat-dev libavutil-dev libswresample-dev git libobs-dev libavahi-compat-libdnssd-dev libplist-dev libfdk-aac-dev

Install Build Tool coddle if not Installed

git clone https://github.com/coddle-cpp/coddle.git && cd coddle && ./build.sh
sudo ./deploy.sh
cd ..

Clone the Plugin

git clone --recurse-submodules https://github.com/mika314/obs-airplay.git

Build

cd obs-airplay
coddle

Copy Plugin File into OBS Plugin Directory

I actually make a symbolic link in the /usr/lib/x86_64-linux-gnu/obs-plugins/ directory.

sudo ln -s /home/mika/prj/obs-airplay/obs-airplay.so /usr/lib/x86_64-linux-gnu/obs-plugins/obs-airplay.so

macOS

Install dependencies

xcode-select --install
brew install \
    fdk-aac \
    ffmpeg \
    libplist \
    openssl \
    pkg-config

Install the build tool

If you do not already have Coddle installed:

git clone https://github.com/coddle-cpp/coddle.git
cd coddle
./build.sh
sudo ./deploy.sh
cd ..

Clone the OBS Studio source

# Change “30.2.3” to match your installed OBS version.
git clone --branch 30.2.3 https://github.com/obsproject/obs-studio.git

This project's library configuration depends on the OBS source being located in an adjacent directory. If you want to put the OBS source tree elsewhere, you will need to update the resources/macos/lib/obs symlink accordingly.

Clone the plugin

git clone --recurse-submodules https://github.com/mika314/obs-airplay.git

Build

cd obs-airplay
coddle

Install the plugin

On macOS, OBS plugins are bundles. A template is available in the repo at resources/macos/obs-airplay.plugin. First, we'll copy that to somewhere OBS will find it; then we'll symlink our compiled plugin into it.

cp \
    -R resources/macos/obs-airplay.plugin \
    ~/Library/Application\ Support/obs-studio/plugins/
ln -s \
    $(realpath obs-airplay.dylib) \
    ~/Library/Application\ Support/obs-studio/plugins/obs-airplay.plugin/Contents/MacOS/obs-airplay

About

OBS plugin to capture screen mirroring from iOS and macOS devices

Resources

Readme
GPL-2.0 license
Activity

Stars

81 stars

Watchers

3 watching

Forks

19 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.