[v 0.10] Gst::init() is slowi

Markus Kienast mark at trickkiste.at
Fri Sep 14 16:55:11 PDT 2012


fi
Am 11.09.2012 18:04 schrieb "Edward Hervey" <bilboed at gmail.com>:

> Hi,
>
>   Have you tried creating a minimalistic C++ application which just
> calls Gst::init() , run it under valgrind --tool=callgrind, and then see
> in kcachegrind what's actually taking up that much time ?
>   If you're on desktop (which seems to be the case considering the rest
> of the thread), gst_init (the C version) shouldn't take up that much
> time (takes <50ms on a more-or-less modern system depending on the
> number of plugins you have installed). There is room for improvement,
> but it won't happen easily.
>
>    Edward
>
> On Sat, 2012-09-08 at 13:19 +0300, Jiergir Ogoerg wrote:
> > Hi,
> > Gst::init() takes like 100+ ms, on rare occasions it takes even
> > longer, like over 2-4 seconds. Is it normal?
> >
> > To combat this I do Gst::init() in another pthread for my gui app to
> > show up instantly as usually.
> >
> > Using Ubuntu 12.04 amd64.
> > Intel Core i5.
> > _______________________________________________
> > 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20120915/622d5f0a/attachment.html>


More information about the gstreamer-devel mailing list