CatxFish / obs-virtual-cam

obs-studio plugin to simulate a directshow webcam
https://obsproject.com/forum/resources/obs-virtualcam.539/
GNU General Public License v2.0
1.76k stars 343 forks source link

Reuse of OBS Virtual Cam for AR Apps #93

Open zugende opened 4 years ago

zugende commented 4 years ago

Hi,

I'm thinking about integrating OBS virtual cam into my own application installation flow to potentially create an app like "Snap Camera" (https://snapcamera.snapchat.com/). Using ffmpeg how can I send my own video stream to the virtual device? Maybe I am overseeing something but would a command like this be possible?

ffmpeg -re -i input.mp4 -map 0:v -f mjpeg OBS-Camera

Any help or guidance would be awesome!

GrushBrush commented 4 years ago

Yes, is there anyway to use the directshow filters of this framework without using OBS to choose the source?