gstreamer-1.0 camera preview flickering

Nicolas Dufresne nicolas.dufresne at gmail.com
Tue May 17 18:35:20 UTC 2016


Le mardi 17 mai 2016 à 01:34 -0700, riteshSTPL a écrit :
> I have also tried to replace nvvidconv with videoconvert and
> nvoverlaysink
> with autovideosink but still flickers.
> 
> but when i remove UYVY format from above pipeline *no flickers*
> gst-launch-1.0 videotestsrc \
> ! textoverlay text="Recording..." halignment=0 valignment=1 \
> ! videoconvert ! 'video/x-raw, width=1920, height=1080, format=I420,
> framerate=60/1' \
> ! nvoverlaysink sync=false
> 
>  
> for my camera v4l2 i have to use UYVY to I420 conversion in order to
> view
> video so any other workaround?

This problem is most likely in nvoverlaysink. Please report to NVidia,
as they are the one maintaining this element. You may also try and set
sync=true, as they may have code that bind this to waiting for the
vblank before returning back the buffer into the buffer pools.

Nicolas


More information about the gstreamer-devel mailing list