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)

supersonic80 12-17-2018 03:42 PM

Re: Customized rtmpdump binaries with patch file


 
Quote:

Originally Posted by dniblick (Post 96695)
You deleted the file before I got a chance to try it. :(

Whoops, my fault. Was not aware of this.

dniblick 12-18-2018 03:55 PM

Re: Customized rtmpdump binaries with patch file


 
Preliminary testing looks good. This seems to address whatever change occurred in the latest Wowza update, or perhaps just a configuration change that went with the push.

rastafari90 12-18-2018 04:19 PM

Re: Customized rtmpdump binaries with patch file


 
Quote:

Originally Posted by rantanplan (Post 96670)
I don't understand. It's GPL license...

It's not so much that it's under the GPL license or being/not being in a position to release the code. It's the fact that supersonic80 got the pacthed rtmpdump and librtmp.so.1 from the patch creator Sergey Stativa. If he'd patch it himself, he'd be able to tell you what he changed.

confused.com 12-18-2018 11:20 PM

Re: Customized rtmpdump binaries with patch file


 
http://stream-recorder.com/forum/sho...9&postcount=30

dniblick 12-19-2018 02:36 AM

Re: Customized rtmpdump binaries with patch file


 
Sergey's committed his latest code and it seems to work. On Ubuntu 18.04 there are still compile issues with OpenSSL 1.1.0 in the rtmpdump codebase that I simply resolved by using GnuTLS for now (I found a ported codebase and the patches applied fine, but it wasn't working so I left it alone).

cabulo 12-19-2018 06:26 AM

Re: Customized rtmpdump binaries with patch file


 
https://github.com/sstativa/rtmpdump-ksv

This looks good.
It would be great if somebody who finds link to compiled package for windows to post a link here.
It would save trouble to all of us from compiling.

supersonic80 12-19-2018 06:22 PM

Re: Customized rtmpdump binaries with patch file


 
I have some instructions on how to compile this using MinGW, but it is too complicated. I'm not sure it will be useful for many.

Quote:

Originally Posted by cabulo (Post 96718)
https://github.com/sstativa/rtmpdump-ksv

This looks good.
It would be great if somebody who finds link to compiled package for windows to post a link here.
It would save trouble to all of us from compiling.


j_cool 12-19-2018 11:27 PM

Re: Customized rtmpdump binaries with patch file


 
Quote:

Originally Posted by supersonic80 (Post 96719)
I have some instructions on how to compile

This looks good too.
If it works for you, it will be enough. You can post download link on https://www.datafilehost.com/
after you compile the package. KSV did it once before on github.
I compile my autoit scripts with two clicks of a mouse and don't get that Linus Torvalds makes nothing less than Linux
and then millions of other programers cannot simplify shit compiling work procedure.

HYC likes linux so much and despises of windows so much,
how about simplicity of compiling ffmpeg and rtmpdump for the start?
Try to compile ffmpeg and then post here how enjoyable time you had.

supersonic80 12-20-2018 05:01 AM

Re: Customized rtmpdump binaries with patch file


 
The next one is the instruction I have, I only made some changes to make it work:
1. I had to remove the line 40 of rtmpdump.c, otherwise it would not compile.
2. I added -static after -lz on line 14 of Makefile to make rtmpdump "self-sufficient".

Instruction:
# Suppose the current user is IEUser (replace by your username)

# Install MinGW
https://osdn.net/projects/mingw/down...get-setup.exe/

# Run and select to install
mingw-developer-toolkit-bin
mingw32-base-bin
mingw32-gcc-g++-bin
msys-base-bin

# Download and unpack
https://www.zlib.net/zlib1211.zip
https://www.openssl.org/source/openssl-1.0.2q.tar.gz
https://github.com/sstativa/rtmpdump...ive/master.zip

# Open cmd.exe and start
c:\MinGW\msys\1.0\msys.bat

# Next should be run in msys window

# Compile openssl
cd /c/Users/IEUser/Downloads/openssl-1.0.2q
./config
make

# Compile zlib
cd /c/Users/IEUser/Downloads/zlib-1.2.11
make -f win32/Makefile.gcc

# Compile rtmdump-ksv
cd /c/Users/IEUser/Downloads/rtmpdump-ksv-master

make SYS=mingw INC="-I/c/Users/IEUser/Downloads/openssl-1.0.2q/include -I/c/Users/IEUser/Downloads/zlib-1.2.11 -L/c/Users/IEUser/Downloads/openssl-1.0.2q -L/c/Users/IEUser/Downloads/zlib-1.2.11" LDFLAGS="-L/c/Users/IEUser/Downloads/openssl-1.0.2q -L/c/Users/IEUser/Downloads/zlib-1.2.11"

Damianonymous 12-20-2018 01:13 PM

Re: Customized rtmpdump binaries with patch file


 
Quote:

Originally Posted by rastafari90 (Post 96713)
It's not so much that it's under the GPL license or being/not being in a position to release the code. It's the fact that supersonic80 got the pacthed rtmpdump and librtmp.so.1 from the patch creator Sergey Stativa. If he'd patch it himself, he'd be able to tell you what he changed.

This is one person.


All times are GMT -6. The time now is 02:21 PM.