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
1
vote
2 answers

Loopback 4: Scheduled cron example using Loopback 4

As I am very new with loopback 4 and Typescript, knowing that we have to use custom booter to implement schedule tasks like Cron. I require a code snippet which does that, i.e A custom booter class that implements Booter phases of configure,…
Monil Doshi
  • 151
  • 8
1
vote
1 answer

Error: Property "todoListId" cannot be changed (using todo-list example)

I have clone the example "todo-list" from github and without modifying anything the @post todo-lists is created without. then I use the responsed "Id" to @post /todo-lists/{id}/todos and it gave error Unhandled error in POST /todo-lists/3/todos:…
Foobie
  • 13
  • 2
1
vote
2 answers

Loopback 4: Defining property in model as array

I have a user model with a property addresses: @property.array(Address) addresses: Array
; But I get an error: Cannot start the application. Error: "items" property must be present if "type" is an array According to Loopback documentation,…
Eduardo
  • 1,781
  • 3
  • 26
  • 61
1
vote
3 answers

Strongloop/loopback 4: how to disable authentication for Explorer component over REST?

I have followed and set up via @loopback/authentication But the authentication is added to sequence.ts for all calls. I am unable to skip authentication for Explorer component My open source repo:…
Milind Singh
  • 296
  • 6
  • 23
1
vote
2 answers

@loopback/rest RestBindings.Http.request is returning an empty query variable

I've been working with the early versions of the Loopback v4 package for quite some time, and the RestBindings.Http.Request binding has been working well until one of the most recent upgrades (not quite sure when it happened). I'm still able to get…
LarsM
  • 59
  • 4
1
vote
3 answers

Loopback 4, querying with SQLQuery with postgres connector

This is how I have defined my repository following very generic example given at loopback documentation:- import {DefaultCrudRepository, juggler} from '@loopback/repository'; import {AModel} from '../models'; import {TimeseriesDataSource} from…
VISHAL DAGA
  • 4,132
  • 10
  • 47
  • 53
1
vote
2 answers

Loopback4 Model Definition options for mongodb collection name

I am using loopback 4 and trying to configure the Model annotation with properties to configure how the collection is created in Mongo. I have a Model called say Client and I want the collection in Mongo to be called Clients. The cross over with…
Ronan Rafferty
  • 189
  • 1
  • 9
1
vote
0 answers

Can we Write Image file to camera preview in android application

How can i write image or video data which is stored in a file to a camera preview using an android application. Video should be replaced of camera preview (camera preview is taken from camera) when we launch camera. Is there any Camera APIs which we…
1
vote
1 answer

Unable to route webcam video to virtual video device on Linux (via OpenCV)

I would like to put a video overlay onto an incoming webcam stream via OpenCV. As a first step I'm trying to stream the incoming video from a webcam at /dev/video0 to a virtual video device at /dev/video1 (v4l2loopback). Unfortunately I'm not able…
Bernd
  • 675
  • 2
  • 8
  • 30
1
vote
1 answer

How can I switch a model's datasource in loopback more than once? attachTo is not working

I have a model that I need to switch dataSources whenever I want. For that, I created a remote method on that model and used the attachTo() method. // myModel.js switchDataSource = function(req, fn){ const app = MyModel.app; …
1
vote
1 answer

WebRTC video freezes for virtual camera provided through gstreamer and v4l2sink

I am trying to use video captured with my IP cam (Vstarcam C7837WIP) in my webpage using WebRTC. The IP cam is connected directly to my computer with an ethernet cable and I managed to access the video with the cheese app on linux 14.04 using…
Asvin Goel
  • 48
  • 5
1
vote
0 answers

Unity3D WebCamTexture from v4l2loopback and gstreamer

I't trying to access to a dummy v4l2 camera from Unity3D. The dummy camera is created with gstreamer gst-launch-1.0 v4l2src device=/dev/video0 ! video/x-raw,format=YUY2,width=640,height=480 !v4l2sink device=/dev/video1 and works when used…
1
vote
0 answers

Android RTSP to v4l2 device

I have created an application that takes an RTSP stream and displays it SurfaceView. This is straightforward enough. However I was wondering if it was possible to take an RTSP stream in Android and use it to create a v4l2-device in the same way…
user2060733
  • 123
  • 3
  • 9
1
vote
1 answer

How to invert video with v4l2loopback and gstreamer?

I am trying to vertically invert video but I get the following: GST_DEBUG=2 gst-launch-1.0 v4l2src device=/dev/video0 ! videoconvert ! videoflip method=vertical-flip ! v4l2sink device=/dev/video1 Setting pipeline to PAUSED ... Pipeline is live and…
colboynik
  • 447
  • 4
  • 15
1
vote
3 answers

rtsp stream as virtual webcam (v4l2loopback, logitech c920, beaglebone, gstreamer)

I'm trying to use a rtsp stream from a beaglebone as a virtual webcam with v4l2loopback. On the beaglebone(server) I start the stream with: cvlc --sout=#rtp{sdp=rtsp://:8554/test} 'v4l2:///dev/video0:chroma=H264:width=640:height=480' On my client I…
Herrmann336
  • 21
  • 1
  • 2