color space issue while streaming video data

cancel
Showing results for 
Search instead for 
Did you mean: 

color space issue while streaming video data

Jump to solution
200 Views
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.

Labels (1)
Tags (1)
0 Kudos
1 Solution
37 Views
igorpadykov
NXP TechSupport
NXP TechSupport

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!

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

View solution in original post

0 Kudos
1 Reply
38 Views
igorpadykov
NXP TechSupport
NXP TechSupport

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!

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

View solution in original post

0 Kudos