mirror of
https://github.com/vale981/doccam-pi
synced 2025-03-04 17:01:40 -05:00
hmm
This commit is contained in:
parent
1f8b5c4b8f
commit
5edf84b0c1
1 changed files with 1 additions and 1 deletions
2
main.js
2
main.js
|
@ -63,6 +63,7 @@ let spawn = function() {
|
|||
stdoutLines: 20
|
||||
})
|
||||
.videoCodec('copy')
|
||||
.outputOptions(['-bufsize 50000k', '-tune film', config.customOutputOptions])
|
||||
.on('start', function(commandLine) {
|
||||
status.running = 0;
|
||||
logger.log(importance[4], 'Spawned Ffmpeg with command: ' + commandLine);
|
||||
|
@ -82,7 +83,6 @@ let spawn = function() {
|
|||
else
|
||||
imDead(err.message, e);
|
||||
})
|
||||
.outputOptions(['-bufsize 50000k', '-tune film', config.customOutputOptions])
|
||||
.outputFormat('flv')
|
||||
.output('rtmp://a.rtmp.youtube.com/live2/' + config.key);
|
||||
status.error = -1;
|
||||
|
|
Loading…
Add table
Reference in a new issue