AnsweredAssumed Answered

Hardware encoding and display

Question asked by Fabrice LOUVEAU on Feb 1, 2016
Latest reply on Feb 2, 2016 by Yuri Muhin

Hi everyone,


I try to capture a video from a webcam and display it on the screen using a SabreLite (imx6Q).


My webcam allow two mode of capture YUYV and MJPEG. As I want to use a 720p at 30 fps, I can only use MJPEG. (Logitech C270).


I find how to capture video and display it on the screen without any transcoding:

gst-launch-1.0 v4l2src ! "image/jpeg,width=1280, height=720,framerate=30/1" ! queue ! jpegdec ! imxg2dvideosink


This works. I try to use imxvpudec without any chance. no error message but no video displayed.


I want to convert my MJPEG into h264 using imxvpuenc_h264 and display it on the screen but I can't find the correct command line.

Can you help me ?