Skip to content

GStreamer:Plugins:udpsink

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

Room A라는 글씨를 Sans 폰트 22사이즈로 왼쪽 위에 표시하여 전송하는 옵션 - 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