#4679·ZLMediaKit

[BUG] 在 hls 切片全量保存时,点播使用的 m3u8 文件被覆盖

作者: hhfb9639创建于 2026年3月4日更新于 2026年7月4日
标签意见建议

[ffmpeg]

FFmpeg executable path, supports relative path/absolute path

bin=/usr/bin/ffmpeg

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

cmd=%s -re -i %s -c:a 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 asynchronous due to long-term FFmpeg pull stream

内容来源: ZLMediaKit/ZLMediaKit