Hi Herli and welcome to the forum! 
The video4linux driver that I’m using on an old server that I’m currently running Fedora 32 on is called “videodev”. It gets pulled in automatically by the “bttv” driver which is autodetected for my hardware during startup:
# dmesg | grep -i -A 6 bt8xx
[ 49.039511] bttv: Bt8xx card found (0)
[ 49.039857] bttv: 0: Bt878 (rev 17) at 0000:11:00.0, irq: 16, latency: 32, mmio: 0xd7fff000
[ 49.045295] dcdbas dcdbas: Dell Systems Management Base Driver (version 5.6.0-3.3)
[ 49.048720] bttv: 0: subsystem: 6f20:4765 (UNKNOWN)
[ 49.048728] bttv: 0: using: *** UNKNOWN/GENERIC *** [card=0,autodetected]
[ 49.081753] bttv: 0: tuner type unset
[ 49.085470] bttv: 0: registered device video0
--
[ 49.102263] bttv: Bt8xx card found (1)
[ 49.102683] bttv: 1: Bt878 (rev 17) at 0000:11:04.0, irq: 16, latency: 32, mmio: 0xd7ffd000
[ 49.102733] bttv: 1: subsystem: 6f21:4765 (UNKNOWN)
[ 49.102736] bttv: 1: using: *** UNKNOWN/GENERIC *** [card=0,autodetected]
[ 49.135807] bttv: 1: tuner type unset
[ 49.145412] bttv: 1: registered device video1
[ 49.145849] bttv: 1: registered device vbi1
[ 49.149268] bttv: Bt8xx card found (2)
[ 49.149628] bttv: 2: Bt878 (rev 17) at 0000:11:08.0, irq: 16, latency: 32, mmio: 0xd7ffb000
[ 49.149672] bttv: 2: subsystem: 6f22:4765 (UNKNOWN)
[ 49.149676] bttv: 2: using: *** UNKNOWN/GENERIC *** [card=0,autodetected]
[ 49.182704] bttv: 2: tuner type unset
[ 49.212272] bttv: 2: registered device video2
[ 49.216116] bttv: 2: registered device vbi2
[ 49.225671] bttv: Bt8xx card found (3)
[ 49.226010] bttv: 3: Bt878 (rev 17) at 0000:11:0c.0, irq: 16, latency: 32, mmio: 0xd7ff9000
[ 49.226048] bttv: 3: subsystem: 6f23:4765 (UNKNOWN)
[ 49.226051] bttv: 3: using: *** UNKNOWN/GENERIC *** [card=0,autodetected]
[ 49.259946] bttv: 3: tuner type unset
[ 49.307452] bttv: 3: registered device video3
[ 49.310416] bttv: 3: registered device vbi3
# lspci -v -s 11:00.0
11:00.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
Subsystem: Device 6f20:4765
Flags: bus master, medium devsel, latency 32, IRQ 16
Memory at d7fff000 (32-bit, prefetchable) [size=4K]
Capabilities: [44] Vital Product Data
Capabilities: [4c] Power Management version 2
Kernel driver in use: bttv
Kernel modules: bttv
# modinfo /lib/modules/5.7.10-201.fc32.x86_64/kernel/drivers/media/pci/bt8xx/bttv.ko.xz | grep "^de"
description: bttv - v4l/v4l2 driver module for bt848/878 based cards
depends: videobuf-core,videobuf-dma-sg,videodev,tveeprom,tea575x,i2c-algo-bit
# lsmod | grep bttv
bttv 167936 0
tea575x 16384 1 bttv
tveeprom 28672 1 bttv
videobuf_dma_sg 20480 1 bttv
videobuf_core 32768 2 videobuf_dma_sg,bttv
videodev 270336 2 tea575x,bttv
i2c_algo_bit 16384 2 bttv,radeon
# modinfo videodev
filename: /lib/modules/5.7.10-201.fc32.x86_64/kernel/drivers/media/v4l2-core/videodev.ko.xz
alias: char-major-81-*
license: GPL
description: Video4Linux2 core driver
author: Alan Cox, Mauro Carvalho Chehab <mchehab@kernel.org>, Bill Dirks, Justin Schoeman, Gerd Knorr
...
I use the “v4l2-ctl” command (provided by the v4l-utils package) to manage the card. For example:
# v4l2-ctl -d /dev/video0 --set-standard=1
# v4l2-ctl -d /dev/video0 --set-fmt-video=width=768,height=480,pixelformat=YUYV
I can then use ffmpeg to stream the video from the remote server to mplayer runnig on a local PC (or do whatever else I want with the video):
$ ssh <server> ffmpeg -i /dev/video0 -f mjpeg - | mplayer -cache 1024 -noconsolecontrols -
Are you sure that the file under /usr/lib64/obs-plugins/
is a kernel driver? What does the modinfo
command say if you pass it the full path to the filename? What response do you get if you use the file
command instead of modinfo
?