Quote:
Originally Posted by Syl0pt
Yeah, i forgot to change the config.yml settings from rtmp to ls. It's up and running now. But I see that the .ts option for livestreamer is gone now. I'll have to get used to that lol.
And it's cool that it works with widescreen cams now, but from what I see the stream is downgraded a bit. For instance on ctbrec I'm getting a widescreen model at 1280x720 at 3568kb/s, yet on mfc-node-2 that same model is 848x476 at 1660kb/s. Still widescreen but the quality is degraded a bit. Is there a way to fix that or is that the max for your node?
Still happy to have it up and working again tho.
|
You can edit main.js lines 224,225,242 and 243 like this:
Code:
224 if (config.downloadProgram == 'ls') {fileFormat = 'ts'}
225 if (config.downloadProgram == 'sl') {fileFormat = 'ts'}
242 if (config.downloadProgram == 'ls') {captureProcess = childProcess.spawn('livestreamer', ['-Q','hlsvariant://' + hlsUrl,'best','--stream-sorting-excludes=>950p,>5564k','-o',path.join(captureDirectory, filename)])}
243 if (config.downloadProgram == 'sl') {captureProcess = childProcess.spawn('streamlink', ['-Q','hlsvariant://' + hlsUrl,'best','--stream-sorting-excludes=>950p,>5564k','-o',path.join(captureDirectory, filename)])}
... but then you risk getting unwanted 960p sometimes!