Add audio and record RTP stream.

Andrew Borntrager andrew.borntrager1 at gmail.com
Thu Jul 7 12:31:41 UTC 2016


Hi all! I have a working pipeline running on a Raspberry Pi:

gst-launch-1.0 -v vl2src device=/dev/video0 ! queue ! video/x-h264,
width=1280, height=720, framerate=15/1 ! queue ! h264parse ! queue !
rtph264pay pt=127 config-interval=4 ! udpsink host=***********.ddns.net
port=5000

I have a windows laptop with this:

gst-launch-1.0  udpsrc caps="application/x-rtp, media=(string)video,
clock-rate=(int) 90000, encoding-name=(string)H264,
sampling=(string)YCbCr-4:4:4, depth=(string)8, width=(string)320,
height=(string)240, payload=(int)96, clock-base=(uint)4068866987,
seqnum-base=(uint)24582" port=5000 ! rtph264depay ! decodebin !queue!
autovideosink

This works very well. However, I would like to add audio (Im using a
Logitech C920 webcam). Also, i would like to record incoming stream
directly to laptop (possibly the "tee" command??). Any latency
optimizations would be greatly appreciated, even if it means momentary
degradation of video. I'm kind of a newbie, so copy/paste and inserting
into my pipeline is also greatly appreciated!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160707/93230097/attachment.html>


More information about the gstreamer-devel mailing list