gstreamer tips 2

Table of Contents

install gstreamer and plugins

sudo apt-get install -y gstreamer1.0-tools gstreamer1.0-nice gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly gstreamer1.0-plugins-good libgstreamer1.0-dev git libglib2.0-dev libgstreamer-plugins-bad1.0-dev libsoup2.4-dev libjson-glib-dev

send/receive rtp over rtp and udp


gst-launch-1.0 videotestsrc ! video/x-raw, width=640, height=360 ! queue ! vpuenc_h264 ! rtph264pay ! udpsink host=192.168.60.5 port=5555

gst-launch-1.0 udpsrc port=5555 \
      ! application/x-rtp, encoding-name=H264, payload=96 \
      ! queue \
      ! rtph264depay  \
      ! decodebin  \
      ! autovideosink

play mp4

gst-launch-1.0 filesrc location=test.mp4 ! decodebin ! nvvidconv ! videoconvert ! xvimagesink

reference

Comments |0|

Legend *) Required fields are marked
**) You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>
Category: Uncategorized