Created
February 4, 2017 16:51
-
-
Save rroohhh/c27e880ccaef862d727a920d19d8f9f9 to your computer and use it in GitHub Desktop.
gstreamer video udp
This file contains 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
gst-launch-1.0 -v udpsrc uri=udp://239.1.1.1:5000 caps="application/x-rtp, media=(string)video, clock-rate=(int)90000,encoding-name=(string)H264,packetization-mode=(string)1,profile-level-id=(string)640028,payload=(int)96, a-framerate=(string)25" ! rtph264depay ! h264parse ! vaapidecode ! fpsdisplaysink video-sink=xvimagesink |
This file contains 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
xrandr --addmode VIRTUAL1 1920x1080 | |
xrandr --output VIRTUAL1 --right-of eDP1 | |
gst-launch-1.0 -v -e ximagesrc use-damage=0 startx=1920 ! video/x-raw,format=BGRx,framerate=25/1 ! vaapipostproc format=i420 ! video/x-raw,format=I420,framerate=25/1 ! vaapih264enc dct8x8=true ! h264parse ! rtph264pay ! udpsink host=239.1.1.1 port=5000 auto-multicast=true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment