PDA

View Full Version : how to install customized rtmpdump binaries !! PLEASE HELP


Saleh Amran
01-26-2015, 03:29 AM
Hi

I don't know what to do !

I have a linux DEBIAN 7 OS

and i'm trying to compile the ksv to my own preinstalled rtmpdump

i've downloaded the script

but don't know what to upload and where to upload it and how to patch it

please someone help me step by step !!

this is the script thread i'm talking about :

http://stream-recorder.com/forum/customized-rtmpdump-binaries-patch-file-t16103.html

solarc
01-26-2015, 09:24 AM
Hi,

You read the first post of the link that you are referring to?
If you have Debian installed you just have to do what is explained there.



assuming you have all tools (gcc, binutils etc.) and dependencies (OpenSSL, Zlib) installed correctly for your distribution.

1. clone the repository
git clone git://git.ffmpeg.org/rtmpdump

2. copy patch from package to rtmpdump directory and apply it
patch -p0 -i Patch.diff

3. then just compile and install normally
make
sudo make install prefix=/usr


And that's it.

Saleh Amran
01-26-2015, 11:07 AM
first of all thanks for replying fast.

the problem i have is that i don't know what he means about
" assuming you have all tools (gcc, binutils etc.) and dependencies (OpenSSL, Zlib) installed correctly for your distribution. "

and then about the script should i upload all the files in it to rtmpdump or just Patch.diff.

finally when i do " patch -p0 -i Patch.diff "
it asks me about what file i want to patch ?

please explain all above to me sir.

solarc
01-26-2015, 02:57 PM
first of all thanks for replying fast.

the problem i have is that i don't know what he means about
" assuming you have all tools (gcc, binutils etc.) and dependencies (OpenSSL, Zlib) installed correctly for your distribution. "


Please, do this:
apt-get update
apt-get -y install openjdk-6-jdk openjdk-6-jre ant subversion make build-essential libssl-dev

As for the rest you only have to do what is written above. Well written btw.
I can't be more explicit than that, sorry...

Hope this help you.

Saleh Amran
01-27-2015, 12:02 AM
thank u man

i've done what u told me to do

but this was the problem.

" patch -p0 -i Patch.diff "

that what happens

http://im80.gulfup.com/DCtzxM.jpg

help :D ?

biezom
01-27-2015, 12:25 AM
thank u man

i've done what u told me to do

but this was the problem.

" patch -p0 -i Patch.diff "

that what happens

http://im80.gulfup.com/DCtzxM.jpg

help :D ?


in normal terminal not in administrator terminal
cd /home/user/ with user the name of your session
git clone git://git.ffmpeg.org/rtmpdump
cd rtmpdump
wget -c https://github.com/K-S-V/Scripts/releases/download/v2.4/rtmpdump-2.4.zip
unzip rtmpdump-2.4.zip
rm -R *.exe *License.txt librtmp.dll
patch -p0 -i Patch.diff
make
su enter your password to be root
make install prefix=/usr
exit

Saleh Amran
01-27-2015, 02:22 AM
biezom, This is great man. :D
Thank u so much.
one last thing, how can i make sure i'm using it right and it installed well?. :confused:

biezom
01-27-2015, 04:47 AM
biezom, This is great man. :D
Thank u so much.
one last thing, how can i make sure i'm using it right and it installed well?. :confused:

post the results of these commands

find /usr -name 'rtmpdump' -exec ls -l {} \;
find /usr -name 'librtmp.so*' -exec ls -l {} \;

Saleh Amran
01-27-2015, 07:23 AM
biezom

http://im65.gulfup.com/tJApYx.jpg

I hope it's right :D

biezom
01-27-2015, 12:48 PM
yes i think it's ok you can use rtmpdump now

Mabs
01-27-2015, 02:06 PM
That is a very precious help biezom. Thanks.

Can you help with cross-compiling to other platforms?
What is needed to make an Android build or an iOS build?
I read it has something to do with a ... standalone-toolchain?:confused:

And is it necessary to change anything in the files or scripts?

If you can give the same step-by-step like you did on the Linux build, it would be awesome.

Thanks.

biezom
01-27-2015, 03:14 PM
That is a very precious help biezom. Thanks.

Can you help with cross-compiling to other platforms?
What is needed to make an Android build or an iOS build?
I read it has something to do with a ... standalone-toolchain?:confused:

And is it necessary to change anything in the files or scripts?

If you can give the same step-by-step like you did on the Linux build, it would be awesome.

Thanks.

sorry i tried to crros-compile Android but without succes

Saleh Amran
01-27-2015, 03:20 PM
Ur genious man. thanks a lot
but one last thing can i get the rtmpdump to work on
http://cricfree.sx/euro-sports-live-stream
what it's token ?
i don't know how to get a token.

biezom
01-27-2015, 03:28 PM
Ur genious man. thanks a lot
but one last thing can i get the rtmpdump to work on
http://cricfree.sx/euro-sports-live-stream
what it's token ?
i don't know how to get a token.

yes token
rtmpdump -r "rtmp://31.220.0.206/redirect" -a "redirect" -f "WIN 16,0,0,235" -W "http://flashtv.co/ePlayerr.swf" -p "http://flashtv.co/embedu.php?live=eur1x&vw=620&vh=490" -y "eur1x" -o "eur1x.flv" -T "%ZZri(nKa@#Z"

biezom
01-27-2015, 03:37 PM
to find token i use gdb like this
http://stream-recorder.com/forum/showpost.php?p=32624&postcount=6

just me i don't use Okteta but ghex

apt-get install ghex

and ghex i search secureTokenResponse

sargonax
10-21-2016, 10:38 AM
in normal terminal not in administrator terminal
cd /home/user/ with user the name of your session
git clone git://git.ffmpeg.org/rtmpdump
cd rtmpdump
wget -c https://github.com/K-S-V/Scripts/releases/download/v2.4/rtmpdump-2.4.zip
unzip rtmpdump-2.4.zip
rm -R *.exe *License.txt librtmp.dll
patch -p0 -i Patch.diff
make
su enter your password to be root
make install prefix=/usr
exit

Hello,
I have problem on Debian 8. After patching rtmpdump give me this error:

RTMPDump v2.4
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
/home/rtmpdump/rtmpdump: symbol lookup error: /home/rtmpdump/rtmpdump: undefined symbol: AVcopy

Pls help me .

dariusii
07-01-2018, 09:32 AM
in normal terminal not in administrator terminal
cd /home/user/ with user the name of your session
git clone git://git.ffmpeg.org/rtmpdump
cd rtmpdump
wget -c https://github.com/K-S-V/Scripts/releases/download/v2.4/rtmpdump-2.4.zip
unzip rtmpdump-2.4.zip
rm -R *.exe *License.txt librtmp.dll
patch -p0 -i Patch.diff
make
su enter your password to be root
make install prefix=/usr
exit

where is ./configure file?

..
make
1 warning generated.
gcc -Wall -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_OPENSSL -O2 -fPIC -c -o hashswf.o hashswf.c
gcc -Wall -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_OPENSSL -O2 -fPIC -c -o parseurl.o parseurl.c
ar rs librtmp.a rtmp.o log.o amf.o hashswf.o parseurl.o
ar: creating archive librtmp.a
gcc -shared -Wl,-soname,librtmp.so.1 -o librtmp.so.1 rtmp.o log.o amf.o hashswf.o parseurl.o -lssl -lcrypto -lz -lm
ld: unknown option: -soname
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [librtmp.so.1] Error 1
make: *** [librtmp/librtmp.a] Error 2