Closed enricomarchesin closed 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).
-g
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
Thanks to you @Ullaakut for the great work done here: you've build a very handy tool! 👏
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: