Hardware encoding and display

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Hardware encoding and display

983 次查看
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

标签 (4)
0 项奖励
回复
1 回复

800 次查看
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 项奖励
回复