Ullaakut / RTSPAllTheThings

Deprecated RTSP media server -- Use github.com/aler9/rtsp-simple-server instead.
Apache License 2.0
278 stars 72 forks source link

added support for custom gstreamer pipeline #61

Closed enricomarchesin closed 6 years ago

enricomarchesin commented 6 years ago

Users can now supply a fully customized gstreamer pipeline, using both a command line option (-g) and an environment variable (GST_PIPELINE).

Many interesting opportunities open, for example the possibility to stream a file without transcoding using a command like this:

docker run --rm -e INPUT="/tmp/video.mp4" -e RTSP_PORT=18554 -e "filesrc location=/tmp/video.mp4 ! qtdemux ! video/x-h264 ! rtph264pay pt=96 name=pay0" -v "/path/to/your/video:/tmp/video.mp4" -p 18554:18554 ullaakut/rtspatt
enricomarchesin commented 6 years ago

Thanks to you @Ullaakut for the great work done here: you've build a very handy tool! 👏