<div dir="ltr">Hi Tim,<div>    I was trying to write a plugin which could analyze time taken to render contents on the screen and some other similar stuff. So I felt it would be easier to have a plugin of type GstMultiQueue and pass both the audio and video streams to single plugin. Otherwise I would have to write two plugins.</div>

<div><br></div><div>Is it possible to analyze Audio and Video stream in a single plugin without loading the multiple instances?<br><br></div><div>I would like to do something like this<br><br>gst-launch-1.0 souphttpsrc location=<a href="http://devimages.apple.com/iphone/samples/bipbop/gear4/prog_index.m3u8">http://devimages.apple.com/iphone/samples/bipbop/gear4/prog_index.m3u8</a> ! hlsdemux !  tsdemux name=demux mypluginfilter name=myfilter demux.video_0101 ! myfilter.sink_1 myfilter.src_1 ! h264parse ! avdec_h264 ! videoconvert ! autovideosink demux.audio_0102 ! myfilter.sink_0 myfilter.src_0 ! aacparse ! faad ! audioconvert ! pulsesink<br>
</div><div><br></div><div>Thanks and Regards,</div><div>Vishvesh</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Aug 21, 2014 at 10:30 PM, Tim Müller <span dir="ltr"><<a href="mailto:tim@centricular.com" target="_blank">tim@centricular.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Thu, 2014-08-21 at 22:14 +0530, Vishvesh Community wrote:<br>
<br>
Hi,<br>
<div class=""><br>
>     I have recently started exploring Gstreamer. I would like to know<br>
> if I can create a plug-in which has GstMultiQueue as a base class?<br>
><br>
><br>
>    I checked out "gst-element-maker", it does not have template for<br>
> GstQueue and GstMultiQueue, I am using gstreamer 1.0.<br>
<br>
</div>That's not possible, no. Both are not part of our libraries of base<br>
classes, but plugins whose implementation details are hidden.<br>
<br>
The GstDataQueue structure which is used internally is publically<br>
available for use in your own elements though.<br>
<br>
Why do you want to subclass these elements?<br>
<br>
Cheers<br>
<span class="HOEnZb"><font color="#888888"> -Tim<br>
<br>
--<br>
Tim Müller, Centricular Ltd - <a href="http://www.centricular.com" target="_blank">http://www.centricular.com</a><br>
<br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</font></span></blockquote></div><br></div>