Merge branch 'dev' into 'dev'

Fix typo

See merge request Shinobi-Systems/Shinobi!526
patrol-onvif-ptz-gamepad
Moe 2024-12-18 03:20:04 +00:00
commit 8ad15431e2
1 changed files with 1 additions and 1 deletions

View File

@ -220,7 +220,7 @@ module.exports = (s,config,lang) => {
}
const temporaryImageFile = streamDir + s.gid(5) + '.jpg'
const ffmpegCmd = splitForFFMPEG(`-y -loglevel warning -re ${inputOptions.join(' ')} -i "${url}" ${outputOptions.join(' ')} -f mjpeg -an -frames:v 1 "${temporaryImageFile}"`)
const snapProcess = spawn(onfig.ffmpegDir, ffmpegCmd, {detached: true})
const snapProcess = spawn(config.ffmpegDir, ffmpegCmd, {detached: true})
snapProcess.stderr.on('data',function(data){
// s.debugLog(data.toString())
})