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.
Download as TXT, PDF, TXT or read online on Scribd
0 ratings0% 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.
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 ------------