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