GStreamer interpreting differen yuv formats fails

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

GStreamer interpreting differen yuv formats fails

8,464 Views
ivanljubicic
Contributor III

We are trying to show YUV422 over parallel interface and gated clock mode with ar0134 camera. When we are using single shot picture we are getting good frame in file, but when we are using video with gstreamer we are getting sliding quadruple frame on screen for IPU_PIX_FMT_GENERIC_16 pixelformat in driver and for different YUV formats in driver we are having color mismatch on screen.

We are using gstreamer with following command:

gst-launch-1.0 -v imxv4l2videosrc device=/dev/video0 ! \
  'video/x-raw' ! \
  imxg2dvideotransform ! \
  'video/x-raw, format=RGB16, width=800, height=600, framerate=30/1' ! \
  imxg2dvideosink framebuffer=/dev/fb2 window-width=800 \
  window-height=600 force-aspect-ratio=false use-vsync=true

We have tried different test patterns and all of them have color mismatch on screen.

We are using kernel 3.14.28 of jethro project.

What we are doing wrong?

Thanks, regards, Ivan.

Labels (4)
0 Kudos
Reply
1 Reply

8,060 Views
igorpadykov
NXP Employee
NXP Employee

Hi Ivan

alternatively to gstreamer-imx plugins imxg2dvideotransform, which

are community option, one can try nxp option (imx-gst1.0-plugin)

described in attached Linux Guide sect.7.5.3 Video conversion.

Examples of gstreamer-imx usage can be found on

https://community.nxp.com/thread/376271

trac.gateworks.com/wiki/Yocto/gstreamer

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

0 Kudos
Reply