#4715·ZLMediaKit

[BUG] ZLM 给海康 NVR 推流,NVR 没有输出图像

作者: yybingyybing创建于 2026年4月15日更新于 2026年8月13日
标签bug

[ffmpeg]

FFmpeg executable path, supports relative path/absolute path

bin = /usr/bin/ffmpeg

FFmpeg pull stream and push stream command template, through this template, you can set some parameters for re-encoding

cmd = %s -re -i %s -c: aac -strict -2 -ar 44100 -ab 48k -c: v libx264 -f flv %s

FFmpeg generate screenshot command, you can change the screenshot resolution or quality by modifying this configuration

snap = %s -i %s -y -f mjpeg -frames: v 1 -an %s

FFmpeg log path, if empty, no FFmpeg log will be generated

can be relative (relative to the executable directory) or absolute path

log = ./ffmpeg/ffmpeg.log

Automatic restart time (seconds), default is 0, that is, no automatic restart. Mainly to avoid the phenomenon of out of sync caused by long-term FFmpeg pull stream

内容来源: ZLMediaKit/ZLMediaKit