Can anyone test my pipeline for memory leak

Carl Karsten carl at nextdayvideo.com
Sun Dec 11 19:44:14 UTC 2016


first - I am not a gst dev, so all I can don is confirm your observations.
I doubt it will help get it fixed.

I have hardware that I can test on for days, running fairly default ubuntu
xenial, or yackity, and I don't mind building gst-master.

I don't have much time to figure out how to  build and run your test, so
here is what I would ask:

1. If your mpeg files are more than 100mb, create a script that will
generate them from gst's test sources.

2. if you can use gst-launch to reproduce the memory leak, do that.

else:

3. the easiest way for "me" to test would be to add a PPA and I'll apt-get
install it onto ubuntu xenial.  But that may be more work than you want to
do.

4. git clone... ./configure ... make ..    run and watch top or valgrind or
whatever.




On Sun, Dec 11, 2016 at 12:58 PM, adeel <arshad.adeel.83 at gmail.com> wrote:

> Hi
>
> This is my pipeline. I am making an app in xcode. I am almost done with my
> app. Following is my timeline. I can share my full code
>
> video_bin = gst_parse_bin_from_description("autovideosink", TRUE, NULL);
>         video_filter_bin = gst_parse_bin_from_description("capssetter
> caps=video/x-raw,interlace-mode=interleaved", TRUE, NULL);
>         audio_bin = gst_parse_bin_from_description("audioconvert !
> autoaudiosink", TRUE, NULL);
>
>         pipeline = gst_parse_launch("playbin", &error);
>         const char *char_uri = [uri UTF8String];
>         g_object_set(pipeline, "uri", char_uri, NULL);
>         GST_DEBUG("URI set to %s", char_uri);
>
>         g_object_set(pipeline, "video-sink", video_bin, NULL);
>         g_object_set(pipeline, "video-filter", video_filter_bin, NULL);
>         g_object_set(pipeline, "audio-sink", audio_bin, NULL);
>
> The memory usage is very high when playing a file in loop. starting from 30
> MB to 2.70 GB after two or more days continuous play. I am playing mpeg
> files and share these files also.
>
> Regards
> Adeel Arshad
>
>
>
> --
> View this message in context: http://gstreamer-devel.966125.
> n4.nabble.com/Can-anyone-test-my-pipeline-for-memory-leak-tp4681144.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20161211/5862dd1d/attachment.html>


More information about the gstreamer-devel mailing list