How to forward muxed video-audio to tcp sink

Luis de Bethencourt luis at debethencourt.com
Thu May 8 17:18:12 PDT 2014


Hi,

You want to split the data with a tee just before filesink.

So the data out of the matroskamux is split into two, one split going to
filesink and the other to tcpserversink.

You have an example of how to use tee here:
http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer-plugins/html/gstreamer-plugins-tee.html

Luis


On 8 May 2014 11:08, Bart Koppe <bk at a-bort.org> wrote:

> Hi,
> I've been experimenting with gstreamer for a while now and got quite far
> for my level of experience :)
> So now I can capture video and sound muxed together from my C920 to a file!
>
> gst-launch-1.0 v4l2src device=/dev/video1 !
> video/x-h264,width=1280,height=720,framerate=30/1 ! h264parse ! \
> muxout. \
> pulsesrc
> device="alsa_input.usb-046d_HD_Pro_Webcam_C920_F1894590-02-C920.analog-stereo"
> \
> ! queue ! audioconvert ! voaacenc bitrate=65536 ! \
> muxout. \
> matroskamux name=muxout streamable=true ! \
> filesink location=muxed-long.mp4
>
> As a next step I would like to also stream the muxed audio+video directly
> to tcpserversink.
> Any tips how to forward the mux to tcp? (and still capture)
>
> Thanks!
> Bart
>
>
> --
> /\/\/\---------------------------------|
> Bart Koppe
>
> _______________________________________________
> 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/20140508/409d3623/attachment.html>


More information about the gstreamer-devel mailing list