mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-02-18 22:30:53 +08:00
Updated ZLMediaKit推流测试 (markdown)
@@ -17,7 +17,10 @@ ffmpeg -re -i "/path/to/test.mp4" -vcodec h264 -acodec aac -f flv rtmp://127.0.0
|
||||
|
||||
- 3、使用rtp方式推流
|
||||
```bash
|
||||
# h264推流
|
||||
ffmpeg -re -i "/path/to/test.mp4" -vcodec h264 -acodec aac -f rtp_mpegts rtp://127.0.0.1:10000
|
||||
# h265推流
|
||||
ffmpeg -re -i "/path/to/test.mp4" -vcodec h265 -acodec aac -f rtp_mpegts rtp://127.0.0.1:10000
|
||||
```
|
||||
|
||||
## 观察日志
|
||||
|
||||
Reference in New Issue
Block a user