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 06:35:02 PST 2015


ok, I was able to set max-lateness by using a gint64 variable...
So now with max-lateness=20000000 fakesink produces the same "too slow" warning.

----- Mail original -----
De: stic at free.fr
À: "Discussion of the development of and with GStreamer" <gstreamer-devel at lists.freedesktop.org>
Envoyé: Mardi 15 Décembre 2015 15:24:31
Objet: Re: Upgrading from gstreamer 1.4.5 to 1.6.1 lags a lot reading a stream

yes I checked, pipeline is built with the same elements on both versions.
I tried with software and hardware decoders and the problem is the same.
By replacing glimagesink by fakesink the "too slow" warning disappeared.
(I couldn't set max-lateness because it crashes if I do so)

----- Mail original -----
De: "Sebastian Dröge" <sebastian at centricular.com>
À: "Discussion of the development of and with GStreamer" <gstreamer-devel at lists.freedesktop.org>
Envoyé: Mardi 15 Décembre 2015 14:00:47
Objet: Re: Upgrading from gstreamer 1.4.5 to 1.6.1 lags a lot reading a stream

On Di, 2015-12-15 at 13:31 +0100, stic at free.fr wrote:
> 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.

Can you check if the same elements are used in both versions, e.g. is
it maybe using software decoders in 1.6 and hardware decoders in 1.4?

Apart from that, does it run in real-time if you use
  fakesink sync=true max-lateness=20000000
? You won't see anything obviously but it would also report these "your
computer is too slow" warnings.

-- 
Sebastian Dröge, Centricular Ltd · http://www.centricular.com


_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


More information about the gstreamer-devel mailing list