# 轻量级RTSP服务器 **Repository Path**: yangtf/yang-rtsp-server ## Basic Information - **Project Name**: 轻量级RTSP服务器 - **Description**: 一个轻量级的RTSP服务器。 - **Primary Language**: Go - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2024-09-19 - **Last Updated**: 2024-09-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 功能简介 一款非常简单的RTSP服务器,支持RTSP推流,支持RTSP播放。 # 使用方法 ## 1. 运行 ```shell $ go mod tidy $ go run . ``` ## 2. 推流 ```shell $ ffmpeg -re -i test.mp4 -c copy -f rtsp rtsp://127.0.0.1:8554/test ``` ## 3. 播放 ```shell $ ffplay rtsp://127.0.0.1:8554/test ``` ## 5. 下载 Windows 可以在右侧发行版中,找到下载地址。