Tutorial básico sobre gstreamer
Exibir Video de teste
gst-launch-1.0 --version
# exemplo básico de teste
gst-launch-1.0 videotestsrc \
! autovideosink
# exemplo básico de parãmetro em plugin
https://thiblahute.github.io/GStreamer-doc/videotestsrc-1.0/index.html?gi-language=c
gst-launch-1.0 -v videotestsrc pattern=snow \
! video/x-raw,width=1280,height=720 \
! autovideosink
# envia o fluxo via UDP
gst-launch-1.0 videotestsrc \
! decodebin \
! x264enc \
! rtph264pay \
! udpsink host=localhost port=7001
# recebe um fluxo via UDP
gst-launch-1.0 \
udpsrc port=7001 caps = "application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)H264, payload=(int)96" \
! rtph264depay \
! decodebin \
! videoconvert \
! autovideosink
export GST_DEBUG="*:6"