obs-v4l2sink plugin freebsd port

NapoleonWils0n

Well-Known Member

Reaction score: 150
Messages: 275

Just a heads up there is a freebsd port of obs-v4l2sink which is a obs studio plugin used with virtual video devices

An OBS Studio plugin that provides output capabilities to a Video4Linux2 device.

It is basically a Linux version of obs-virtual-cam, but only contains the video sink part.
You can use it with v4l2loopback to achieve cross-program video transfer between OBS Studio and third party software supporting

it was added on the 2020-04-06 so hasnt shown up in the quarterly pkg repo,
guess we have to wait until the end of the quarter for the pkg

i managed to get the plugin working on ubuntu 20.04, you need to create some directories and a symbolic link
obs-v42sink install on linux

On linux you can use v4l2loopback to create a virtual video device

freebsd does have some video for linux pkgs but not v4l2loopback

So is it possible to create a virtual video device on freebsd,
because the obs-v4l2sink obs plugin works with virtual video devices so i would thought there must be a way,
otherwise there wouldnt be a freebsd port

Bash:
gstreamer-plugins-v4l2-0.10.31_2,3 Gstreamer Video 4 Linux 2 source plugin
gstreamer1-plugins-v4l2-1.16.2 GStreamer Video 4 Linux 2 source plugin
libv4l-1.6.3_4                 Video4Linux library
linux-c7-libv4l-0.9.5_2        Video4Linux library (Linux CentOS 7.7.1908)
v4l-utils-1.6.3                Video4Linux utilities
v4l_compat-1.6.3_3             Video4Linux IOCTL header files
libv4l-1.6.3_4                 Video4Linux library
v4l_compat-1.6.3_3             Video4Linux IOCTL header files
 

yurivict

New Member

Reaction score: 7
Messages: 16

On linux you can use v4l2loopback to create a virtual video device

freebsd does have some video for linux pkgs but not v4l2loopback

So is it possible to create a virtual video device on freebsd,
because the obs-v4l2sink obs plugin works with virtual video devices so i would thought there must be a way,
otherwise there wouldnt be a freebsd port

Hi NapoleonWils0n,

obs-v4l2sink requires the v4l2loopback kernel module that is currently missing, so obs-v4l2sink can't be used at this time.

But once v4l2loopback kernel module is implemented obs-v4l2sink would become useful.

v4l2loopback is basically a converter between two video devices, source and destination. It shouldn't be too hard to implement.

Best,
Yuri
 

swills@

Member
Developer

Reaction score: 20
Messages: 78

yurivict Thanks for the info. I'll note that webcamd does some similar things to what v4l2loopback needs to do...
 

swills@

Member
Developer

Reaction score: 20
Messages: 78

Sorry to revive an old dead thread, but for the record: v4l2loopback support is available in the newly released webcamd 5.13.2.5 (committed to ports as well).
 

jardows

Active Member

Reaction score: 75
Messages: 122

I'm fairly new to OBS use, and have only been using for some basic use (Livestreaming from an external camera to YouTube). Can you explain some practical uses for the v4l2loopback?
 
Top