SHARE
TWEET

tuto1_Algerien4ever

a guest Jan 4th, 2014 7,951 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. video tutorial in this link
  2. Build streaming server with RED5 rtmpdump and ffmpeg iptv
  3. http://www.youtube.com/watch?v=CQsxdbeYi3g
  4. ======================================
  5.     apt-get update
  6.     cd /tmp
  7.     apt-get -y install openjdk-6-jdk openjdk-6-jre ant subversion make build-essential libssl-dev
  8.      
  9.     export JAVA_HOME=/usr/lib/jvm/java-6-openjdk/
  10.     wget http://red5.org/downloads/red5/1_0_1/red5-1.0.1.tar.gz
  11.     tar xvfz red5-1.0.1.tar.gz
  12.     mv red5-server-1.0 /opt/red5
  13.     red5 starting script here:
  14.     http://pastebin.com/raw.php?i=Vbp3ubS3
  15.      
  16.     chmod +x /etc/init.d/red5
  17.     /etc/init.d/red5 start
  18.      
  19.     apt-get install git
  20.     git clone git://git.ffmpeg.org/rtmpdump
  21.     cd rtmpdump
  22.     download Patch.diff here
  23.     http://pastebin.com/raw.php?i=6cC9BSTc
  24.     or
  25.     https://github.com/downloads/K-S-V/Scripts/rtmpdump-2.4.zip
  26.     Patch.diff is included in the zip file
  27.     or here
  28.     http://jheberg.net/captcha/patch-7/
  29.      
  30.     patch -p0 -i Patch.diff
  31.      
  32.     make
  33.     make install prefix=/usr
  34.      
  35.      
  36.     http://johnvansickle.com/ffmpeg/
  37.     wget http://johnvansickle.com/ffmpeg/releases/ffmpeg-1.2.3-64bit-static.tar.bz2
  38.     tar xjf ffmpeg-1.2.3-64bit-static.tar.bz2
  39.      
  40.     cp -R ffmpeg-1.2.3-64bit-static /ffmpeg
  41.     chmod +x -R /ffmpeg
  42.      
  43.     rtmpdump -r "rtmpe_stream" -a "live" -f "WIN 11,9,900,117" -W "swf_player" -p "home_page" -y "playpath" --live | ffmpeg -re -i  - -sn  -vcodec copy -acodec copy -f flv "rtmp://127.0.0.1:1935/live/jsx2"
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top