Skip to content
Search

GStreamer:Plugins:udpsink

lastmod 2023-01-20created 2023-01-201 edits

Examples

Mjpeg:

gst-launch-1.0 -v v4l2src ! video/x-raw,width=640,height=480 ! videoconvert ! jpegenc ! rtpjpegpay ! udpsink host=127.0.0.1 port=5000

VP8:

gst-launch-1.0 -v v4l2src ! video/x-raw,width=640,height=480 ! videoconvert  ! vp8enc ! rtpvp8pay ! udpsink host=127.0.0.1 port=5000

Mpeg-2:

gst-launch-1.0 -v v4l2src ! video/x-raw,width=640,height=480 ! videoconvert ! avenc_mpeg4 ! rtpmp4vpay config-interval=3 ! udpsink host=127.0.0.1 port=5000

h264:

gst-launch-1.0 -v v4l2src ! video/x-raw,width=640,height=480 ! videoconvert ! x264enc ! rtph264pay ! udpsink host=127.0.0.1 port=5000

Options to display the text "Room A" in the top-left corner in Sans font, size 22, and transmit it - h264

gst-launch-1.0 -v v4l2src !  video/x-raw,width=640,height=480 ! textoverlay text="Room A" valignment=top halignment=left font-desc="Sans, 22" ! videoconvert ! x264enc ! rtph264pay ! udpsink host=127.0.0.1 port=5000

See also

Favorite site

author Zer0 sitemap