Streaming h264 with tcpserversink and tcpclientsrc

Monyz Wacon monyz.ww at gmail.com
Thu Jun 2 20:22:18 UTC 2016


Hello,
I'm trying to stream h264 using tcrpserversink and tcpclientsrc.

Using this example I'm able to see a test stream:

gst-launch-1.0 videotestsrc ! x264enc ! video/x-h264,format=bytestream !
typefind ! h264parse ! avdec_h264 ! autovideosink

However these commands don't work as expected:

gst-launch-1.0 videotestsrc ! x264enc ! tcpserversink port=7001

gst-launch-1.0 tcpclientsrc port=7001 ! video/x-h264,format=bytestream !
typefind ! h264parse ! avdec_h264 ! autovideosink

No video is shown. The client stops at Prerolling and when I close the
server, there is a message on the client's side:

ERROR: from element /GstPipeline:pipeline0/GstH264Parse:h264parse0: No
valid frames found before end of stream

How to make this tcpserversink example work?

Best regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160602/a5b61028/attachment.html>


More information about the gstreamer-devel mailing list