<div dir="ltr"><div><div><div><div>The following will work like a charm<br><br>gst-launch-1.0 -v videotestsrc is-live=true ! x264enc ! h264parse ! matroskamux streamable=true ! queue ! tcpserversink host=0.0.0.0 port=5000 sync-method=2 recover-policy=keyframe<br>
<br>gst-launch-1.0 tcpclientsrc host=127.0.0.1 port=5000 ! decodebin ! autovideosink<br><br></div>The follwoing works .... but usually takes 4-20 seconds before it will play. Go figure. Maybe TS is still broken in GStreamer 1.3.2<br>
<br>gst-launch-1.0 -v videotestsrc is-live=true ! x264enc ! h264parse ! mpegtsmux ! tsparse ! queue ! tcpserversink host=0.0.0.0 port=5000 sync-method=2 recover-policy=keyframe<br><br>gst-launch-1.0 tcpclientsrc host=127.0.0.1 port=5000 ! decodebin ! autovideosink<br>
<br></div>Omit the tsparse in the server then the client will often take a longer time to play or never play at all, but then again, sometimes it works. Seems broken that way. Go figure.<br><br></div>best regards<br></div>
Peter MM<br><div><div><div><div><br><br></div></div></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jul 8, 2014 at 12:05 PM, Baby Octopus <span dir="ltr"><<a href="mailto:jagadishkamathk@gmail.com" target="_blank">jagadishkamathk@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I want to send TS packets over TCP and receive ta as follows<br>
<br>
*Sender*<br>
gst-launch-1.0 videotestsrc ! videoconvert ! x264enc ! mpegtsmux !<br>
tcpclientsink<br>
<br>
*Receiver*<br>
gst-launch-1.0 tcpserversrc ! decodebin ! videoconvert ! autovideosink<br>
<br>
I'm not sure if this would work since TCP is a stream based protocol. Will<br>
adding gdppay and gdpdepay help here? Any ideas pls :)<br>
<br>
~BO<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://gstreamer-devel.966125.n4.nabble.com/Sending-TS-over-TCP-tp4667832.html" target="_blank">http://gstreamer-devel.966125.n4.nabble.com/Sending-TS-over-TCP-tp4667832.html</a><br>
Sent from the GStreamer-devel mailing list archive at Nabble.com.<br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</blockquote></div><br></div>