Showing in browser an H264 TCP stream
Tim Müller
tim at centricular.com
Mon Mar 31 02:12:10 PDT 2014
On Mon, 2014-03-31 at 02:01 -0700, Kenairod wrote:
Hi,
> I've tried both of you solutions but I can't receive the stream on another
> computer. I've tried with the following pipelines, but I always get errors.
>
> This pipeline for the solution without container :
>
> gst-launch-0.10 -v tcpclientsrc host=172.23.207.153 port=5000 !
> autovideosink sync=false
autovideosink expects raw video frames, but you're sending encoded H.264
video over the TCP connection. Try:
tcpclientsrc ... ! decodebin2 ! ffmpegcolorspace ! videoscale !
autovideosink
> And this one for the one with container :
>
> gst-launch-0.10 -v tcpclientsrc host=172.23.207.153 port=5000 ! mpegtsdemux
> ! autovideosink sync=false
autovideosink expects raw video frames, but you're sending encoded H.264
video inside an MPEG-TS container over the TCP connection. Try:
tcpclientsrc ... ! decodebin2 ! ffmpegcolorspace ! videoscale !
autovideosink
Cheers
-Tim
--
Tim Müller, Centricular Ltd - http://www.centricular.com
More information about the gstreamer-devel
mailing list