From 43153ab4eb51ae2febb0c374c1e5e0053c0bf316 Mon Sep 17 00:00:00 2001 From: shikong <919411476@qq.com> Date: Wed, 17 Jan 2024 09:48:03 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9B=9E=E6=94=BE=E8=A7=86=E9=A2=91=E6=8B=89?= =?UTF-8?q?=E5=8F=96=E5=8F=82=E6=95=B0/=E9=85=8D=E7=BD=AE=E8=B0=83?= =?UTF-8?q?=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/application.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gb28181-mocking-starter/src/main/resources/application.yml b/gb28181-mocking-starter/src/main/resources/application.yml index 9190a50..304f74b 100644 --- a/gb28181-mocking-starter/src/main/resources/application.yml +++ b/gb28181-mocking-starter/src/main/resources/application.yml @@ -77,8 +77,8 @@ proxy: # 代理的视频接口地址, 用于获取历史视频 # 参数 device_id, begin_time, end_time #url: http://192.168.2.3:18183 - url: http://10.10.10.20:18183 - #url: http://127.0.0.1:18183 +# url: http://10.10.10.20:18183 + url: http://192.168.1.241:28181 ffmpeg-support: task: # 最大同时推流任务数, <= 0 时不做限制 @@ -98,14 +98,14 @@ ffmpeg-support: rtp: #input: -thread_queue_size 128 -re -i http://192.168.3.12:5081/live/test.live.flv #input: -re -i - input: -i + input: -re -i #output: -tune zerolatency -vcodec libx264 -acodec aac -preset ultrafast -vf scale=640:-1 -f flv #rtp_mpegts #output: -vcodec libx264 -acodec aac -vf scale=640:-1 -f rtp_mpegts # -rtsp_transport tcp # 拉取4倍速流文件 还原速率 #output: -filter:v "setpts=4.0*PTS" -tune zerolatency -vcodec libx264 -acodec aac -preset ultrafast -vf scale=640:-1 -f flv # 下载 正常速率 #output: -r 30 -tune zerolatency -vcodec libx264 -acodec aac -preset ultrafast -vf scale=640:-1 -f flv - output: -r 30 -vcodec libx264 -acodec aac -filter:v "setpts=1*PTS" -preset ultrafast -vf scale=640:-1 -flvflags no_duration_filesize -f flv + output: -r 30 -vcodec libx264 -acodec aac -filter:v "setpts=1*PTS" -preset ultrafast -flvflags no_duration_filesize -f flv #download: -i E:\Repository\other\happytime-gb28181-device-x64\666.mp4 -filter:v "setpts=4.0*PTS" download: -i download-speed: 4.0