PDA

View Full Version : How to install rtmpdump v2.4 on ubuntu


ercan
05-06-2012, 11:30 PM
Hi everyone,


sudo apt-get install git
git clone git://git.ffmpeg.org/rtmpdump
sudo apt-get install build-essential subversion zlib1g-dev libssl-dev
cd /home/ercan/rtmpdump rtmpdump
make SHARED= SYS=posix


I wrote this code respectively. But after that i run the "rtmpsrv" code. The error is given like this.


ercan@ubuntu:~/rtmpdump$ sudo iptables -t nat -A OUTPUT -p tcp --dport 1935 -j REDIRECT
ercan@ubuntu:~/rtmpdump$ rtmpsrv


"rtmpsrv" is not installed. You can install by typing the following lines
"sudo apt-get install rtmpdump"

When i wrote this line, v2.3 is installed. I couldun't solve this problem. Can anyone help me this problem?

bat999
05-07-2012, 07:40 AM
Can anyone help me this problem?
Hi
I use this method to compile and install RTMPDump with Ubuntu 11.04 ...

sudo apt-get remove rtmpdump

sudo apt-get install build-essential git libssl-dev checkinstall

cd ~/

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

cd rtmpdump

version="$(git log -1 --abbrev-commit | grep commit | cut -d' ' -f2)"

make VERSION="v2.4\ $version"

sudo checkinstall --pakdir "$HOME/Desktop" --pkgname rtmpdump --pkgversion "2.4+git$(date +%Y%m%d)" --backup=no --default && sudo ldconfig

ercan
05-10-2012, 01:26 AM
Thank you very much. :)

ercan
05-11-2012, 04:38 PM
I tried to install on debian operation sistem. But an error occered.
sudo checkinstall --pakdir "$HOME/Desktop" --pkgname rtmpdump --pkgversion "2.4+git$(date +%Y%m%d)" --backup=no --default && sudo ldconfig When I wrote this line, error is like this,

bash: checkinstall: command not found

I tried on ubuntu system. It worked. But It's not work on debian system. How can i fixed this problem ?