[Bug 748337] ksvideosrc dropping frames

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Sat Apr 25 06:45:41 PDT 2015


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

--- Comment #5 from Philippe Renon <philippe_renon at yahoo.fr> ---
Using gst-launch I ran this simple pipeline : ksvideosrc ! fpsdisplaysink

----------------------------------------
ksvideosrc 1.4 branch
----------------------------------------

A lot of buffers are being dropped. (gstbasesink.c(2794):
gst_base_sink_is_too_late ():
/GstPipeline:pipeline0/GstFPSDisplaySink:fpsdisplaysink0/GstAutoVideoSink:fps-display-video_sink/GstD3DVideoSink:fps-display-video_sink-actual-sink-d3dvideo:
There may be a timestamping problem, or this computer is too slow.)

has a clock

fpsdisplaysink reports:
rendered: 164, dropped: 136, fps 13.13, drop rate: 7.50

----------------------------------------
ksvideosrc master branch
----------------------------------------

Fails to acquire a clock:
WARN : 0:00:03.072565684  5372   08FEAA40 WARN              ksvideosrc
gstksvideosrc.c:456:gst_ks_video_src_open_device:<ksvideosrc0> failed to
create/open KsClock

fpsdisplaysink reports:
rendered: 328, dropped: 92, fps 3.38, drop rate: 6.76

----------------------------------------
ksvideosrc master branch + patch
----------------------------------------

fpsdisplaysink reports:
rendered: 0, dropped: 192, fps 0.00, drop rate: 28.27

Same clock warning as master.

----------------------------------------
clock issue
----------------------------------------

The clock issue that appears in master comes from this addition:

+    /* Enumerate only capture devices */
+    if_alias_data.cbSize = sizeof (SP_DEVICE_INTERFACE_DATA);
+    success = SetupDiGetDeviceInterfaceAlias (devinfo, &if_data,
&KSCATEGORY_CAPTURE,
+        &if_alias_data);
+    if (!success)
+      continue;

----------------------------------------
other
----------------------------------------

In all test scenario above, I always receive one qos event:
qos event: live: 1; running time: 0; stream time: 0; timestamp: 1741382649;
duration: 33333333 jitter: 1756806371; proportion: -1; quality: 1000000;
format: ; processed: 0; dropped: 1;

I need to test one more scenario which is the 1.4 branch + patch. Doing it
now...

-- 
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