<div dir="ltr"><div><div><div>You need to demux the streams, decode the streams, mix the video, encode the video, mux the streams and then sink the streams.<br><br></div>The demuxer is likely to be flvdemux and the decoders the specific video codec decoders. Or perhaps decodebin can du it all for you. The muxer is the flvmux.<br>
<br></div>Best regards<br></div>Peter<br><div><div><div><div><br><br></div></div></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Sep 5, 2013 at 2:28 PM, picca <span dir="ltr"><<a href="mailto:buzzdrive@mail.ru" target="_blank">buzzdrive@mail.ru</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">How to mix two rtmp streams in gstreamer?<br>
<br>
Src: nginx-rtmp cams - h.264/speex Sink: nginx-rtmp<br>
<br>
<br>
----------           -------<br>
| rtmp src |----->|        |<br>
 ----------          |        |          ----------<br>
                         | video|----->| rtmp sink|<br>
 ----------          | mixer|          ----------<br>
| rtmp src |----->|        |<br>
 ----------          |        |<br>
                          -------<br>
<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://gstreamer-devel.966125.n4.nabble.com/GStreamer-Picture-in-Picture-rtmp-to-rtmp-tp4661870.html" target="_blank">http://gstreamer-devel.966125.n4.nabble.com/GStreamer-Picture-in-Picture-rtmp-to-rtmp-tp4661870.html</a><br>

Sent from the GStreamer-devel mailing list archive at Nabble.com.<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>
</blockquote></div><br></div>