I am using USB webcam Logitech C270, it can output 720P MJPEG. It works very good in PC.
I tried to test mjpeg decode on iMX6. It works very bad performance, only 2 lines can be observed.
Below is the commands.
gst-launch v4l2src device=/dev/video2 ! image/jpeg,width=1280,height=720,framerate=30/1 ! queue ! jpegdec ! mfw_v4lsink
Anyone could give me some suggestion?