Streaming mpeg-ts over tcp

Sebastian Dröge sebastian at centricular.com
Sat Apr 11 10:06:06 PDT 2015


On Mi, 2015-04-08 at 13:53 +0300, Krutskikh Ivan wrote:
> Hi everyone!
> 
> Whenever I try to broadcast mpeg-ts with gstreamer, I get no video on
> receiving client. I tried the static mp4 file (gopro produced) with
> 
>  gst-launch-1.0 filesrc location=/store/100GOPRO/GOPR0133.MP4 ! qtdemux
> name=demux demux.video_0 ! queue ! h264parse ! mpegtsmux name=mux !
> tcpserversink host=127.0.0.1 port=1234 demux.audio_0 ! queue ! mux.
> 
> 
> But live vlc stream works fine:
> 
> gst-launch-1.0 souphttpsrc location=http://192.168.0.243:8090/int_cam?ch=1
> ! tsdemux name=demux demux. ! queue ! h264parse ! mpegtsmux name=mux !
> tcpserversink host=127.0.0.1 port=1234
> 
> 
> In both cases the client is vlc player with
> 
> vlc tcp://127.0.0.1:1234
> 
> Am I missing something here?

In GStreamer you try to use HTTP, with VLC you just use plain TCP. Try
building a pipeline with tcpclientsrc instead.

-- 
Sebastian Dröge, Centricular Ltd · http://www.centricular.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150411/f82d45da/attachment.sig>


More information about the gstreamer-devel mailing list