[Bug 796723] v4l2src + jpegdec dropping every second frame (timestamping / clocking / QoS issues?)

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Jun 29 21:47:19 UTC 2018


https://bugzilla.gnome.org/show_bug.cgi?id=796723

--- Comment #10 from Nicolas Dufresne (ndufresne) <nicolas at ndufresne.ca> ---
Ok, so the difference is that the QoS is implemented in the decoder does not
allow any latenesss, while the videosink allow up to 1 frame late and/or
max-lateness (apparently depends on the sink). This can be showed by doing
this:

gst-launch-1.0 v4l2src device=/dev/video1 ! jpegdec !
video/x-raw,framerate=30/1,height=1080 ! queue ! fpsdisplaysink
video-sink="glimagesink qos=0"

The lie about this pipeline is that all the frames are displayed late on screen
(about 1 frame). As v4l2src have no reason to implement qos, it does not, and
just pushes the late frames. that's why you get better results. I think one of
the solution is:

https://bugzilla.gnome.org/show_bug.cgi?id=640610

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list