This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Start gstreamer on host with frame grabber: | |
gst-launch-1.0 -v decklinkvideosrc device-number=0 ! deinterlace fields=top ! videoconvert ! x264enc tune=zerolatency bitrate=10000 speed-preset=superfast ! rtph264pay ! udpsink port=50000 host=10.162.34.96 | |
# IP address is for the receiving host. On receiving host: | |
gst-launch-1.0 -v udpsrc port=50000 ! "application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)H264, payload=(int)96" ! rtph264depay ! h264parse ! decodebin ! videoconvert ! autovideosink sync=false | |
# Install | |
sudo apt install gstreamer1.0-rtsp gstreamer1.0-libav gstreamer1.0-plugins-ugly |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git config --global url."[email protected]:".insteadOf https://github.com/ | |
git config --global url."git://".insteadOf https:// |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Script used to monitor new block device (SD card) and copy new dVRK | |
# firmware files automatically | |
# | |
# Anton Deguet | |
# | |
import pyudev | |
import subprocess | |
import time |