Step1: 터미널을 열고 아래 프로그램을 설치 합니다.
[code:2vw4tlj3]sudo apt-get install rtmpdump[/code:2vw4tlj3]
Step2: (옵션) 방화벽을 사용중이시면 TCP port 1935를 열어주세요 // (전 안해도 잘되더라고요)
Step3: 터미널에 아래 내용 중 보고 싶은 방송 Copy & Paste하세요
알자지라 방송
[code:2vw4tlj3]rtmpdump -v -r rtmp://livestfslivefs.fplive.net/livestfslive-live/ -y "aljazeera_en_veryhigh" -a "aljazeeraflashlive-live" -o -| mplayer -[/code:2vw4tlj3]
블룸버그 방송
[code:2vw4tlj3]rtmpdump -v -r rtmpt://cp87869.live.edgefcs.net:1935/live
-a live
-y us_300@21006
-W http://cdn.gotraffic.net/v/20110210_153738//flash/BloombergMediaPlayer.swf
-p http://www.bloomberg.com/tv/
| mplayer -[/code:2vw4tlj3]
cspan1
[code:2vw4tlj3]rtmpdump -v -r rtmp://cp82346.live.edgefcs.net:1935/live -y CSPAN1@14845 -W http://www.c-span.org/cspanVideoHD.swf -p http://www.c-span.org/Live-Video/C-SPAN/ | mplayer -
[/code:2vw4tlj3]
cspan2
[code:2vw4tlj3]rtmpdump -v -r rtmp://cp82347.live.edgefcs.net:1935/live -y CSPAN2@14846 -W http://www.c-span.org/cspanVideoHD.swf -p http://www.c-span.org/Live-Video/C-SPAN2/ | mplayer -
[/code:2vw4tlj3]
cspan3
[code:2vw4tlj3]rtmpdump -v -r rtmp://cp82348.live.edgefcs.net:1935/live -y CSPAN3@14847 -W http://www.c-span.org/cspanVideoHD.swf -p http://www.c-span.org/Live-Video/C-SPAN3/ | mplayer -
[/code:2vw4tlj3]
cnn live stream 1 (Al Masriya yesterday, Nile TV today)
[code:2vw4tlj3]rtmpdump -v -r rtmp://cp44679.live.edgefcs.net/live -y cnn_stream1_low@2785 -a live -W http://i.cdn.turner.com/cnn/.element/apps/CNNLive/2.1.5.7/assets/swfs/LivePlayer.swf -p http://www.cnn.com/video/flashLive/live.html?stream=1 | mplayer -
[/code:2vw4tlj3]
cnn live stream 2
[code:2vw4tlj3]rtmpdump -v -r rtmp://cp44679.live.edgefcs.net/live -y cnn_stream2_low@2787 -a live -W http://i.cdn.turner.com/cnn/.element/apps/CNNLive/2.1.5.7/assets/swfs/LivePlayer.swf -p http://www.cnn.com/video/flashLive/live.html?stream=2 | mplayer -
[/code:2vw4tlj3]
cnn live stream 3
[code:2vw4tlj3]rtmpdump -v -r rtmp://cp44679.live.edgefcs.net/live -a live -W http://i.cdn.turner.com/cnn/.element/apps/CNNLive/2.1.5.7/assets/swfs/LivePlayer.swf -p http://www.cnn.com/video/flashLive/live.html?stream=3 -y cnn_stream3_low@2796 | mplayer -
[/code:2vw4tlj3]
cnn live stream 4 (al Masriya today)
[code:2vw4tlj3]rtmpdump -v -r rtmp://cp44679.live.edgefcs.net/live -a live -W http://i.cdn.turner.com/cnn/.element/apps/CNNLive/2.1.5.7/assets/swfs/LivePlayer.swf -p http://www.cnn.com/video/flashLive/live.html?stream=4 -y cnn_stream4_low@2797 | mplayer -
[/code:2vw4tlj3]
france 24 (english)
[code:2vw4tlj3]rtmpdump -v -r rtmp://stream2.france24.yacast.net/france24_live/en -a france24_live/en -W http://www.france24.com/en/sites/all/modules/maison/aef_player/flash/player.swf -p http://www.france24.com/en/aef_player_popup/france24_player -y f24_liveen | mplayer -
[/code:2vw4tlj3]
RT (english)
[code:2vw4tlj3]
rtmpdump -v -r rtmp://fms5.visionip.tv/live -a live -W http://rt.com/s/swf/player5.4.viral.swf -p http://rt.com/on-air/ -y RT_3 | mplayer -
[/code:2vw4tlj3]
Step4: 스크립트로 만들고 싶으시면 아래 방법으로 하시면 됩니다.
텍스트 에디터에 아래 내용 copy & paste하시고
알자지라 방송의 경우
[code:2vw4tlj3]#!/bin/sh
rtmpdump -v -r rtmp://livestfslivefs.fplive.net/livestfslive-live/ -y "aljazeera_en_veryhigh" -a "aljazeeraflashlive-live" -o -| mplayer -
[/code:2vw4tlj3]
aljazeera.sh 이름 적어주시고 터미널에서 권한 설정해주시고
[code:2vw4tlj3]chmod +x aljazeera.sh
[/code:2vw4tlj3]
실행 시키시면 됩니다
[code:2vw4tlj3]./aljazeera.sh[/code:2vw4tlj3]
제가 프로그래밍 실력이 있으면 Gui frontend를 만들어서 채널을 단추 누르게 설정 하고 싶은데 그럴 능력이 없네요 ㅠㅠ
파이썬 고수분들 혹 관심 있으신분들 도와주세요 ㅋㅋ
Step5: 파이어 폭스에서 플래쉬 사이트의 주소 추출 할때 브라우저 켜놓고 아래 스크립트를 돌리면 된답니다.
[code:2vw4tlj3]#!/bin/zsh
fpid=$(pidof plugin-container)
fd=$(lsof | grep $fpid | /bin/grep ‘(deleted)’ | /bin/grep FlashX | /bin/grep -o '[0-9]*u ’ | head -1)
fd=$fd[1,-3]
mplayer /proc/$fpid/fd/$fd
[/code:2vw4tlj3]
리플에 여러 방송사 주소 추가 시켜주시면 감사하겠습니당
=========================================
Reference: