Tim, how does the -v option work on gst-launch? I haven't seen anything that seems to relate to that in the elements I have worked with but I know that it generates output that otherwise isn't displayed.<br><br>Chuck Crisler<br>
<br><div class="gmail_quote">On Mon, Mar 4, 2013 at 5:56 AM, Tim-Philipp Müller <span dir="ltr"><<a href="mailto:t.i.m@zen.co.uk" target="_blank">t.i.m@zen.co.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On Mon, 2013-03-04 at 00:00 -0800, pfarmer wrote:<br>
<br>
> To a)<br>
> Server:<br>
> gst-launch-1.0 videotestsrc horizontal-speed=5 ! x264enc tune="zerolatency"<br>
> threads=1 ! tcpserversink port=8554<br>
> Receiver:<br>
> gst-launch-1.0 tcpclientsrc port=8554 host=localhost ! h264parse !<br>
> avdec_h264 ! xvimagesink<br>
><br>
> *The receiver does not go from the Prerolling into the Playing state. I<br>
> somehow should to say to the piple to be live which does not need to<br>
> preroll. How can I do this?*<br>
<br>
</div>Pass -v to gst-launch-1.0 and check what H264 caps are negotiated at the<br>
sender. It should be stream-format=byte-stream, not avc. If it's avc,<br>
add an .... ! video/x-h264,stream-format=byte-stream ! ... after the<br>
encoder.<br>
<br>
Cheers<br>
<span class="HOEnZb"><font color="#888888"> -Tim<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
> To b)<br>
> Server:<br>
> gst-launch-1.0 videotestsrc horizontal-speed=5 ! x264enc tune="zerolatency"<br>
> threads=1 ! rtph264pay config-interval=1 ! gdppay ! tcpserversink port=8554<br>
> Receiver:<br>
> gst-launch-1.0 tcpclientsrc port=8554 host=localhost ! gdpdepay !<br>
> application/x-rtp, payload=96 ! rtpjitterbuffer ! rtph264depay ! avdec_h264<br>
> ! xvimagesink<br>
><br>
> This works. But well its somewhat in a roundabout way and has quiet some<br>
> overhead.<br>
><br>
><br>
> To c)<br>
> Server:<br>
> gst-launch-1.0 videotestsrc horizontal-speed=5 ! x264enc tune="zerolatency"<br>
> threads=1 ! mpegtsmux ! tcpserversink port=8554<br>
> Receiver:<br>
> gst-launch-1.0 tcpclientsrc port=8554 host=localhost ! tsdemux ! h264parse<br>
> ! avdec_h264 ! xvimagesink<br>
><br>
> This works fine. Is it normal that there must be no tsparse before the<br>
> tsdemux?<br>
><br>
><br>
><br>
> --<br>
> View this message in context: <a href="http://gstreamer-devel.966125.n4.nabble.com/h-264-Video-Streaming-over-TCP-tp4658747p4658856.html" target="_blank">http://gstreamer-devel.966125.n4.nabble.com/h-264-Video-Streaming-over-TCP-tp4658747p4658856.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>
<br>
<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>
</div></div></blockquote></div><br>