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


All times are GMT -6. The time now is 03:29 PM.