AnsweredAssumed Answered

i.MX8M MJPEG camera pipeline

Question asked by Felix Radensky on Feb 6, 2020
Latest reply on Feb 16, 2020 by Felix Radensky


I'm trying to run a display preview of MJPEG 1920x1080@30fps USB camera connected to our i.MX8MQ board. I'm using the following gstreamer pipeline under Yocto L14.14.98:

gst-launch-1.0 v4l2src device=/dev/video2 ! "image/jpeg" ! vpudec ! videoscale ! waylandsink


Sometimes I get 1fps and sometimes no picture at all. With software decoding pipeline

gst-launch-1.0 v4l2src device=/dev/video2 ! "image/jpeg" ! jpegdec ! videoscale ! waylandsink


I get 10fps and 90% CPU load. I'd appreciate your help finding a correct pipeline that utilizes VPU decoder.