Last active
September 23, 2015 17:39
-
-
Save tetkuz/8096d71acac8a2457531 to your computer and use it in GitHub Desktop.
RTP Stream Pipeline
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
#!/bin/sh | |
gst-launch-1.0 -v \ | |
rtpbin name=rtpbin \ | |
udpsrc \ | |
caps="application/x-rtp,media=video,clock-rate=90000,encoding-name=H264" \ | |
port=5555 \ | |
! rtpbin.recv_rtp_sink_0 \ | |
rtpbin. \ | |
! rtph264depay ! h264parse \ | |
! avdec_h264 ! videoconvert \ | |
! ximagesink |
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
#!/bin/sh | |
gst-launch-1.0 -v \ | |
filesrc location=softboy.avi ! avidemux \ | |
! avdec_mpeg4 ! videorate ! video/x-raw,framerate=10/1 \ | |
! x264enc ! rtph264pay config-interval=3 \ | |
! udpsink force-ipv4=true port=5555 host=127.0.0.1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment