From 2a87b98b8f568807b80950ade30ec9cf17a4429a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=8F=E6=A5=9A?= <771730766@qq.com> Date: Wed, 15 Apr 2020 09:33:11 +0800 Subject: [PATCH] =?UTF-8?q?Updated=20ZLMediaKit=E6=8E=A8=E6=B5=81=E6=B5=8B?= =?UTF-8?q?=E8=AF=95=20(markdown)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ZLMediaKit推流测试.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ZLMediaKit推流测试.md b/ZLMediaKit推流测试.md index 4d0a5ff..493ba3b 100644 --- a/ZLMediaKit推流测试.md +++ b/ZLMediaKit推流测试.md @@ -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 ``` ## 观察日志