fix typo
parent
8b40f7f38a
commit
9e5af057a8
|
|
@ -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())
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in New Issue