Gstreamer not working after modprobe g_webcam on imx8mmini.

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

Gstreamer not working after modprobe g_webcam on imx8mmini.

300 Views
vivek338
Contributor IV

Hi,

Gstreamer not working on imx8mmini after enabling webcam gadget modprobe g_webcam.

Please help!!!

 

root@imx8mmevk:~# modprobe g_webcam
[ 56.831759] g_webcam gadget: uvc: uvc_function_bind()
[ 56.837376] g_webcam gadget: Webcam Video Gadget
[ 56.842072] g_webcam gadget: g_webcam ready
root@imx8mmevk:~# gst-launch-1.0 videotestsrc ! videoconvert ! autovideosink
[ 79.598981] rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
[ 79.605085] rcu: 1-...0: (0 ticks this GP) idle=c16/1/0x4000000000000000 softirq=2732/2733 fqs=2568
[ 79.614300] (detected by 3, t=5252 jiffies, g=1357, q=747)
[ 79.619870] Task dump for CPU 1:
[ 79.623097] gst-plugin-scan R running task 0 707 706 0x00000202
[ 79.630143] Call trace:
[ 79.632594] __switch_to+0x104/0x170
[ 79.636167] 0xe001f

0 Kudos
2 Replies

266 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

You should map the camera to /dev/videoX and then use gstreamer. Please refer below case:

https://community.nxp.com/t5/i-MX-Processors/Issue-in-Video-Streaming-with-gadget-webcam-module-g-we...

0 Kudos

263 Views
vivek338
Contributor IV

Hi @Zhiming_Liu ,

Thanks for reply!!

What do you mean by map?

uvc-gadget is working fine and  I am able to stream video out over usb, but I want to use gstreamer to stream video out over usb.

But kernel error occurs when I use gstreamer after modprobe g_webcam.

 

Please help!!!

0 Kudos