mirror of
https://github.com/vale981/doccam-pi
synced 2025-03-05 17:31:39 -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
|
stdoutLines: 20
|
||||||
})
|
})
|
||||||
.videoCodec('copy')
|
.videoCodec('copy')
|
||||||
|
.outputOptions(['-bufsize 50000k', '-tune film', config.customOutputOptions])
|
||||||
.on('start', function(commandLine) {
|
.on('start', function(commandLine) {
|
||||||
status.running = 0;
|
status.running = 0;
|
||||||
logger.log(importance[4], 'Spawned Ffmpeg with command: ' + commandLine);
|
logger.log(importance[4], 'Spawned Ffmpeg with command: ' + commandLine);
|
||||||
|
@ -82,7 +83,6 @@ let spawn = function() {
|
||||||
else
|
else
|
||||||
imDead(err.message, e);
|
imDead(err.message, e);
|
||||||
})
|
})
|
||||||
.outputOptions(['-bufsize 50000k', '-tune film', config.customOutputOptions])
|
|
||||||
.outputFormat('flv')
|
.outputFormat('flv')
|
||||||
.output('rtmp://a.rtmp.youtube.com/live2/' + config.key);
|
.output('rtmp://a.rtmp.youtube.com/live2/' + config.key);
|
||||||
status.error = -1;
|
status.error = -1;
|
||||||
|
|
Loading…
Add table
Reference in a new issue