I have developed TC358748 Parallel to MIPI camera sensor driver.
The Camera output is 1920x1080 60 FPS YUV 4:2:2 UYVY format.
I can successfully preview using below gstreamer pipeline.
gst-launch-1.0 v4l2src device=/dev/video0 ! 'video/x-raw, width=1920, height=1080, format=UYVY, framerate=60/1' \ ! nvvidconv ! 'video/x-raw(memory:NVMM), width=1920, height=1080, format=I420, framerate=60/1' \ ! nvoverlaysink sync=false
Actually i need the preview with rich overlay on it. And i am using QT for that.
I have installed Qt 5.2.1 and 5.8.0 both version installed on TX1.
I refereed qt-gstreamer example to preview gstreamer videosink outputon QML VideoSurface.
But There might some color conversion problem in QML sink so i am getting Reddish preview with UYVY to I420 conversion.
If i use UYVY to RGB conversion, preview color is right but the video is sluggish. it may be due to high framerate and resolution. The same code with videotestsrc works fine with 1080p60fps.
Here is my code https://drive.google.com/open?id=0B8d7zQv-G71oM1JONzlpR2t1OWc
So is there any other way to preview gstrteamer video on QML or QT widget surface with right color and good preformance?