AW: How to stream mpegts over http?

Thornton, Keith keith.thornton at zeiss.com
Wed Feb 4 06:38:15 PST 2015


That is a lot of data you're getting out of the decoder which you are trying to get out of the imx6. (1920 * 1088 * 24 *NV12). I could only imagine it being possible to push it to the screen in zero-copy buffers.

-----Ursprüngliche Nachricht-----
Von: gstreamer-devel [mailto:gstreamer-devel-bounces at lists.freedesktop.org] Im Auftrag von Ian Molton
Gesendet: Mittwoch, 4. Februar 2015 13:15
An: Discussion of the development of and with GStreamer
Betreff: Re: How to stream mpegts over http?

On 04/02/15 11:43, Arjen Veenhuizen wrote:
> You're probably better of using tcpserversink 
> http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-b
> ase-plugins/html/gst-plugins-base-plugins-tcpserversink.html

Having recently become aware of the existence of this, how is it supposed to work?

It looks like it should fit pretty much anywhere in a pipeline, allowing you to fling the data to the remainder of the pipeline elsewhere, but in practice, it seems to do absolutely nothing...

#server
gst-launch-1.0 -v filesrc location=/home/ian/Downloads/big_buck_bunny_1080p_h264.mov ! qtdemux ! queue ! h264parse ! v4l2video3dec ! tcpserversink host=0.0.0.0 port=3000 sync=false

#clilent
gst-launch-1.0 tcpclientsrc port=3000 host=192.168.113.145 ! autovideoconvert ! autovideosink

It would be useful if gstreamer told me /why/ it planned on doing nothing... both ends just sit there, sulking.

The server end says:

/GstPipeline:pipeline0/GstTCPServerSink:tcpserversink0.GstPad:sink: caps = "video/x-raw\,\ format\=\(string\)I420\,\ width\=\(int\)1920\,\ height\=\(int\)1088\,\ pixel-aspect-ratio\=\(fraction\)1/1\,\ interlace-mode\=\(string\)progressive\,\ colorimetry\=\(string\)bt709\,\ framerate\=\(fraction\)24/1"
Redistribute latency...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock

And the client:

Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...

-Ian
-Ian
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


More information about the gstreamer-devel mailing list