mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-07-09 07:20:03 +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方式推流
|
- 3、使用rtp方式推流
|
||||||
```bash
|
```bash
|
||||||
|
# h264推流
|
||||||
ffmpeg -re -i "/path/to/test.mp4" -vcodec h264 -acodec aac -f rtp_mpegts rtp://127.0.0.1:10000
|
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