Problem to use own plugin on pipeline with queue

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

Problem to use own plugin on pipeline with queue

Renan Prata
Hi all,
I'm newbie gstreamer plugin developer and I have a simple question about. I have tried to create my own gst-plugin. In this case, I'm using filesink plugin as template (I named filesink2 and hosted the source code on this gist: https://gist.github.com/rprata/912c01e80180b111d7080fedf1adaea3).

When I try to use this pipeline:

gst-launch-1.0 souphttpsrc ! hlsdemux ! tsdemux ! filesink2 location=output

it works correctly.

However when I try to use a queue: When I try to use this pipeline:

gst-launch-1.0 souphttpsrc ! hlsdemux ! tsdemux ! queue ! filesink2 location=output

this problem happens: WARNING: erroneous pipeline: no element "filesink2"

Any idea what is happening?

Best Regards,

Renan Prata


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Problem to use own plugin on pipeline with queue

Gst-Geek
This post was updated on .
Get log level 3 or 5.

~ Vinod



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Problem to use own plugin on pipeline with queue

Renan Prata
Hi Vonod,

filesink2 is my own plugin. I shared my source code (https://gist.github.com/rprata/912c01e80180b111d7080fedf1adaea3)  and I compiled to generate a new gst-plugin. This is based on filesink (because of that I called filesink2).

Best regards,


On Thu, Oct 12, 2017 at 5:02 AM, Vinod Kesti <[hidden email]> wrote:
There is no element called filesink2. Wondering how first pipeline worked for
you.

Use filesink instead of filesink2.

~ Vinod



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Problem to use own plugin on pipeline with queue

filnet
Not sure it will help but filesink2.c includes filesink.h (not filesink2.h as expected)


Le Vendredi 13 octobre 2017 16h09, Renan Prata <[hidden email]> a écrit :


Hi Vonod,

filesink2 is my own plugin. I shared my source code (https://gist.github.com/rprata/912c01e80180b111d7080fedf1adaea3)  and I compiled to generate a new gst-plugin. This is based on filesink (because of that I called filesink2).

Best regards,


On Thu, Oct 12, 2017 at 5:02 AM, Vinod Kesti <[hidden email]> wrote:
There is no element called filesink2. Wondering how first pipeline worked for
you.

Use filesink instead of filesink2.

~ Vinod



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
______________________________ _________________
gstreamer-devel mailing list
gstreamer-devel@lists.freedesktop.org
https://lists.freedesktop.org/ mailman/listinfo/gstreamer- devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Problem to use own plugin on pipeline with queue

Renan Prata
Hi Phillipe,
Thank you for your support.
I change it this problem still happens.

On Fri, Oct 13, 2017 at 12:25 PM, philippe renon <[hidden email]> wrote:
Not sure it will help but filesink2.c includes filesink.h (not filesink2.h as expected)


Le Vendredi 13 octobre 2017 16h09, Renan Prata <[hidden email]> a écrit :


Hi Vonod,

filesink2 is my own plugin. I shared my source code (https://gist.github.com/rprata/912c01e80180b111d7080fedf1adaea3)  and I compiled to generate a new gst-plugin. This is based on filesink (because of that I called filesink2).

Best regards,


On Thu, Oct 12, 2017 at 5:02 AM, Vinod Kesti <[hidden email]> wrote:
There is no element called filesink2. Wondering how first pipeline worked for
you.

Use filesink instead of filesink2.

~ Vinod



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
______________________________ _________________
gstreamer-devel mailing list
gstreamer-devel@lists.freedesktop.org
https://lists.freedesktop.org/ mailman/listinfo/gstreamer- devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Problem to use own plugin on pipeline with queue

Gst-Geek
In reply to this post by Renan Prata
As you have used same function name and Object types as filesink for
filesink2 there may be conflict in loading plugin symbols.

Run your pipeline with following debug level
--gst-debug='GST_PLUGIN_LOADING':4,'GST_ELEMENT_FACTORY':4 and check from
which library the plugin filesink2 is loaded.


If filesink2 loaded from libgstcoreelements.so then you have to change
everything to some thing like gst_sink_file_my..




--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Problem to use own plugin on pipeline with queue

filnet
In reply to this post by Renan Prata
If your first pipeline works, then the second one should work too.

Are you sure the first one works ?



Le Vendredi 13 octobre 2017 23h54, Renan Prata <[hidden email]> a écrit :


Hi Phillipe,
Thank you for your support.
I change it this problem still happens.

On Fri, Oct 13, 2017 at 12:25 PM, philippe renon <[hidden email]> wrote:
Not sure it will help but filesink2.c includes filesink.h (not filesink2.h as expected)


Le Vendredi 13 octobre 2017 16h09, Renan Prata <[hidden email]> a écrit :


Hi Vonod,

filesink2 is my own plugin. I shared my source code (https://gist.github.com/ rprata/ 912c01e80180b111d7080fedf1adae a3)  and I compiled to generate a new gst-plugin. This is based on filesink (because of that I called filesink2).

Best regards,


On Thu, Oct 12, 2017 at 5:02 AM, Vinod Kesti <[hidden email]> wrote:
There is no element called filesink2. Wondering how first pipeline worked for
you.

Use filesink instead of filesink2.

~ Vinod



--
Sent from: http://gstreamer-devel.966125. n4.nabble.com/
______________________________ _________________
gstreamer-devel mailing list
gstreamer-devel@lists.freedesk top.org
https://lists.freedesktop.org/ mailman/listinfo/gstreamer- devel

______________________________ _________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/ mailman/listinfo/gstreamer- devel



______________________________ _________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/ mailman/listinfo/gstreamer- devel


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel