How to add virtual camera nodes in android 13/14?

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

How to add virtual camera nodes in android 13/14?

250 Views
vedantteksun
Contributor I

hello,

i have imx8mp kit with the android 13. I have added the v4l2loopback driver in v4l2 section and built it. Using the v4l2loopback i have created /dev/video8 node. i am also performing the ffmpeg command to get the rtsp stream and feed to /dev/video8.

My end goal is to use that rtsp stream as the secondary camera, but i am not getting the stream on the second camera as no switch camera option not coming on the screen.

Please if anyone has solution kindly provide

1) insmod v4l2loopback.ko video_nr=8

2) ffmpeg -v verbose -i rtsp://192.168.1.163:8554/mystream -pix_fmt yuyv422 -f v4l2 /dev/video8

0 Kudos
Reply
2 Replies

218 Views
vedantteksun
Contributor I

Hello @Bio_TICFSL ,

I am not getting understand, Could you please brief?

 

Thanks

0 Kudos
Reply

228 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

If you has entered the camera module into kernel is going to be easy to integrate just search for the camera, use video*

Regards

0 Kudos
Reply