Trying to stream H264 over RTP
Craig Routledge
web at craigroutledge.com
Tue Apr 15 12:19:30 PDT 2014
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?
More information about the gstreamer-devel
mailing list