AnsweredAssumed Answered

color space issue while streaming video data

Question asked by Ravi Kumar on Jan 12, 2016
Latest reply on Jan 12, 2016 by igorpadykov

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.

Outcomes