Trying to stream H264 over RTP
Chuck Crisler
ccrisler at mutualink.net
Tue Apr 15 12:36:18 PDT 2014
To start debugging...simplify. Take out the jitter buffer. Specify the host
in addition to the port for both pipelines. It might force IPv4 vs. IPv6
(there have been issues). Set higher logging levels and/or get a packet
capture to see if the problem(s) is in the transmit or receive.
On Tue, Apr 15, 2014 at 3:19 PM, Craig Routledge <web at craigroutledge.com>wrote:
> Hello everyone,
>
> I'd like to send a video stream created by a Logitech HD ProWebcam C920
> to another computer. The camera generates its own H264 stream. There
> have been similar posts on the mailing list before, but I couldn't find
> anything that seemed to work.
>
> I started by testing gstreamer's ability to parse and display the stream.
>
> gst-launch-1.0 v4l2src ! video/x-h264,width=640,height=
> 480,framerate=30/1
> ! h264parse ! avdec_h264 ! xvimagesink sync=false
>
> which works fine.
>
>
> I then tried to stream over a network using RTP, sending and receiving on
> the same computer,
>
> gst-launch-1.0 v4l2src ! video/x-h264,width=640,height=
> 480,framerate=30/1
> ! rtph264pay ! udpsink port=8554
>
> and, in another terminal window,
>
> gst-launch-1.0 udpsrc port=8554 ! application/x-rtp ! rtpjitterbuffer
> ! rtph264depay ! h264parse ! avdec_h264 ! xvimagesink sync=false
>
> This doesn't generate any errors, but doesn't display anything either.
> Here is the standard output for both commands,
>
> Setting pipeline to PAUSED ...
> Pipeline is live and does not need PREROLL ...
> Setting pipeline to PLAYING ...
> New clock: GstSystemClock
>
> So, what am I doing wrong?
> _______________________________________________
> 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/20140415/77d04869/attachment.html>
More information about the gstreamer-devel
mailing list