0% found this document useful (0 votes)
3K views

Tutorial - Rtmpdump

This document provides instructions for using various tools like rtmpdump and rtmpsrv to sniff and extract RTMP streams from different live streaming websites. It explains how to use these tools in Linux and Windows, and provides examples of commands to stream or download live videos from sites like Ustream, Veemi and Zonein using rtmpdump. The instructions allow users to view live streams through VLC player or download video files.

Uploaded by

Jim Azul
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3K views

Tutorial - Rtmpdump

This document provides instructions for using various tools like rtmpdump and rtmpsrv to sniff and extract RTMP streams from different live streaming websites. It explains how to use these tools in Linux and Windows, and provides examples of commands to stream or download live videos from sites like Ustream, Veemi and Zonein using rtmpdump. The instructions allow users to view live streams through VLC player or download video files.

Uploaded by

Jim Azul
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 4

---------------------------------| URL Sniffing user instructions |

----------------------------------------------------------------------------1. How to use rtmpdump with rtmpsrv in Linux


-------------------------------------------rtmpsrv allows you to get all parameters that are required by rtmpdump. You don'
t need packet sniffers or complex analysis to use rtmpdump when using rtmpsrv. T
he only problem you may have is when a video
consists of several segments (chapters). In such cases just skip to the next cha
pter.
How to use rtmpsrv in Ubuntu Linux
...................................
- Configure your firewall to redirect RTMP traffic through a local port: "sudo i
ptables -t nat -A OUTPUT -p tcp --dport 1935 -j REDIRECT"
- Then just start rtmpsrv in terminal : "rtmpsrv"
rtmpsrv will be analyzing data from your local port. It will output a rtmpdump c
ommand that can be used to watch live streams or to download videos.
When you get the rtmpdump command, press CTRL+C to stop rtmpsrv.
- Delete the firewall redirect created above: "sudo iptables -t nat -D OUTPUT -p
tcp --dport 1935 -j REDIRECT"
Example :
rtmpdump -r "rtmp://61.194.12.178:1935/2e2cd" -a "2e2cd" -f "LNX 10,1,102,65" -W
"http://www3.nhk.or.jp/nhkworld/r/movie/fivecool_player.0.3.6.2.swf" -p "http:/
/www3.nhk.or.jp/nhkworld/r/movie/index.html" -y "nhkworldhd.sdp" -o nhkworldhd.f
lv
Live stream command :
rtmpdump -v -r "rtmp://61.194.12.178:1935/2e2cd/nhkworldhd.sdp" -W "http://www3.
nhk.or.jp/nhkworld/r/movie/fivecool_player.0.3.6.2.swf" | vlc -------------------------------------------2. How to sniff in Windows : Freewares used
-------------------------------------------- Streamtransport : the most powerful sniffer
- URL Snooper : good but can't sniff every platform
- rtmpexplorer : useful for complete sniffing results with URL Snooper
---------------------------------------------3 .Instructions for live flash streams in VLC
---------------------------------------------Command : rtmpdump -v -r "rtmp://..." -W "http://...swf" -q | vlc --live|-v............. [Save a live stream, no --resume (seeking) of live stream
s possible]
--rtmp|-r url......... [URL (e.g. rtmp//hotname[:port]/path)]
--swfVfy|-W url........[URL to player swf file, compute hash/size automatically]
--quiet|-q.............[Supresses all command output]
--pageUrl|-p url.......[Web URL of played programme]
786cast.com
------------

rtmpdump -v -r "rtmp://77.247.178.19/live/funmaza" -W "http://www.786cast.com/jp


layr.swf" -p "http://www.786cast.com/channel.php?u=funmaza" | vlc Canalhd.tv : with Streamtransport
--------------------------------rtmpdump -v -r "rtmp://live001.sna1.flash.streamingmediahosting.com/globalhdtv-l
ive/key=fe1ff99f/futbolhub5" -W "http://live.canalhd.tv/canalhd.tv.swf" -p "http
://canalhd.tv/video.php?n=futbolhub5" | vlc Castamp.com
-----------rtmpdump -v -r "rtmp://68.68.29.171/live/fvbrgbgrbr" -W "http://live.castamp.com
/player.swf" -p "http://www.castamp.com/channel/fvbrgbgrbr" | vlc Flowplayer (Mypremium.tv)
------------------------rtmpdump -v -r "rtmp://46.19.141.218/live/11.sdp" -W "http://mypremium.tv/em/flo
wplayer-3.2.5.swf" | vlc Freedocast.com : with Streamtransport
-------------------------------------rtmpdump -v -r "rtmp://wcdn0.kitd.cz:80/live/false" -W "http://cdn.freedocast.co
m/hdflvplayer/hdplayer.swf" -p "http://www.freedocast.com/sportsmax" | vlc Jimey.tv : not working
----------------------rtmpdump -v -r "rtmpe://173.192.187.181/edge/dvfdvfdvfdfd" -W "http://jimey.tv/p
layer/fresh.swf" -p "http://jimey.tv/subscriber.php?channel=dvfdvfdvfdfd&user=bv
cbvnvbncxvbf" | vlc Longtailvideo
------------rtmpdump -v -r "rtmp://video.pivol.com/live/sporttv" -W "http://player.longtailv
ideo.com/player4.6.swf" | vlc Meevos.tv
--------rtmpdump -v -r "rtmp://68.68.28.187/live/mtvasia4" -W "http://player.meevos.tv/p
layer.swf" -p "http://embed.meevos.tv/embed.php?id=mtvasia4&w=650&h=450" | vlc Megalive.com : with Streamtransport
-----------------------------------rtmpdump -v -r "rtmp://live3.megalive.com/videochat/stream_N2VMNDQ5ZDGZOWY1NTZMM
GQZYJM4MDVJOTE3MTY1ZMUX" -W "http://www.megalive.com/ml_player.swf" -p "http://w
ww.megalive.com/?v=N397EADK" | vlc Mips.tv
-------rtmpdump -v -r "rtmp://85.17.29.110/live/cfgff" -W "http://www.mips.tv/player/ep
layer.swf" -p "http://www.mips.tv/player/embedplayer.php?id=41776&e=1&width=600&
height=450" | vlc -

Or open it in VLC (in linux only) : rtmp://mipscdn.tv:1935/live/_definst_/cfgff


Seeon.tv
-------rtmpdump -v -r "rtmp://live0.seeon.tv/edge/cwhispjaxw2ta7x" -W "http://www.seeon
.tv/jwplayer/player.swf" -p "http://www.seeon.tv/view/8847" | vlc Streami.tv : with Streamtransport
--------------------------------rtmpdump -v -r "rtmp://173.193.219.184:1936/videowhisper/stream0002" -W "http://
streami.tv/jwplayer/player.swf" | vlc TVope.com
---------rtmpdump -v -r "rtmp://streamer.istreamlive.net/aliez/tvope/teletubbiess" -W "ht
tp://builds.flowplayer.netdna-cdn.com/73166/40398/flowplayer.commercial-3.2.6-1.
swf" -p "http://tvope.com/emb/player.php?c=teletubbiess" | vlc Ustream.tv : with Streamtransport
--------------------------------rtmpdump -v -r "rtmp://cp39920.live.edgefcs.net/live/ustream-sj@23675" -W "http:
//cdn1.ustream.tv/swf/4/viewer.323.swf" -p "http://www.ustream.tv/channel/nhk-wo
rld-tv" | vlc rtmpdump -v -r "rtmp://cp39920.live.edgefcs.net/live/ustream-sj@23675" -W "http:
//cdn1.ustream.tv/swf/4/viewer.323.swf" | vlc Veemi.com
---------rtmpdump -v -r "rtmp://68.68.30.164/live/ArAfSUNZRxgMlPt" -W "http://www.veemi.c
om/player/player-licensed.swf" -p "http://www.veemi.com/embed.php?v=ArAfSUNZRxgM
lPt&vw=640&vh=360&domain=mypremium.tv" | vlc Or open it in VLC : rtsp://live.veemi.com:1935/live/_definst_/ArAfSUNZRxgMlPt
Webcaston.com
-------------rtmpdump -v -r "rtmp://c51.webcaston.com/live/40xo6iAhsvVEhsO" -W "http://www.we
bcaston.com/player/player-licensed.swf" -p "http://webcaston.com/40xo6iAhsvVEhsO
" | vlc Or open it in VLC : rtsp://live.webcaston.com:1935/live/_definst_/40xo6iAhsvVEhs
O
Wii-cast.tv : with Streamtransport
---------------------------------rtmpdump -v -r "rtmpe://212.7.212.17:1935/pub/leestream43" -W "http://www.wii-ca
st.tv/player/player12.swf" -p "http://www.wii-cast.tv/embedjw.php?fileid=leestre
am43&vw=750&vh=400" | vlc Yycast.com
----------

rtmpdump -v -r "rtmp://25-17.ddns.net/live/fsports80" -W "http://img.yycast.com:


805/player-licensed.swf" -p "http://www.yycast.com/embed.php?fileid=fsports80&vw
=600&vh=400" | vlc Zonein.tv : with Streamtransport
-------------------------------rtmpdump -v -r "rtmp://173.193.138.130:1935/268853?doPlay=a/zonein" -W "http://z
onein1.com/5458/zamorai.swf" -p "http://zonein.tv/268853" | vlc ------------------------------4. How to download RTMP videos
------------------------------Command : rtmpdump -r "rtmp://...mp4" -W "http://...swf" -o "d:\videos\Filename.
mp4"
--rtmp|-r url......... [URL (e.g. rtmp//hotname[:port]/path)]
--playpath|-y..........[Overrides the playpath parsed from rtmp url]
--swfVfy|-W url........[URL to player swf file, compute hash/size automatically]
--pageUrl|-p url.......[Web URL of played programme]
--flv|-o string........[FLV output file name, if the file name is - print stream
to stdout]

You might also like