frogeraie at gmail.com
Mon Oct 26 07:51:31 PDT 2015
I would like to build an application which receives on a client the
stream from a server webcam. I have been looking at the sdk tutorial-12
which displays a video file located on the net or on the local disc. Do
you think it might be possible to replace the playbin2 URI by an UDP
address of an incoming stream?
GStreamer works particularly well (no latency) with two udpsink and
udpsrc pipelines like that:
gst-launch-1.0 v4l2src ! video/x-raw,width=640,height=480 ! x264enc
tune=zerolatency byte-stream=true bitrate=3000 threads=2 ! h264parse
config-interval=1 ! rtph264pay ! udpsink host=<host> port=5200
gst-launch-1.0 udpsrc port=5200 !
application/x-rtp,encoding-name=H264,payload=96 ! rtph264depay !
h264parse ! avdec_h264 ! autovideosink
Are you aware of an example using gst-sdk for streaming a webcam?
More information about the gstreamer-devel