Upgrading from gstreamer 1.4.5 to 1.6.1 lags a lot reading a stream

stic at free.fr stic at free.fr
Tue Dec 15 04:31:36 PST 2015


Hi,

I try to upgrade an app (android platform) from gstreamer 1.4.5 to 1.6.1, but using 1.6.x framework gives very poor results while it was working fine with 1.4.5 gstreamer version.
The pipeline is built dynamically, using some uridecobin/decodebin elements, and is sent to a glimagesink element for viewing.
But the stream is very very slow and lags a lot, it is not viewable anymore with 1.6.x.

It produces following logs:

12-14 22:43:22.248 27491-29878 W/GStreamer+libav: 0:02:14.526072397 0x9f575630 gstavcodecmap.c:2419:gst_ffmpeg_caps_to_pixfmt ignoring insane framerate 1/0
12-14 22:43:29.879 27491-29878 W/GStreamer+basesink: 0:02:22.156491144 0x9f575630 gstbasesink.c:2846:gst_base_sink_is_too_late:<sink> warning: A lot of buffers are being dropped.
12-14 22:43:29.879 27491-29878 W/GStreamer+basesink: 0:02:22.156704009 0x9f575630 gstbasesink.c:2846:gst_base_sink_is_too_late:<sink> warning: There may be a timestamping problem, or this computer is too slow.
12-14 22:43:29.880 27491-29878 W/GStreamer+basesink: 0:02:22.157791196 0x9f575630 gstbasesink.c:2846:gst_base_sink_is_too_late:<sink> warning: A lot of buffers are being dropped.
12-14 22:43:29.880 27491-29878 W/GStreamer+basesink: 0:02:22.157917603 0x9f575630 gstbasesink.c:2846:gst_base_sink_is_too_late:<sink> warning: There may be a timestamping problem, or this computer is too slow.
12-14 22:43:32.814 27491-29878 W/GStreamer+videodecoder: 0:02:25.091708383 0x9f575630 gstvideodecoder.c:2815:gst_video_decoder_prepare_finish_frame:<avdec_h264-1> decreasing timestamp (0:00:03.928964270 < 0:00:04.061450495)

Do you have any idea on what could be the problem ?
I can send the pipeline graph if needed...

Thanks a lot.


More information about the gstreamer-devel mailing list