Browse Source

Signed-off-by: caner <5658514@qq.com>

caner 3 years ago
parent
commit
05ea1ab641
2 changed files with 3 additions and 0 deletions
  1. 2 0
      recv.sh
  2. 1 0
      send.sh

+ 2 - 0
recv.sh

@@ -0,0 +1,2 @@
+# dfbvideosink ! videoscale ! video/x-raw,width=1920,height=1080 autovideosink
+gst-launch-1.0 -v udpsrc port=5200 ! application/x-rtp, media=video, clock-rate=90000, payload=96 ! rtpjpegdepay ! jpegdec ! videoconvert ! clockoverlay time-format="%D %H:%M:%S" ! dfbvideosink

+ 1 - 0
send.sh

@@ -0,0 +1 @@
+gst-launch-1.0 libcamerasrc ! video/x-raw, width=640, height=480, framerate=30/1 ! videoconvert ! jpegenc ! rtpjpegpay ! udpsink host=127.0.0.1 port=5200