Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

gstreamer create virtual device on OSX

I would like to create a virtual camera device using gstreamer on OSX

I am able to create it on *nix systems using

 gst-launch-1.0 -v videotestsrc pattern=snow ! video/x-raw,width=1280,height=720 ! v4l2sink device=/dev/video1

On osx I get a erroneous pipeline v4l2

I would like to be able to pipe the output into applications such as skype etc.,

Any pointers in this direction ? Should I use syphon?

like image 971
Pavan K Avatar asked May 31 '17 14:05

Pavan K


1 Answers

The way to go is to use CoreMediaIO framework. You can create a virtual device using the framework and feed in any stream using a wrapper. Some pointers for wrappers can be seen here.

like image 122
Pavan K Avatar answered Oct 31 '22 15:10

Pavan K