Hardware encoding and display

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

Hardware encoding and display

510 Views
fabricelouveau
Contributor I

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 ?

Fabrice

Labels (4)
0 Kudos
1 Reply

327 Views
Yuri
NXP Employee
NXP Employee

Hello,

The following Issues decoding MJPEG with VPUdec

may clarify situation.


Have a great day,
Yuri

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos