KO
|
EN
gitlite — search
Search
#python
#java
#python3
#arduino
#golang
#machine-learning
#rust
#html
#flask
#javascript
#seismology
#nodejs
rtsprelay
★ 10
Open GitHub ↗
RTSP Relay Server
Download README (.md)
Explore Similar Repositories
codejargon
:
简明编程术语
trie
:
Exploring trie-structured data
roll20scripts
:
My scripts developted for roll20
web-audio-assembler
:
No description available.
redux-haiku
:
Redux side-effects using state diffs in subcribers
// repository documentation
Was this content helpful?
★ 0
(0 ratings)
Select Rating:
★
★
★
★
★
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
rtsprelay
?
Download (.md)
rtsprelay === RTSPrelay relays a video stream provided by an RTSP RECORD session to one or more PLAY sessions. It is intended as a proof of concept and has several limitations. * Only H264 video and MP4A-LATM audio streams are supported. * No authentication/authorization. ## dependencies * gstreamer-rtsp-server-1.0 * gstreamer-1.0 * gst-plugins-good-1.0 * gst-plugins-bad-1.0 Example pipelines additionally require: * gst-plugins-ugly-1.0 * gst-libav-1.0 ## build To build simply type `make`. This will create the binary `build/rtsprelay` ## run The binary `rtsprelay` accepts several arguments. Run with `-h` for details. ## test To test you must create a RECORD session and one or more PLAY sessions. The endpoint is dynamically created based on the first element in the uri path. You may need to update the rtsp location and encode/decode parameters for your environment. ### record A record pipeline. Video must be the media element 0. ``` gst-launch-1.0 autoaudiosrc ! audioconvert ! queue ! faac ! \ r. autovideosrc is-live=1 ! queue ! \ x264enc tune=zerolatency byte-stream=true threads=1 key-int-max=15 intra-refresh=true ! \ video/x-h264,width=640,height=480,framerate=10/1 ! \ rtspclientsink debug=1 latency=0 location=rtsp://127.0.0.1:8554/test/record name=r ``` ### play A play pipeline. ``` gst-launch-1.0 -v rtspsrc debug=1 latency=0 location=rtsp://127.0.0.1:8554/test name=r r. ! \ rtph264depay ! avdec_h264 ! videoconvert ! autovideosink r. ! \ rtpmp4adepay ! faad ! audioconvert ! autoaudiosink ```