<div dir="ltr">Hi,<div><br></div><div>You want to split the data with a tee just before filesink.</div><div><br></div><div>So the data out of the matroskamux is split into two, one split going to filesink and the other to tcpserversink.</div>
<div><br></div><div>You have an example of how to use tee here:</div><div><a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer-plugins/html/gstreamer-plugins-tee.html">http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer-plugins/html/gstreamer-plugins-tee.html</a><br>
</div><div><br></div><div>Luis</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 8 May 2014 11:08, Bart Koppe <span dir="ltr"><<a href="mailto:bk@a-bort.org" target="_blank">bk@a-bort.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div>Hi,<br></div>I've been experimenting with gstreamer for a while now and got quite far for my level of experience :) <br>
</div>So now I can capture video and sound muxed together from my C920 to a file!<br>
</div><br>gst-launch-1.0 v4l2src device=/dev/video1 ! video/x-h264,width=1280,height=720,framerate=30/1 ! h264parse ! \<br>muxout. \<br>pulsesrc device="alsa_input.usb-046d_HD_Pro_Webcam_C920_F1894590-02-C920.analog-stereo" \<br>
! queue ! audioconvert ! voaacenc bitrate=65536 ! \<br>muxout. \<br>matroskamux name=muxout streamable=true ! \<br>filesink location=muxed-long.mp4<br><br></div>As a next step I would like to also stream the muxed audio+video directly to tcpserversink. <br>
</div><div>Any tips how to forward the mux to tcp? (and still capture)<br></div><div><br></div>Thanks!<span class="HOEnZb"><font color="#888888"><br>Bart<br><div><div><br clear="all"><div><div><div><div><br>-- <br>/\/\/\---------------------------------|<br>
Bart Koppe<br>
</div></div></div></div></div></div></font></span></div>
<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>
<br></blockquote></div><br></div>