mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-02-13 20:00:51 +08:00
Updated ZLMediaKit推流测试 (markdown)
@@ -3,7 +3,10 @@ ZLMediaKit支持rtsp/rtmp/rtp推流,一般通常使用obs/ffmpeg推流测试
|
||||
|
||||
- 1、使用rtsp方式推流
|
||||
```bash
|
||||
# h264推流
|
||||
ffmpeg -re -i "/path/to/test.mp4" -vcodec h264 -acodec aac -f rtsp -rtsp_transport tcp rtsp://127.0.0.1/live/test
|
||||
# h265推流
|
||||
ffmpeg -re -i "/path/to/test.mp4" -vcodec h265 -acodec aac -f rtsp -rtsp_transport tcp rtsp://127.0.0.1/live/test
|
||||
```
|
||||
|
||||
- 2、使用rtmp方式推流
|
||||
|
||||
Reference in New Issue
Block a user