gstreamer-1.0 camera preview flickering
riteshSTPL
ritesh at syntronstech.com
Tue May 17 08:34:35 UTC 2016
i am using nvidia Jetson-TX1 board with gstreamer-1.0 v1.2.4.
Below is pipeline
//Camera preview
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
// camera preview+textoverlay
gst-launch-1.0 v4l2src device=/dev/video0 \
! textoverlay text="Recording..." halignment=0 valignment=1 \
! '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
I am getting Flickering on camera preview with or without textoverlay. But
in preview without textoverlay its not too noticeable. But when i on add
textoverlay, flicking highlighted due to textoverlay.
This flickering happens with also with videotestsrc
gst-launch-1.0 videotestsrc \
! textoverlay text="Recording..." halignment=0 valignment=1 \
! '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
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?
--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/gstreamer-1-0-camera-preview-flickering-tp4677598.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
More information about the gstreamer-devel
mailing list