Audio/video stream recording forums (http://stream-recorder.com/forum/index.php)
-   Video stream recording (Adult streaming videos) (http://stream-recorder.com/forum/forumdisplay.php?f=40)
-   -  

Need help by capturebate-node

(http://stream-recorder.com/forum/showthread.php?t=20680)

jeff.kerby 03-07-2016 11:39 AM

Re: Need help by capturebate-node


 
Here 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)

c4170001 03-07-2016 05:48 PM

Re: Need help by capturebate-node


 
Quote:

Originally Posted by jeff.kerby (Post 83018)
Here is the errors after making that change:

Then the problem is your RTMPDump installation, I think (if the models start streaming and immediately close).

Jimmy77 03-18-2016 03:07 PM

Re: Need help by capturebate-node


 
since a few days I get this error messages


Code:

Unhandled rejection Error: read ECONNRESET
    at exports._errnoException (util.js:837:11)
    at TLSWrap.onread (net.js:544:26)

and


Code:

Unhandled rejection TypeError: fs.statsAsync is not a function
    at /root/capturebate-node-master/main.js:45:13
    at tryCatcher (/root/capturebate-node-master/node_modules/bluebird/js/main/util.js:26:23)
    at Function.Promise.attempt.Promise.try (/root/capturebate-node-master/node_modules/bluebird/js/main/method.js:31:24)
    at getFileSize (/root/capturebate-node-master/main.js:44:20)
    at /root/capturebate-node-master/main.js:129:12
    at tryCatcher (/root/capturebate-node-master/node_modules/bluebird/js/main/util.js:26:23)
    at Function.Promise.attempt.Promise.try (/root/capturebate-node-master/node_modules/bluebird/js/main/method.js:31:24)
    at ChildProcess.<anonymous> (/root/capturebate-node-master/main.js:128:15)
    at emitTwo (events.js:87:13)
    at ChildProcess.emit (events.js:172:7)
    at maybeClose (internal/child_process.js:817:16)
    at Socket.<anonymous> (internal/child_process.js:319:11)
    at emitOne (events.js:77:13)
    at Socket.emit (events.js:169:7)
    at Pipe._onclose (net.js:469:12)




sorry for bad english

scriptkid 09-01-2016 12:31 PM

Re: Need help by capturebate-node


 
Quote:

Unhandled rejection TypeError: fs.statsAsync is not a function
I had this exact error while also running Debian Jessie. I went through all the things in this thread, compiling rtmpdump with the ksv patch, installing the latest stable nodejs, etc.

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

supersonic80 09-02-2016 04:46 PM

Re: Need help by capturebate-node


 
This fork of capturbate-node does not have problems you've just described.

https://github.com/sstativa/capturebate-node

Main difference with original capturbate:
  • separate folders for capturing models and captured
  • auto-kill of "hanged" models
  • auto-remove of empty files


All times are GMT -6. The time now is 12:47 AM.