Bug 257624 - multimedia/obs-studio: Fails to detect v4l2loopback
Summary: multimedia/obs-studio: Fails to detect v4l2loopback
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Yuri Victorovich
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-08-04 19:21 UTC by David Schlachter
Modified: 2021-08-04 21:10 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (yuri)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Schlachter 2021-08-04 19:21:53 UTC
webcamd recently added support for v4l2loopback in FreeBSD (https://github.com/hselasky/webcamd/pull/9). It is now possible to create a v4l2loopback device:

    # webcamd -c v4l2loopback
    webcamd 74613 - - Creating /dev/video0

However, when OBS starts, it does not detect it and disables the virtual camera plugin:

    $ obs
    ...
    warning: v4l2loopback not installed, virtual camera disabled

Expected behavior is that OBS would detect the presence of v4l2loopback (via webcamd) and enable the virtual camera if it is present.
Comment 1 Steve Wills freebsd_committer 2021-08-04 21:01:56 UTC
There's already a patch for this that's been sent upstream:

https://github.com/obsproject/obs-studio/pull/5069
Comment 2 David Schlachter 2021-08-04 21:06:08 UTC
Awesome, thanks!
Comment 3 Steve Wills freebsd_committer 2021-08-04 21:10:46 UTC
Not sure I consider this fixed just yet.