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
3
votes
1 answer

Install v4l2loopback in WSL2

I am currently struggling with v4l2loopback installation on WSL2. Some context: Recently, I have read about create a virtual video device in Linux and then mock its output from an image or video file. This is quite important for testing or…
3
votes
1 answer

v4l2loopback on gcp cannot depmod / compile

i'm trying to make fake webcam using v4l2loopback on a docker container inside gcp instance. i'm using debian:stretch with 4.9.0-9-amd64 kernel so far, these are steps that i tried to compile the v4l2loopback: `apt install linux-headers-$(uname…
thekucays
  • 568
  • 3
  • 9
  • 32
3
votes
1 answer

How do I query a particular field in loopback 4 through the repository?

I want to enforce uniqueness so I would like to see if there are any other emails and usernames that are similar to the one posted to this route. How do I do that through the repository, it keeps on asking about a filter which I see but cannot get…
Vikranth
  • 1,538
  • 1
  • 14
  • 23
3
votes
3 answers

LoopBack 4 - Add 'Authorize' button in API explorer

I'm new in LoopBack v4 and I'm trying to send an authorization key with every request. I used Swagger before, and I used to add the api key, after clicking on the "Authorize" button to the right. To avoid error due my inexperience, I've started with…
3
votes
2 answers

Loopback 4: Many to Many Relation

I am trying to implement a way to filter data in tables which have ManytoMany relationship. I have following tables job, job_category and category. So far I am thinking in do a query to job_category using job_id and then use that result to add a…
Eduardo
  • 1,781
  • 3
  • 26
  • 61
3
votes
1 answer

Loopback 4 What is a Repository?

I am having a hard time understanding the concept of Repositories in Loopback 4 the documentation says: A Repository represents a specialized Service interface that provides strong-typed data access (for example, CRUD) operations of a domain model…
mmahgoub
  • 3,910
  • 3
  • 20
  • 19
3
votes
2 answers

Loopback 4 and Mongodb : All model's id are null on response

It is the first time that I use this version (4) for development and I have a problem with loopback and mongodb indexing. Of the two ids that are inside the db loopback it does not collect any. It's a problem of the API or DB? Model…
3
votes
1 answer

How can I access the cookies on the sequence in Loopback 4?

How can I access the cookies on the sequence in Loopback 4 ? I need to validate a session that is sent in a cookie, how can I access its value in loopback 4? Thanks a lot.
Juan Pablo Fernandez
  • 2,408
  • 3
  • 18
  • 32
3
votes
1 answer

Genymotion and v4l2loopback

I would like to use a simulated webcam on Genymotion. I have installed v4l2loopback on my Ubuntu Desktop and it works fine (on a webpage or Cheese) but the camera is not available on Genymotion. Perhaps because the camera is using a v4l2 driver ? Or…
Dominique
  • 33
  • 3
3
votes
0 answers

Write to dummy video stream using OpenCV

I'm using OpenCV and v4l2loopback library to emulate video devices: modprobe v4l2loopback devices=2 Then I check what devices I have: root@blah:~$ v4l2-ctl --list-devices Dummy video device (0x0000) (platform:v4l2loopback-000): …
Pavel Podlipensky
  • 8,201
  • 5
  • 42
  • 53
3
votes
1 answer

linux how to show video to webcam

I am trying the following command, so that my webcam shows a video when i access it from network or android emulator. I am using archlinux. I have installed v4l2loopback-dkms. and added the module to the kernel. then i launched gst-launch-0.10…
Santhosh
  • 9,965
  • 20
  • 103
  • 243
3
votes
0 answers

Gstreamer + h264 stream from c920 + v4l2loopback not working

I've been a month working in a project with cubieboard2 and the webcam logitech c920, after a lot of search and trial error I decided to use gstreamer + v4l2loopback for sending the hardware encoded h264 stream that provides the c920 to vlc and add…
xandre84
  • 31
  • 2
2
votes
1 answer

Why can't I duplicate an MJPEG stream from a webcam to a V4L2 Loopback Device on Linux?

I'm trying to duplicate a USB webcam device V4L2 stream (/dev/video0) to a V4L2 Loopback Device (/dev/video99) at the highest resolution and framerate possible with the hardware available on a Raspberry Pi 4 running the latest Raspbian (also the…
2
votes
0 answers

Need to decode a RTSP stream to V4l2loopback with gstreamer

I am trying to decode an RTSP stream to a V4L2 device on a raspberry pi zero. first i create a loopback device this way.. sudo modprobe v4l2loopback video_nr=25 Then i try to decode the RTSP stream to a virtual V4L2 device. I would prefer if i…
nutron
  • 39
  • 3
2
votes
0 answers

ffmpeg: kmsgrab to v4l2 loopback device

I've been trying to pipe my screen into a v4l2 loopback device (as a hack to share screen during calls on wayland). This is what I tried so far: $ sudo modprobe vl42loopback $ sudo ffmpeg -device /dev/dri/card0 -f kmsgrab -i - -vf…
Vamshi Surabhi
  • 437
  • 4
  • 15