Question on streaming

Nicolas Dufresne nicolas at ndufresne.ca
Mon Mar 27 17:17:02 UTC 2017


Le lundi 27 mars 2017 à 11:35 -0400, Jerry Geis a écrit :
> gst-launch-1.0 v4l2src device=/dev/video0 ! videoconvert ! video/x-
> raw,width=1920,height=1080 ! videoconvert ! vp8enc cpu-used=16 end-
> usage=vbr target-bitrate=1024000 token-partitions=3 static-
> threshold=1000 min-quantizer=0 max-quantizer=63 threads=2 ! rtpvp8pay
> ! udpsink host=192.168.101.186 port=5000
> 
> Which leaves me with two questions:
> 
> 1) What is the command to "view" the streaming out on clients?

Note that without a deadline= on vp8enc, your stream will likely not be
real-time, hence not viewable. VBR is also not the ideal choice for RTP
streaming.

To view:

  udpsrc port=5000 caps=... ! rtpjitterbuffer ! rtpvp8depay ! ...

You have to copy the caps info from the first pipeline. Use -v for
that.

> 
> 2) How many clients can connect and view the stream at one time.

You are using unicast, so 1. The the client requires to have ip
192.168.101.186. Maybe you are looking for gst-rtsp-server library ?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20170327/98f6dd8c/attachment.sig>


More information about the gstreamer-devel mailing list