Need help by capturebate-nodeHello i need help
is installed: https://github.com/SN4T14/capturebate-node (RTMPDump-ksv), Node.js and ffmpeg when I start the node main.js Code:
$ node main.js |
Re: Need help by capturebate-nodeWhat version of Node.js are you using (type node -v in your terminal)?
|
Re: Need help by capturebate-nodeQuote:
|
Re: Need help by capturebate-nodeHm. Is your RTMPDump install working correctly? Have you tested it?
|
Re: Need help by capturebate-nodeQuote:
on another PC Code:
capturebate-node started |
Re: Need help by capturebate-nodeI guess it doesn't matter. That second error is due to having, I presume, a newer Node version.
I think the error is in your RTMPDump installation. Are you running it on a Raspberry Pi or other Linux machine using Debian? |
Re: Need help by capturebate-nodeI tested on the Raspberry Pi (Raspbian Jessie) and Computer with Debian 8.0.0 (LXDE)
How do I install RTMPDump + Patch ? |
Re: Need help by capturebate-nodeI'll PM you instructions on how to successfully patch it on Wheezy.
|
Re: Need help by capturebate-nodeI am having the same error messages any help would be greatly appreciated.
[2016-02-28T094307] allissonhotbb stopped streaming. Unhandled rejection TypeError: fs.statsAsync is not a function at /home/jeff/CaptureBateNode/main.js:45:13 at tryCatcher (/home/jeff/CaptureBateNode/node_modules/bluebird/js/main/util.js:26:23) at Function.Promise.attempt.Promise.try (/home/jeff/CaptureBateNode/node_modules/bluebird/js/main/method.js: 31:24) at getFileSize (/home/jeff/CaptureBateNode/main.js:44:20) at /home/jeff/CaptureBateNode/main.js:129:12 at tryCatcher (/home/jeff/CaptureBateNode/node_modules/bluebird/js/main/util.js:26:23) at Function.Promise.attempt.Promise.try (/home/jeff/CaptureBateNode/node_modules/bluebird/js/main/method.js: 31:24) at ChildProcess.<anonymous> (/home/jeff/CaptureBateNode/main.js:128:15) at emitTwo (events.js:87:13) at ChildProcess.emit (events.js:172:7) at maybeClose (internal/child_process.js:821:16) at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5) |
Re: Need help by capturebate-nodeQuote:
|
Re: Need help by capturebate-nodeI have no idea how to patch, I am running on Debian Jessie.
|
Re: Need help by capturebate-nodeQuote:
Code:
su If that doesn't work, and you are using a Raspberry Pi, I can PM you instructions for setting it up on a fresh installation of Raspbian Wheezy, but that's the best I can do. |
Re: Need help by capturebate-nodeThis is what I get when I try to run the first make command:
make[1]: Entering directory '/home/jeff/rtmpdump/librtmp' gcc -Wall -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_OPENSSL -O2 -fPIC -c -o rtmp.o rtmp.c rtmp.c:60:25: fatal error: openssl/ssl.h: No such file or directory #include <openssl/ssl.h> ^ compilation terminated. <builtin>: recipe for target 'rtmp.o' failed make[1]: *** [rtmp.o] Error 1 make[1]: Leaving directory '/home/jeff/rtmpdump/librtmp' Makefile:76: recipe for target 'librtmp/librtmp.a' failed make: *** [librtmp/librtmp.a] Error 2 |
Re: Need help by capturebate-nodeQuote:
|
Re: Need help by capturebate-nodeYes this is what I get now:
[2016-03-04T111312] hot_cupid stopped streaming. Unhandled rejection TypeError: fs.statsAsync is not a function at /home/jeff/capturebate-node-master/main.js:45:13 at tryCatcher (/home/jeff/capturebate-node-master/node_modules/bluebird/js/main/util.js:26:23) at Function.Promise.attempt.Promise.try (/home/jeff/capturebate-node-master/node_modules/bluebird/js/main/me thod.js:31:24) at getFileSize (/home/jeff/capturebate-node-master/main.js:44:20) at /home/jeff/capturebate-node-master/main.js:129:12 at tryCatcher (/home/jeff/capturebate-node-master/node_modules/bluebird/js/main/util.js:26:23) at Function.Promise.attempt.Promise.try (/home/jeff/capturebate-node-master/node_modules/bluebird/js/main/me thod.js:31:24) at ChildProcess.<anonymous> (/home/jeff/capturebate-node-master/main.js:128:15) at emitTwo (events.js:100:13) at ChildProcess.emit (events.js:185:7) at maybeClose (internal/child_process.js:827:16) at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5) |
Re: Need help by capturebate-nodeQuote:
|
Re: Need help by capturebate-nodeRunning v5.7.0 what should I be running?
Thanks |
Re: Need help by capturebate-nodeQuote:
|
Re: Need help by capturebate-nodeOK installed with no luck, guess I will forget about running this as it seems to be not working.
|
Re: Need help by capturebate-nodeQuote:
|
Re: Need help by capturebate-nodeHere is the errors after making that change:
[2016-03-07T063818] dirtykym stopped streaming. Unhandled rejection TypeError: undefined is not a function at /home/jeff/capturebate-node-master/main.js:45:13 at tryCatcher (/home/jeff/capturebate-node-master/node_modules/bluebird/js/main/util.js:26:23) at Function.Promise.attempt.Promise.try (/home/jeff/capturebate-node-master/node_modules/bluebird/js/main/me thod.js:31:24) at getFileSize (/home/jeff/capturebate-node-master/main.js:44:20) at /home/jeff/capturebate-node-master/main.js:129:12 at tryCatcher (/home/jeff/capturebate-node-master/node_modules/bluebird/js/main/util.js:26:23) at Function.Promise.attempt.Promise.try (/home/jeff/capturebate-node-master/node_modules/bluebird/js/main/me thod.js:31:24) at ChildProcess.<anonymous> (/home/jeff/capturebate-node-master/main.js:128:15) at ChildProcess.emit (events.js:110:17) at maybeClose (child_process.js:1019:16) at Process.ChildProcess._handle.onexit (child_process.js:1091:5) |
Re: Need help by capturebate-nodeQuote:
|
Re: Need help by capturebate-nodesince a few days I get this error messages
Code:
Unhandled rejection Error: read ECONNRESET Code:
Unhandled rejection TypeError: fs.statsAsync is not a function sorry for bad english |
Re: Need help by capturebate-nodeQuote:
What ended up fixing the issue for me was changing fs.stats.Async to fs.stat on line 45 of the main.js file. I am no programmer by any means but I think this breaks capturbate-node's behavior of NOT creating a single flv file every time capturebate does a model scan and a model is online but also in private mode. A simple 'find Capture/ -size 0 -delete' gets rid of it. Also another related peculiarity that was going on for me is in the config.yml file, for the modelScanInterval, for my system it should be set in terms of milliseconds NOT seconds. I had it set to scan every 180 in the config.yml thinking it was 3 minutes but it was actually every 180 milliseconds. 180000 would get the effect of 3 minutes |
Re: Need help by capturebate-nodeThis fork of capturbate-node does not have problems you've just described.
https://github.com/sstativa/capturebate-node Main difference with original capturbate:
|
All times are GMT -6. The time now is 01:16 AM. |