IMX8MM-How to add v4l2loopback in yocto

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

IMX8MM-How to add v4l2loopback in yocto

1,091 Views
santhosh2
Contributor IV

Hello,

I am trying to add the v4l2loopback for using two /dev/video0 and /dev/video1 nodes for streaming.

Tried to do using below command and received the below message

Command:

gst-launch-1.0 v4l2src device=/dev/video0 ! tee name=tp ! queue ! v4l2sink device=/dev/video1

Error:

Setting pipeline to PAUSED ...
ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstPipeline:pipeline0/GstV4l2Sink:v4l2sink0: Could not open device '/dev/video1' for reading and writing.
Additional debug info:
../../../git/sys/v4l2/v4l2_calls.c(668): gst_v4l2_open (): /GstPipeline:pipeline0/GstV4l2Sink:v4l2sink0:
system error: No such device or address
Setting pipeline to NULL ...
Freeing pipeline ...

Also tried using below command but getting the below error

Command:

modprobe v4l2loopback video_nr=1

Error:

modprobe: FATAL: Module v4l2loopback not found in directory /lib/modules/4.14.78-imx_4.14.78_1.0.0_ga+g94da7bd

How to solve this

0 Kudos
Reply
1 Reply

557 Views
Udhay_
Contributor III

@santhosh2 

How can we add? did you solve the issue?

Tags (1)
0 Kudos
Reply