color space issue while streaming video data

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

color space issue while streaming video data

跳至解决方案
664 次查看
kravik
Contributor IV

We are working on IMX53 based board. Camera sensor is connected to the board which sends video data in UYVY with 640x480 resolution and the display connected to the board is having resolution 800x480.

We have verified camera interface by capturing and playback using test applications as follows.

  • Capture : mxc_v4l2_capture.out -iw 640 -ih 480 -ow 640 -oh 480 -fr 30 -f UYVY test.yuv
  • Playback: mplayer test.yuv -demuxer rawvideo -rawvideo w=640:h=480:format=yuy2

Capture and playback is working fine with proper video data. We need stream the video data coming from camera directly to display fittig to display resolution. We tried with mxc_v4l2_overlay.out test application, with this application video data is fine but color info is not proper. It seems the test application is using framebufeer to send video data to display and framebuffer is configured for RGB24, but video data from camera is UYVY.

Can you please suggest how to handle this color space issue.

标签 (1)
标记 (1)
0 项奖励
1 解答
501 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Ravi

one can add color space processing using examples below

ipu-examples release notes - v0.1

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

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

-----------------------------------------------------------------------------------------------------------------------

在原帖中查看解决方案

0 项奖励
1 回复
502 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Ravi

one can add color space processing using examples below

ipu-examples release notes - v0.1

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

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

-----------------------------------------------------------------------------------------------------------------------

0 项奖励