How to forward muxed video-audio to tcp sink

Bart Koppe bk at a-bort.org
Fri May 9 06:31:36 PDT 2014


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>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> 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
>>
>>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>


-- 
/\/\/\---------------------------------|
Bart Koppe
mediakunstenaar | http://bartkoppe.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20140509/fd88522c/attachment.html>


More information about the gstreamer-devel mailing list