Audio/video stream recording forums

Attention Visitor:
You may have to register or log in before you can post:
  • Click the register link to sign up.
  • Registered members please fill in the form below and click the "Log in" button.
To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Audio/video stream recording forums > Streaming media recording forum > Video stream recording (Adult streaming videos)
Register FAQ Members List Calendar Mark Forums Read

Reply Post New Thread
 
Thread Tools Display Modes
  #11  
Old 02-29-2016, 01:37 PM
jeff.kerby jeff.kerby is offline
Junior Member
 
Join Date: Feb 2016
Posts: 8
jeff.kerby is on a distinguished road
Default

Re: Need help by capturebate-node


I have no idea how to patch, I am running on Debian Jessie.
Reply With Quote
  #12  
Old 02-29-2016, 03:44 PM
c4170001 c4170001 is offline
Junior Member
 
Join Date: Jan 2015
Posts: 28
c4170001 is on a distinguished road
Default

Re: Need help by capturebate-node


Quote:
Originally Posted by jeff.kerby View Post
I have no idea how to patch, I am running on Debian Jessie.
Code:
su
cd /root
apt-get update
sudo apt-get install build-essential gcc make subversion git zlib1g zlib1g-dev zlibc libssl-dev binutils
git clone git://git.ffmpeg.org/rtmpdump
cd rtmpdump
wget https://github.com/downloads/K-S-V/Scripts/rtmpdump-2.4.zip
unzip -p rtmpdump-2.4.zip Patch.diff >Patch.diff

patch -p0 -i Patch.diff
make
sudo make install prefix=/usr

cp librtmp/librtmp.so.1 /usr/lib
cp librtmp/librtmp.so.1 /usr/lib64
cp librtmp/librtmp.so.1 /lib
You'll probably want to uninstall RTMPDump before doing that.

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.
Reply With Quote
  #13  
Old 02-29-2016, 04:23 PM
jeff.kerby jeff.kerby is offline
Junior Member
 
Join Date: Feb 2016
Posts: 8
jeff.kerby is on a distinguished road
Default

Re: Need help by capturebate-node


This 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
Reply With Quote
  #14  
Old 02-29-2016, 08:57 PM
c4170001 c4170001 is offline
Junior Member
 
Join Date: Jan 2015
Posts: 28
c4170001 is on a distinguished road
Default

Re: Need help by capturebate-node


Quote:
Originally Posted by jeff.kerby View Post
This 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
Did you install those packages? libssl-dev should contain the header files you need.
Reply With Quote
  #15  
Old 03-04-2016, 04:15 PM
jeff.kerby jeff.kerby is offline
Junior Member
 
Join Date: Feb 2016
Posts: 8
jeff.kerby is on a distinguished road
Default

Re: Need help by capturebate-node


Yes 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)
Reply With Quote
  #16  
Old 03-04-2016, 08:41 PM
c4170001 c4170001 is offline
Junior Member
 
Join Date: Jan 2015
Posts: 28
c4170001 is on a distinguished road
Default

Re: Need help by capturebate-node


Quote:
Originally Posted by jeff.kerby View Post
Yes 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)
What version of node are you using (node -v)? I think that function was changed in newer versions, so try an older one.
Reply With Quote
  #17  
Old 03-06-2016, 12:37 PM
jeff.kerby jeff.kerby is offline
Junior Member
 
Join Date: Feb 2016
Posts: 8
jeff.kerby is on a distinguished road
Default

Re: Need help by capturebate-node


Running v5.7.0 what should I be running?

Thanks
Reply With Quote
  #18  
Old 03-06-2016, 06:15 PM
c4170001 c4170001 is offline
Junior Member
 
Join Date: Jan 2015
Posts: 28
c4170001 is on a distinguished road
Default

Re: Need help by capturebate-node


Quote:
Originally Posted by jeff.kerby View Post
Running v5.7.0 what should I be running?

Thanks
I'm personally using a really old version, v0.12.7. If you don't use Node for anything else just grab something like that.
Reply With Quote
  #19  
Old 03-07-2016, 09:06 AM
jeff.kerby jeff.kerby is offline
Junior Member
 
Join Date: Feb 2016
Posts: 8
jeff.kerby is on a distinguished road
Default

Re: Need help by capturebate-node


OK installed with no luck, guess I will forget about running this as it seems to be not working.
Reply With Quote
  #20  
Old 03-07-2016, 09:51 AM
c4170001 c4170001 is offline
Junior Member
 
Join Date: Jan 2015
Posts: 28
c4170001 is on a distinguished road
Default

Re: Need help by capturebate-node


Quote:
Originally Posted by jeff.kerby View Post
OK installed with no luck, guess I will forget about running this as it seems to be not working.
Open up the main.js file with a text editor or whatever, go to line #45 and change statsAsync to statsSync and see if it works.
Reply With Quote
Reply Post New Thread
Tags: , , ,



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 10:42 AM.


Powered by All-streaming-media.com; 2006-2011
vB forum hacked with Zoints add-ons