![]() ![]() Or GStreamer: gst-launch-1.0 rtspclientsink name=s location=rtsp://localhost:8554/mystream filesrc location=file.mp4 ! qtdemux name=d d.video_0 ! queue ! s.sink_0 d.audio_0 ! queue ! s.sink_1 For instance, you can publish a video/audio file with FFmpeg: ffmpeg -re -stream_loop -1 -i file.ts -c copy -f rtsp rtsp://localhost:8554/mystream if you need to use FFmpeg for an external command or anything else, you need to build a Docker image that contains both rtsp-simple-server and FFmpeg, by following instructions here. Please keep in mind that the Docker image doesn't include FFmpeg. This issue can be avoided by disabling the UDP transport protocol: docker run -rm -it -e RTSP_PROTOCOLS=tcp -p 8554:8554 -p 1935:1935 -p 8888:8888 aler9/rtsp-simple-server The -network=host flag is mandatory since Docker can change the source port of UDP packets for routing reasons, and this doesn't allow the server to find out the author of the packets. Ffmpeg rtsp realtime frame analysus windows#Compatible with Linux, Windows and macOS, does not require any dependency or interpreter, it's a single executableÄownload and extract a precompiled binary from the release page.Äownload and launch the image: docker run -rm -it -network=host aler9/rtsp-simple-server.Natively compatible with the Raspberry Pi Camera.Run external commands when clients connect, disconnect, read or publish streams.Reload the configuration without disconnecting existing clients (hot reloading).Query and control the server through an HTTP API.Redirect readers to other RTSP servers (load balancing).Authenticate users use internal or external authentication.Serve multiple streams at once in separate paths.For instance, it's possible to publish a stream with RTSP and read it with HLS Streams are automatically converted from a protocol to another.Each stream can have multiple video and audio tracks, encoded with any RTP-compatible codec, including H264, H265, VP8, VP9, MPEG2, MP3, AAC, Opus, PCM, JPEG.Proxy streams from other servers or cameras, always or on-demand. ![]() 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: protocol ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |