creating element wih two sinkpads

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

creating element wih two sinkpads

rajashekar
hi all,

I am new to gstreamer, right now i am just trying to impliment one dummy plugin with two sinkpads and one source pad on a single element.
i am using GstCollectivepads to impliment this plugin.

i compiled it, but i am unable to create pipeline

gst-launch filesrc location=one.txt ! dummy \
filesrc location=two.txt ! dummy ! filesink location=output.txt

i am trying pipeline like above, but its not working
please can anybody helps me.....

Advance Thanks
Rajashekar
Reply | Threaded
Open this post in threaded view
|

Re: creating element wih two sinkpads

Stefan Sauer
On 03/26/2012 04:18 PM, rajashekar wrote:

> hi all,
>
> I am new to gstreamer, right now i am just trying to impliment one dummy
> plugin with two sinkpads and one source pad on a single element.
> i am using GstCollectivepads to impliment this plugin.
>
> i compiled it, but i am unable to create pipeline
>
> gst-launch filesrc location=one.txt ! dummy \
> filesrc location=two.txt ! dummy ! filesink location=output.txt
This is way too little information to help you. A few recommendations:
* upload your code somewhere and include the link with your question
* tell us at which elements you have been looking when you added
GstCollectPads to your element (if any)
* tell what fails when something fails, check the debug logs etc.

Stefan

> i am trying pipeline like above, but its not working
> please can anybody helps me.....
>
> Advance Thanks
> Rajashekar
>
> --
> View this message in context: http://gstreamer-devel.966125.n4.nabble.com/creating-element-wih-two-sinkpads-tp4505962p4505962.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

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

Re: creating element wih two sinkpads

rajashekar
hi stefan,

preciously the error is
setting pipeline is PAUSED
pipeline is PREROLLING.....
 
it is stop in prerolling state only.....

but now it is working fine.....
previously i forgot to start GstCollectPad i.e., gst_collect_pads_start();

now it is working.

Thanks
rajashekar