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

how to install customized rtmpdump binaries !! PLEASE HELP

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

Saleh Amran 01-26-2015 03:29 AM

how to install customized rtmpdump binaries !! PLEASE HELP


 
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/cus...le-t16103.html

solarc 01-26-2015 09:24 AM

Re: how to install customized rtmpdump binaries !! PLEASE HELP


 
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.

Quote:

Originally Posted by KSV (Post 61390)

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

1. clone the repository
Code:

git clone git://git.ffmpeg.org/rtmpdump
2. copy patch from package to rtmpdump directory and apply it
Code:

patch -p0 -i Patch.diff
3. then just compile and install normally
Code:

make
sudo make install prefix=/usr


And that's it.

Saleh Amran 01-26-2015 11:07 AM

Re: how to install customized rtmpdump binaries !! PLEASE HELP


 
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

Re: how to install customized rtmpdump binaries !! PLEASE HELP


 
Quote:

Originally Posted by Saleh Amran (Post 73556)
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

Re: how to install customized rtmpdump binaries !! PLEASE HELP


 
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



help :D ?

biezom 01-27-2015 12:25 AM

Re: how to install customized rtmpdump binaries !! PLEASE HELP


 
Quote:

Originally Posted by Saleh Amran (Post 73565)
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



help :D ?


in normal terminal not in administrator terminal
Code:

cd /home/user/
with user the name of your session
Code:

git clone git://git.ffmpeg.org/rtmpdump
Code:

cd rtmpdump
Code:

wget -c https://github.com/K-S-V/Scripts/releases/download/v2.4/rtmpdump-2.4.zip
Code:

unzip rtmpdump-2.4.zip
Code:

rm -R *.exe *License.txt librtmp.dll
Code:

patch -p0 -i Patch.diff
Code:

make
Code:

su
enter your password to be root
Code:

make install prefix=/usr
Code:

exit

Saleh Amran 01-27-2015 02:22 AM

Re: how to install customized rtmpdump binaries !! PLEASE HELP


 
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

Re: how to install customized rtmpdump binaries !! PLEASE HELP


 
Quote:

Originally Posted by Saleh Amran (Post 73568)
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

Code:

find /usr  -name 'rtmpdump' -exec ls -l {} \;
Code:

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

Saleh Amran 01-27-2015 07:23 AM

Re: how to install customized rtmpdump binaries !! PLEASE HELP


 
biezom



I hope it's right :D

biezom 01-27-2015 12:48 PM

Re: how to install customized rtmpdump binaries !! PLEASE HELP


 
yes i think it's ok you can use rtmpdump now

Mabs 01-27-2015 02:06 PM

Re: how to install customized rtmpdump binaries !! PLEASE HELP


 
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

Re: how to install customized rtmpdump binaries !! PLEASE HELP


 
Quote:

Originally Posted by Mabs (Post 73589)
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

Re: how to install customized rtmpdump binaries !! PLEASE HELP


 
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

Re: how to install customized rtmpdump binaries !! PLEASE HELP


 
Quote:

Originally Posted by Saleh Amran (Post 73592)
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
Code:

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

Re: how to install customized rtmpdump binaries !! PLEASE HELP


 
to find token i use gdb like this
http://stream-recorder.com/forum/sho...24&postcount=6

just me i don't use Okteta but ghex

Code:

apt-get install ghex
and ghex i search secureTokenResponse

sargonax 10-21-2016 10:38 AM

Re: how to install customized rtmpdump binaries !! PLEASE HELP


 
Quote:

Originally Posted by biezom (Post 73567)
in normal terminal not in administrator terminal
Code:

cd /home/user/
with user the name of your session
Code:

git clone git://git.ffmpeg.org/rtmpdump
Code:

cd rtmpdump
Code:

wget -c https://github.com/K-S-V/Scripts/releases/download/v2.4/rtmpdump-2.4.zip
Code:

unzip rtmpdump-2.4.zip
Code:

rm -R *.exe *License.txt librtmp.dll
Code:

patch -p0 -i Patch.diff
Code:

make
Code:

su
enter your password to be root
Code:

make install prefix=/usr
Code:

exit

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

Code:

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

Re: how to install customized rtmpdump binaries !! PLEASE HELP


 
Quote:

Originally Posted by biezom (Post 73567)
in normal terminal not in administrator terminal
Code:

cd /home/user/
with user the name of your session
Code:

git clone git://git.ffmpeg.org/rtmpdump
Code:

cd rtmpdump
Code:

wget -c https://github.com/K-S-V/Scripts/releases/download/v2.4/rtmpdump-2.4.zip
Code:

unzip rtmpdump-2.4.zip
Code:

rm -R *.exe *License.txt librtmp.dll
Code:

patch -p0 -i Patch.diff
Code:

make
Code:

su
enter your password to be root
Code:

make install prefix=/usr
Code:

exit

where is ./configure file?

..
make
Code:

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



All times are GMT -6. The time now is 06:44 AM.