Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- video tutorial in this link
- Build streaming server with RED5 rtmpdump and ffmpeg iptv
- http://www.youtube.com/watch?v=CQsxdbeYi3g
- ======================================
- apt-get update
- cd /tmp
- apt-get -y install openjdk-6-jdk openjdk-6-jre ant subversion make build-essential libssl-dev
- export JAVA_HOME=/usr/lib/jvm/java-6-openjdk/
- wget http://red5.org/downloads/red5/1_0_1/red5-1.0.1.tar.gz
- tar xvfz red5-1.0.1.tar.gz
- mv red5-server-1.0 /opt/red5
- red5 starting script here:
- http://pastebin.com/raw.php?i=Vbp3ubS3
- chmod +x /etc/init.d/red5
- /etc/init.d/red5 start
- apt-get install git
- git clone git://git.ffmpeg.org/rtmpdump
- cd rtmpdump
- download Patch.diff here
- http://pastebin.com/raw.php?i=6cC9BSTc
- or
- https://github.com/downloads/K-S-V/Scripts/rtmpdump-2.4.zip
- Patch.diff is included in the zip file
- or here
- http://jheberg.net/captcha/patch-7/
- patch -p0 -i Patch.diff
- make
- make install prefix=/usr
- http://johnvansickle.com/ffmpeg/
- wget http://johnvansickle.com/ffmpeg/releases/ffmpeg-1.2.3-64bit-static.tar.bz2
- tar xjf ffmpeg-1.2.3-64bit-static.tar.bz2
- cp -R ffmpeg-1.2.3-64bit-static /ffmpeg
- chmod +x -R /ffmpeg
- 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"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement