BadShmSeg when adding textoverlay dynamically
Francisco Velázquez
francisco.javier at me.com
Mon Nov 17 03:48:20 PST 2014
Hi Tim
I replaced ‘textoverlay' with ‘identity'. The error is still the same. You can also see in the graphs below, that the identity element is linked only if I remove and add again the ximagesink. Anyway, the BadShmSeg error persists.
Code: http://pastebin.com/g1MWRtdu
Debug log: http://pastebin.com/swakGaJv
Code: http://pastebin.com/pY9PLDKr
Debug log: http://pastebin.com/enPCN9LV
Did you push your changes of test-effect-switch.c into the repository? I cannot see them in http://cgit.freedesktop.org/gstreamer/gst-plugins-base/tree/tests/icles/test-effect-switch.c?h=master
Yes, I should look at the gstinsertbin library. Thank you for the hint.
Best regards,
Francisco
> On 15 Nov 2014, at 17:55, Tim Müller <tim at centricular.com> wrote:
>
> On Sat, 2014-11-15 at 16:53 +0100, Francisco Velázquez wrote:
>
> Hi Francisco,
>
>> Your advice in c) works fine. When using elements in silent mode, do
>> they still introduce an overhead? For example, do they perform some
>> copy operations that can impact performance? does it depend on the
>> implementation of each element, or does the GStreamer framework handle
>> silent elements as they were not instantiated?
>
> The "silent" property is textoverlay-specific (and badly named too). If
> it's set to TRUE, the element should have close to no overhead, it
> should just push on the video buffers received, without doing any
> copying or other work.
>
>
>> Do you know what else can I try to make it work when adding dynamically
>> the textoverlay into the pipeline? I would like to apply similar
>> scenarios for other pipelines. In my scenarios, it is relatively
>> unknown the element that will come in the future. Therefore, I cannot
>> link them before using the “silent” property.
>
> You could also try to put in an identity element instead, to see if that
> works. There's also a little gstinsertbin library in gst-plugins-bad,
> which might work fine for what you want to do as well.
>
> I also modified the test-effect-switch.c test from -base to include a
> textoverlay, and that seems to work fine too (with a small mod to get
> the right sink pad).
>
> Cheers
> -Tim
>
> --
> Tim Müller, Centricular Ltd - http://www.centricular.com
>
> _______________________________________________
> 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/20141117/648e349c/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: identity.png
Type: image/png
Size: 34940 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20141117/648e349c/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: identity-linked.png
Type: image/png
Size: 72688 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20141117/648e349c/attachment-0003.png>
More information about the gstreamer-devel
mailing list