Upgrading from gstreamer 1.4.5 to 1.6.1 lags a lot reading a stream
stic at free.fr
stic at free.fr
Wed Dec 16 09:45:24 PST 2015
I need more time to build the pipeline without using decodebin because it requires to change some code...
But I found that by replacing libgstgl-1.0.a, libgstopengl.a and libgstplayback.a from the one in sdk 1.4 fixes my issue. Now everything is smooth and I have no more warnings with my pipeline.
I had to change libgstgl and libgstopengl (for glimagesink) because changing libgstplayback alone (for decodebin) was giving better results but it was not as good as with sdk 1.4, it was still lagging quite a lot.
Replacing both completely fixed my problem.
I know this is not a very clean way to find the cause of the problem but it was easier and faster to me for now.
----- 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é: Mercredi 16 Décembre 2015 12:09:51
Objet: Re: Upgrading from gstreamer 1.4.5 to 1.6.1 lags a lot reading a stream
On Mi, 2015-12-16 at 11:55 +0100, stic at free.fr wrote:
> I compared caps from both pipeline, and they are different.
> Caps used for gstreamer 1.4: video/x-h264 stream-format=avc
> alignment=au codec_data=...
> Caps used for gstreamer 1.6: video/x-h264 stream-format=byte-stream
> alignment=nal
>
> These caps seem to be initiated by the rtph264depay element used by
> the decodebin element.
Try not using decodebin and putting a capsfilter with these caps after
the depayloader. Does using the 1.4 caps make things faster again?
_______________________________________________
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