Audio/video stream recording forums
|
Attention Visitor: |
You may have to register or log in before you can post:
|
|
|
Thread Tools | Display Modes |
#11
|
|||
|
|||
Re: Need help by capturebate-nodeI have no idea how to patch, I am running on Debian Jessie.
|
#12
|
|||
|
|||
Re: Need help by capturebate-nodeCode:
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 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. |
#13
|
|||
|
|||
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 |
#14
|
|||
|
|||
Re: Need help by capturebate-nodeQuote:
|
#15
|
|||
|
|||
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) |
#16
|
|||
|
|||
Re: Need help by capturebate-nodeQuote:
|
#17
|
|||
|
|||
Re: Need help by capturebate-nodeRunning v5.7.0 what should I be running?
Thanks |
#18
|
|||
|
|||
Re: Need help by capturebate-nodeI'm personally using a really old version, v0.12.7. If you don't use Node for anything else just grab something like that.
|
#19
|
|||
|
|||
Re: Need help by capturebate-nodeOK installed with no luck, guess I will forget about running this as it seems to be not working.
|
#20
|
|||
|
|||
Re: Need help by capturebate-nodeOpen 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.
|
Tags: capturebate, capturebate node, help, node |
Thread Tools | |
Display Modes | |
|
|