 Re: www.myfreecams.com: How can I record free sex web-cam chat (rtmp:// .flv)
I have a few questions i'm hoping someone can help me with. I'm trying to use the convert.js script from Horacio's v3.0.2 node, but I'm getting this error:
user ~/Videos/mfc-node-2 $ node convert.js
/home/user/Videos/mfc-node-2/convert.js:61
: [ // speex or something else'-i', srcFile,'-y','-hide_banner','-loglevel','panic','-movflags','+faststart','-c:v', 'copy','-c:a', 'aac','-b:a','64k',dstFile])}
^
SyntaxError: Unexpected token :
at new Script (vm.js:79:7)
at createScript (vm.js:251:10)
at Object.runInThisContext (vm.js:303:10)
at Module._compile (internal/modules/cjs/loader.js:656:28)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:699:10)
at Module.load (internal/modules/cjs/loader.js:598:32)
at tryModuleLoad (internal/modules/cjs/loader.js:537:12)
at Function.Module._load (internal/modules/cjs/loader.js:529:3)
at Function.Module.runMain (internal/modules/cjs/loader.js:741:12)
at startup (internal/bootstrap/node.js:285:19)
This is my first time trying to use the convert script, so I'm not sure what I'm doing wrong, if anything.
Also, different question, regarding the HD resolution in the main.js script using livestreamer with MFC, I altered a line in order to have it record at 960x540 instead of 1280x720 to work better with my slow internet, like so:
line 207: if (model.camserv > 1544) {captureProcess = childProcess.spawn(dlProgram, ['-Q','hlsvariant://' + hlsUrla,'best','--stream-sorting-excludes=>550p,>1500k','-o',path.join(captureDirectory, filename)])}
It works fine for the resolution, changing it to 960x540 and lowers the bitrate a bit, but with the rooms i experimented on the bitrate is still above 1500k. For testing purposes I tried lowering the 1500k number to 500k, 50k, even 1k, but there's been no change in bitrate. Bitrate stays between 1553k & 2143k, depending on which model streams I tested it on. Would there be a way to actually lower the bitrate more this way, or would I have to try lowering the resolution even further in order to effect the bitrate? Because I notice the bitrate is lower when I changed it from 1280x720 (2557k) to 960x540 (1553k).
Also the index.html file won't load on my browser (Firefox). I'm guessing this is the spinner page thing for HD cams to select rooms to record from the browser. For me it just shows the circle in the middle that keeps spinning but doesn't load. Not sure what's causing that.
|