Last active
June 9, 2017 20:24
-
-
Save Zubnix/434979ec9772c9652d216f427abf68e2 to your computer and use it in GitHub Desktop.
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 videotestsrc ! videoconvert ! video/x-raw,format=RGB,width=320 ! videoconvert ! video/x-raw,format=I420,width=320 ! x264enc ! rtph264pay ! rtpstreampay ! fdsink |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Generates an example rgb video like one can expect from an application buffer, and subsequently encodes it to h264, wrapped in RTP for real-time streaming, prefixed with an rtp frame length to reliably read it from the std out stream.