Skip to content

Instantly share code, notes, and snippets.

@vo
Last active May 22, 2020 09:47
Show Gist options
  • Select an option

  • Save vo/8266aeedf645b75f9632d07bffc73d33 to your computer and use it in GitHub Desktop.

Select an option

Save vo/8266aeedf645b75f9632d07bffc73d33 to your computer and use it in GitHub Desktop.

Revisions

  1. vo revised this gist Jun 15, 2018. 2 changed files with 3 additions and 0 deletions.
    1 change: 1 addition & 0 deletions display-video.sh
    Original file line number Diff line number Diff line change
    @@ -1 +1,2 @@
    #!/bin/bash
    gst-launch-1.0 udpsrc port=5801 ! 'application/x-rtp,payload=96,encoding-name=H264,clock-rate=(int)90000' ! rtph264depay ! h264parse ! avdec_h264 ! videoconvert ! autovideosink sync=false
    2 changes: 2 additions & 0 deletions start-video.sh
    Original file line number Diff line number Diff line change
    @@ -1 +1,3 @@
    #!/bin/bash
    sudo modprobe bcm2835-v4l2
    gst-launch-1.0 v4l2src device=/dev/video0 ! 'video/x-raw,framerate=15/1,width=1280,height=720' ! omxh264enc ! rtph264pay config-interval=1 pt=96 ! udpsink host=10.0.1.130 port=5801
  2. vo revised this gist Jun 15, 2018. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions display-video.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    gst-launch-1.0 udpsrc port=5801 ! 'application/x-rtp,payload=96,encoding-name=H264,clock-rate=(int)90000' ! rtph264depay ! h264parse ! avdec_h264 ! videoconvert ! autovideosink sync=false
  3. vo created this gist Jun 15, 2018.
    1 change: 1 addition & 0 deletions start-video.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    gst-launch-1.0 v4l2src device=/dev/video0 ! 'video/x-raw,framerate=15/1,width=1280,height=720' ! omxh264enc ! rtph264pay config-interval=1 pt=96 ! udpsink host=10.0.1.130 port=5801