rtsp-simple-server | use RTSP / RTMP / LL-HLS / WebRTC server | Video Utils library

 by   aler9 Go Version: v0.21.6 License: MIT

kandi X-RAY | rtsp-simple-server Summary

kandi X-RAY | rtsp-simple-server Summary

rtsp-simple-server is a Go library typically used in Video, Video Utils applications. rtsp-simple-server has no bugs, it has no vulnerabilities, it has a Permissive License and it has medium support. You can download it from GitHub.

rtsp-simple-server is a ready-to-use and zero-dependency server and proxy that allows users to publish, read and proxy live video and audio streams through various protocols:.

            kandi-support Support

              rtsp-simple-server has a medium active ecosystem.
              It has 5668 star(s) with 847 fork(s). There are 99 watchers for this library.
              There were 8 major release(s) in the last 12 months.
              There are 82 open issues and 709 have been closed. On average issues are closed in 15 days. There are 7 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of rtsp-simple-server is v0.21.6

            kandi-Quality Quality

              rtsp-simple-server has 0 bugs and 0 code smells.

            kandi-Security Security

              rtsp-simple-server has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              rtsp-simple-server code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              rtsp-simple-server is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              rtsp-simple-server releases are available to install and integrate.
              Installation instructions are not available. Examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of rtsp-simple-server
            Get all kandi verified functions for this library.

            rtsp-simple-server Key Features

            No Key Features are available at this moment for rtsp-simple-server.

            rtsp-simple-server Examples and Code Snippets

            No Code Snippets are available at this moment for rtsp-simple-server.

            Community Discussions


            Is it possible to host multiple aler9/rtsp-simple-server on the same machine
            Asked 2021-May-12 at 22:27

            I am using this command to start a server on my linux machine:

            docker run -d --rm -it --network=host aler9/rtsp-simple-server

            And this command to connect an rtsp stream

            docker run -v $(pwd):$(pwd) --network=host linuxserver/ffmpeg:arm64v8-latest -re -stream_loop -1 -i $(pwd)/sample.mp4 -c copy -f rtsp rtsp://localhost:8554/mystream

            Is it possible to start a second rtsp server and connect rtsp streams to this second server.

            What I am trying to do is to simulate multiple cameras with one sub stream for each camera



            Answered 2021-May-11 at 22:41

            Try running multiple rtsp servers like so:

            Source https://stackoverflow.com/questions/66789521


            Connection to tcp://localhost:8554?timeout=0 failed: Cannot assign requested address
            Asked 2021-Mar-31 at 18:08

            I have two docker containers. The first one I run using this command:



            Answered 2021-Mar-31 at 18:08

            You should use rtsp_simple_server:8554 instead of localhost.

            Since in the container called rtsp_streaming, localhost means rtsp_streaming and in rtsp_simple_server, localhost means rtsp_simple_server`. So you should use the container's name.

            Source https://stackoverflow.com/questions/66891735


            FFMPEG keeping quality when reducing FPS and streaming over RTSP with rtsp-simple-server
            Asked 2021-Jan-25 at 12:11

            I'm using the rtsp-simple-server (https://github.com/aler9/rtsp-simple-server) and feed the RTSP Server with a FFMPEG stream.

            I use a docker compose file to start the stream:



            Answered 2021-Jan-25 at 12:11

            When you say, "the quality of the video becomes pretty bad," I guess you mean your transcoded output video has a lot of block artifacts in it. That's generally because you haven't allocated enough bandwidth to your output video stream. Without enough output bandwidth to play with, the coder quantizes and eliminates higher-frequency stuff so it looks nasty.

            You didn't mention what sort of program material you have. But it's worth mentioning this: in material with lots of motion (think James Bond flick) it doesn't save much bandwidth to reduce the frame rate: we're coding the difference between successive frames. The longer you wait between frames, the more differences there are to code (and the harder the motion estimator has to work). If you radically reduce the frame rate (from 24 to 2 for example) it gets much worse.

            Talking-heads material is generally less sensitive to framerate.

            You might try setting your bandwidth -- your output bitrate -- explicitly like this.

            Source https://stackoverflow.com/questions/65852931


            How to properly format FFmpeg's -vf options for both text and snapshots?
            Asked 2020-Aug-20 at 17:38

            I've got this working:



            Answered 2020-Aug-20 at 17:38

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network


            No vulnerabilities reported

            Install rtsp-simple-server

            You can download it from GitHub.


            https://github.com/aler9/gortsplib (RTSP library used internally)https://github.com/pion/sdp (SDP library used internally)https://github.com/pion/rtcp (RTCP library used internally)https://github.com/pion/rtp (RTP library used internally)https://github.com/notedit/rtmp (RTMP library used internally)https://github.com/flaviostutz/rtsp-relayRTSP 1.0 https://tools.ietf.org/html/rfc2326RTSP 2.0 https://tools.ietf.org/html/rfc7826HTTP 1.1 https://tools.ietf.org/html/rfc2616https://github.com/golang-standards/project-layout
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
          • HTTPS


          • CLI

            gh repo clone aler9/rtsp-simple-server

          • sshUrl


          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link