JuliaIO / VideoIO.jl

Reading and writing of video files in Julia via ffmpeg
https://juliaio.github.io/VideoIO.jl/stable
Other
125 stars 53 forks source link

Windows 10, trying to stream virtual camera - "ERROR: LoadError: Could not open" #338

Open MalteBoehm opened 2 years ago

MalteBoehm commented 2 years ago

Hey guys, I want to connect to the stream of a virtual camera. However, even with a real webcam, I´m not yet able to connect to this device, when I follow documentation.

In Skype or Teams, i find the working camera by the name of "OBS-Virtual Camera"

This is one of many tries

using GLMakie
using VideoIO
f = opencamera("OBS-Virtual Camera")
playvideo(f)

Any idea how to make it work?

Thank you!

MalteBoehm commented 2 years ago

Okay solved it.

Info or anyone on Windows

# this is how you open a cam, pass a parameter like i did with the OBS Virtual Camera
cam = opencamera("video=OBS Virtual Camera")

# this if how you get all device names
println(VideoIO.CAMERA_DEVICES)