h.264 Video Streaming over TCP

Chuck Crisler ccrisler at mutualink.net
Mon Mar 4 06:21:54 PST 2013


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.

Chuck Crisler

On Mon, Mar 4, 2013 at 5:56 AM, Tim-Philipp Müller <t.i.m at zen.co.uk> wrote:

> On Mon, 2013-03-04 at 00:00 -0800, pfarmer wrote:
>
> > To a)
> > Server:
> >  gst-launch-1.0 videotestsrc horizontal-speed=5 ! x264enc
> tune="zerolatency"
> > threads=1 ! tcpserversink port=8554
> > Receiver:
> >  gst-launch-1.0 tcpclientsrc port=8554 host=localhost ! h264parse !
> > avdec_h264 ! xvimagesink
> >
> > *The receiver does not go from the Prerolling into the Playing state. I
> > somehow should to say to the piple to be live which does not need to
> > preroll. How can I do this?*
>
> Pass -v to gst-launch-1.0 and check what H264 caps are negotiated at the
> sender. It should be stream-format=byte-stream, not avc. If it's avc,
> add an .... ! video/x-h264,stream-format=byte-stream ! ...  after the
> encoder.
>
> Cheers
>  -Tim
>
> > To b)
> > Server:
> >  gst-launch-1.0 videotestsrc horizontal-speed=5 ! x264enc
> tune="zerolatency"
> > threads=1 ! rtph264pay config-interval=1 ! gdppay ! tcpserversink
> port=8554
> > Receiver:
> >  gst-launch-1.0 tcpclientsrc port=8554 host=localhost ! gdpdepay !
> > application/x-rtp, payload=96 ! rtpjitterbuffer ! rtph264depay !
> avdec_h264
> > ! xvimagesink
> >
> > This works. But well its somewhat in a roundabout way and has quiet some
> > overhead.
> >
> >
> > To c)
> > Server:
> >  gst-launch-1.0 videotestsrc horizontal-speed=5 ! x264enc
> tune="zerolatency"
> > threads=1 ! mpegtsmux ! tcpserversink port=8554
> > Receiver:
> >  gst-launch-1.0 tcpclientsrc port=8554 host=localhost  ! tsdemux !
> h264parse
> > ! avdec_h264 ! xvimagesink
> >
> > This works fine. Is it normal that there must be no tsparse before the
> > tsdemux?
> >
> >
> >
> > --
> > View this message in context:
> http://gstreamer-devel.966125.n4.nabble.com/h-264-Video-Streaming-over-TCP-tp4658747p4658856.html
> > Sent from the GStreamer-devel mailing list archive at Nabble.com.
> > _______________________________________________
> > gstreamer-devel mailing list
> > gstreamer-devel at lists.freedesktop.org
> > http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20130304/72583e0f/attachment-0001.html>


More information about the gstreamer-devel mailing list