Questions tagged [v4l2loopback]

v4l2loopback is a linux kernel module to create V4L2 loopback devices. usage questions should be asked on "Unix&Linux".

If you are having troubles using the v4l2loopback module, you probably should ask on Unix & Linux instead.

Upstream: https://github.com/umlaeute/v4l2loopback

112 questions
2
votes
2 answers

v4l2loopback "format not support" error in OBS Studio

I keep getting a weird error in OBS Studio while trying to enable my virtual camera, "format not support". This is after installing packages in Manjaro 19.0.2: yay -S dkms linux56-headers yay -S obs-v4l2sink v4l2loopback-dkms Is this a OBS issue or…
enchance
  • 29,075
  • 35
  • 87
  • 127
2
votes
1 answer

V4l2loopback + mjpg_streamer issue

Ihave a Raspberry Pi 4 B running Raspbian 10 Buster + the Raspberry Pi High Quality Camera. I need to use v4l2loopback to copy videofeed from the physical Camera (/dev/video0) to dummy device (/dev/video1) in order to access it by the mjpg-streamer…
2
votes
1 answer

v4l2loopback on Yocto

I'm begginer on Yocto and I try to add v4l2loopback to my image I download current source on github (https://github.com/umlaeute/v4l2loopback) and i try to compile with with recipe SUMMARY = "V4L2Loopback" DESCRIPTION = "v4l2loopback module" LICENSE…
2
votes
1 answer

v4l2loopback cannot load module on aws ubuntu 18.04

Currently trying to install v4l2loopback into a ubuntu 18.04 instance at aws and facing the current situation After running (the same happens from source install) sudo apt-get install linux-generic (tempts to load videodev) sudo apt-get install…
lpeixotoo
  • 68
  • 1
  • 6
2
votes
1 answer

IOError when trying to use PyFakeWebcam

So, I was recently trying to use PyFakeWebcam, but I have ran into a bit of a problem. Whenever I try to do anything with it, I run into this error: Traceback (most recent call last): File "fakecam.py", line 13, in fake1 =…
2
votes
1 answer

Route decorator for dynamic routing allowing a slash as part of the varible string

I have a loopback4 controller to fetch and create some files on the server. All files are stored in a directory structure with deeper directories. It might look like this: ├── WA2114 │   ├── 300dpi │   │   ├── WA2114_Frontal.jpg │   │   └──…
MIB
  • 337
  • 2
  • 15
2
votes
1 answer

Unknown V4L2 pixel format equivalent for yuva420p with ffmpeg and v4l2loopback

I am trying to use filter_complex from ffmpeg to stich several video input together into one output. I use v4l2loopback to create a virtual video device: sudo modprobe v4l2loopback video_nr=90 In this example, i first try with only one…
Kim
  • 23
  • 1
  • 3
2
votes
2 answers

How to increase default maximum request body size in loopback 4 framework?

How to increase default maximum request body size in loopback 4 framework? I understand express is used internally by loopback 4, what I need to do is the equivalent of setting the limit param for the body-parser expressjs middleware. Any…
Juan Pablo Fernandez
  • 2,408
  • 3
  • 18
  • 32
2
votes
1 answer

Loopback 4 establish rest api root (equivalent restApiRoot in config loopback 3)

In loopback 3, we could set "restApiRoot" in the server config in order to prepend our api calls with some url (ie '/api') Is there some sort of way to do this in loopback 4? The documentation for the bundled REST server seems to have a…
JTG
  • 8,587
  • 6
  • 31
  • 38
2
votes
0 answers

Why isn't my v210 format video showing as such through a V4L loopback device?

In a user-space application, I'm writing v210 formatted video data to a V4L2 loopback device. When I watch the video in VLC or other viewer, I just get clownbarf and claims that the stream is UYUV or other, not v210. I suspect I need to tell the…
DarenW
  • 16,549
  • 7
  • 63
  • 102
2
votes
0 answers

how android install v4l2loopback driver?

today,i compile android driver —— v4l2loopback on ubuntu 12.04,and then, i push this v4l2loopback.ko to android through adb,and then run this command: insmod v4l2loopback,and then through command dmesg,i get this tips: <7>[110639.274146]…
2
votes
0 answers

Stream video to VM as virtual camera input using gstreamer

I stream my camera from a PC to a remote VM using VLC. cvlc v4l2:///dev/video0 :live-caching=300 :sout="#transcode{vcodec=FLV1,scale=0.75,vb=128,acodec=none}:http{dst=:8080/stream.wmv}" I can see the camera from the VM with port forwarding (ssh -C…
2
votes
1 answer

How to catch stdout stream in ffmpeg then pipe it to v4l2loopback

I'm trying to pipe my h264 stream to ffmpeg and then to my v4l2loopback device. Problem is that I'm fairly new to linux, so just can't get it working. The stream can be outputted to stdout, but I do not know how to catch it again with ffmpeg and…
Tveitan
  • 288
  • 5
  • 14
1
vote
0 answers

IP webcam stream delay with ffmpeg

I'm trying to use an unused smartphone as a webcam utilizing v4l2 and ffmpeg. The video is provided in mjpeg format and I forward it to /dev/video2 in the following way: ffmpeg -re -i http://192.168.178.43:8080/video -vcodec rawvideo -threads 0…
user3000
  • 21
  • 4
1
vote
0 answers

Using v4l2sink with DeepStream

I'm working on deepstream code to pass rtsp streams to virtual V4L2 devices (I used v4l2loopback to create the virtual devices). I have a code that works without errors, however, I can't read the V4L2 device. Does anyone know of a working DeepStream…