ksvideosrc dropping frames?

philippe renon philippe_renon at yahoo.fr
Sat Apr 18 12:11:00 PDT 2015


Hi,
I am using gstreamer 1.4.5 to run a simple usb cam display pipeline : ksvideosrc ! timeoverlay ! d3dvideosink
Although it reports the caps below, the timeovelay shows that the pipeline runs at 10 fps instead of the expected 30.
I saw that this plugin had a few interesting fixes on top 1.4.5 so I took the changes and compiled them. But I still this the low frame rate. The cam is a Creative "Live! Cam Optia".

Reported caps:

0:00:01.312992880  5900   50C71360 INFO               GST_EVENT gstevent.c:678:gst_event_new_caps: creating caps event video/x-raw, format=(string)YUY2, width=(int)640, height=(int)480, framerate=(fraction)30/1, pixel-aspect-ratio=(fraction)1/1

The log shows these messages:
0:00:03.423377631  4952   50BA6360 INFO              ksvideosrc gstksvideosrc.c:888:gst_ks_video_src_timestamp_buffer:<ksvideosrc0> lost 2 frames, setting discont flag
0:00:03.431504173  4952   50BA6360 INFO            d3dvideosink d3dhelpers.c:1837:d3d_render_buffer:<d3dvideosink0> Render 0:00:03.153265337
0:00:03.519407355  4952   50BA6360 INFO              ksvideosrc gstksvideosrc.c:888:gst_ks_video_src_timestamp_buffer:<ksvideosrc0> lost 2 frames, setting discont flag
0:00:03.531505321  4952   50BA6360 INFO            d3dvideosink d3dhelpers.c:1837:d3d_render_buffer:<d3dvideosink0> Render 0:00:03.253265336
0:00:03.631418347  4952   50BA6360 INFO              ksvideosrc gstksvideosrc.c:888:gst_ks_video_src_timestamp_buffer:<ksvideosrc0> lost 2 frames, setting discont flag

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150418/2549d177/attachment.html>


More information about the gstreamer-devel mailing list