Audio/video stream recording forums (http://stream-recorder.com/forum/index.php)
-   rtmpdump (http://stream-recorder.com/forum/forumdisplay.php?f=54)
-   -  

Customized rtmpdump binaries with patch file

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

Oribew 08-15-2015 06:21 AM

Re: Customized rtmpdump binaries with patch file


 
Do it exist a Win X64 version?

linnew17 08-18-2015 09:35 AM

Re: Customized rtmpdump binaries with patch file


 
Hi, I'm trying to compile rtmpdump with the provided patch on Ubuntu Server 14.04 but ran into a problem seemingly regarding openssl. I've installed packages for compilation(from https://help.ubuntu.com/community/CompilingEasyHowTo):
Code:

sudo apt-get install build-essential checkinstall
sudo apt-get install cvs subversion git-core mercurial

and successfully patched the source files, but when running make it throws out
Code:

user@host:/usr/local/src/rtmpdump$ make
make[1]: Entering directory `/usr/local/src/rtmpdump/librtmp'
gcc -Wall  -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_OPENSSL  -O2 -fPIC  -c -o rtmp.o rtmp.c
rtmp.c:61:25: fatal error: openssl/ssl.h: No such file or directory
 #include <openssl/ssl.h>
                        ^
compilation terminated.
make[1]: *** [rtmp.o] Error 1
make[1]: Leaving directory `/usr/local/src/rtmpdump/librtmp'
make: *** [librtmp/librtmp.a] Error 2

Thinking it's an openssl problem I've tried to install it, but running sudo apt-get install openssl tells me openssl is already the newest version.
Can anyone help me or point me in the right direction to resolve this issue and build rtmpdump? This is my first time compiling from source and assistance would be appreciated.

biezom 08-18-2015 09:42 AM

Re: Customized rtmpdump binaries with patch file


 
Quote:

Originally Posted by linnew17 (Post 78993)
Hi, I'm trying to compile rtmpdump with the provided patch on Ubuntu Server 14.04 but ran into a problem seemingly regarding openssl. I've installed packages for compilation(from https://help.ubuntu.com/community/CompilingEasyHowTo):
Code:

sudo apt-get install build-essential checkinstall
sudo apt-get install cvs subversion git-core mercurial

and successfully patched the source files, but when running make it throws out
Code:

user@host:/usr/local/src/rtmpdump$ make
make[1]: Entering directory `/usr/local/src/rtmpdump/librtmp'
gcc -Wall  -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_OPENSSL  -O2 -fPIC  -c -o rtmp.o rtmp.c
rtmp.c:61:25: fatal error: openssl/ssl.h: No such file or directory
 #include <openssl/ssl.h>
                        ^
compilation terminated.
make[1]: *** [rtmp.o] Error 1
make[1]: Leaving directory `/usr/local/src/rtmpdump/librtmp'
make: *** [librtmp/librtmp.a] Error 2

Thinking it's an openssl problem I've tried to install it, but running sudo apt-get install openssl tells me openssl is already the newest version.
Can anyone help me or point me in the right direction to resolve this issue and build rtmpdump? This is my first time compiling from source and assistance would be appreciated.

did you install libssl-dev ?

linnew17 08-18-2015 10:50 AM

Re: Customized rtmpdump binaries with patch file


 
Quote:

Originally Posted by biezom (Post 78994)
did you install libssl-dev ?

Thank you, that did the trick. After installing libssl-dev compilation went without a hitch.

sebus 08-19-2015 01:13 PM

Re: Customized rtmpdump binaries with patch file


 
Anybody came across executable for Mac Yosemite?

Thanks

sebus

ilje 08-31-2015 10:25 AM

Re: Customized rtmpdump binaries with patch file


 
please patch for cam4
"receiveRTMPResponse"

phucka 08-31-2015 03:47 PM

Re: Customized rtmpdump binaries with patch file


 
Quote:

Originally Posted by ilje (Post 79413)
please patch for cam4
"receiveRTMPResponse"

I second this! This is extremely frustrating :(

Cbater 09-04-2015 04:41 PM

Re: Customized rtmpdump binaries with patch file


 
Quote:

Originally Posted by phucka (Post 79427)
I second this! This is extremely frustrating :(

yes, please!

chameleon 09-12-2015 07:07 PM

Re: Customized rtmpdump binaries with patch file


 
Any updates?

stranculet 09-14-2015 03:14 PM

Re: Customized rtmpdump binaries with patch file


 
I'm working on receiveRTMPResponse.
It's not that easy, receiveRTMPResponse is not an AMF0 command. First it's an AMF3 command so must be written all the code.
Second with this message you need to send back the clientid recevied with the result of connect command.
I know where read the clientid, I know how to send back the AMF3, but i'm not a good C developer so if somebody is a good developer I can explain where get all the data.


All times are GMT -6. The time now is 11:48 PM.