How to forward muxed video-audio to tcp sink

Dušan Poizl poizl at maindata.sk
Fri May 9 06:52:24 PDT 2014


matroska is not suitable for streaming. it is intended that you can seek 
in file when you open it. much better option is using RTP or MPEG-TS. so 
try replace matroskamux/demux with mpegtsmux and tsdemux.

Dn(a 09.05.2014 15:31, Bart Koppe wrote / napísal(a):
> Hi,
> Just still stuck how I can forward the matroskamux to tcpserversink on 
> its own, any advise here? How to make it stream in stead of saving it 
> to a file? (once I get there I will use tee to do both)
> Thanks,
> Bart
>
>
>
> On Fri, May 9, 2014 at 2:18 AM, Luis de Bethencourt 
> <luis at debethencourt.com <mailto:luis at debethencourt.com>> wrote:
>
>     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
>     <mailto: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
>         <mailto:gstreamer-devel at lists.freedesktop.org>
>         http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
>
>     _______________________________________________
>     gstreamer-devel mailing list
>     gstreamer-devel at lists.freedesktop.org
>     <mailto:gstreamer-devel at lists.freedesktop.org>
>     http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
>
>
> -- 
> /\/\/\---------------------------------|
> Bart Koppe
> mediakunstenaar | http://bartkoppe.net
>
>
> _______________________________________________
> 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/20140509/00abc9e5/attachment.html>


More information about the gstreamer-devel mailing list