gstreamer pipeline with tee and mux

Stefan Sauer ensonic at hora-obscura.de
Thu Jul 10 13:32:28 PDT 2014


On 06/26/2014 04:38 PM, Mistry, Amit wrote:
>
> I am new to gstreamer and trying to achieve attached pipeline using
> gstreamer 1.0.
>
> I have implemented pass through empty vp1 and vp2 plug-ins to pass the
> same image buffer to analytics mux. I am not sure if my analytics mux
> implementation is quite right.
>
> I am trying  "pipeline = gst_parse_launch ("filesrc
> location=C://my.mpeg ! tee name=t \ analytics name=fmux !
> autovideosink \ t. ! queue ! vp1 ! fmux. \ t. ! queue ! vp2 ! fmux. ",
> NULL);". 
>
> It seems the src pads of vp1 and vp2 is not hooking up correctly with
> sink pads of analytics mux. The mux's request_new_pad being called
> twice with GstPadTemplate with vp1 info.
>
> Is there something wrong with pipeline string for this case?
>
Hard to tell whats wrong without seeing the code of fmux. The pipeline
itself looks good.

> Also, how do I ensure the analytics mux is muxing the output of same
> frame processed by vp1 and vp2 elements?
>
The frames have timestamps. And if your fmux element uses collectpads
and the vp{1,2} elements don't shuffle frames or drop some, it should
get the frames in equal pairs.

> Is there sample MUX plugin source available to derive custom gstreamer
> MUX plugin and see what am I doing wrong with my mux plugin?
>
you can look at videomixer.
Stefan
>
> I appreciate any pointers or directions to find answers to my
> questions. Thanks! ARM
>
>
>
> _______________________________________________
> 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/20140710/6322cbe6/attachment.html>


More information about the gstreamer-devel mailing list