How can I create video loopback devices on OS X? Is there a Mac equivalent of v4l2loopback? In Linux, I can use v4l2loopback to create virtual devices and use them as video inputs/outputs. Is there an equivalent toolset for OS X? How does one create multiple streams of videos on MacBook?
Audio Loopback

For audio loopback devices I'm familiar with Soundflower. From the looks of it there appears to be an alternative called Loopback which is a paid-for application.


Soundflower GitHub Repo
[Loopback](https://rogueamoeba.com/loopback/(


NOTE: Soundflower is available as a binary build from the Github repo.

Video Loopback

For video loopback devices you have a couple of options. Searching led me to this page on Stackoverflow - gstreamer create virtual device on OSX
.

That Q&amp;A mentions that you can use gstreamer which provides a DMG file to use on OSX.

$ ./gst-launch-1.0 -v videotestsrc pattern=snow ! video/x-raw,width=1280,height=720 ! osxvideosink


There's also another option which mentions the framework CoreMediaIO. As part of that framework is sample code and documentation which covers creating a custom solution to construct a loopback device for video.

References


Rogue Amoeba info page about Soundflower
Record your computer's screen with audio on a Mac
How can I send my computer&#39;s audio to multiple outputs?
If we use SoundFlower to record the system&#39;s audio output, then we can&#39;t hear it at the same time?