Andrés Romero Mier y Terán

Contact  | LinkedIn  | Twitter  | Github  | CV  | Demos  | Publications  | Teaching  | Gallery  | Links

About rtmpSnoop

I’ve just found Andrea Fabrizi’s script which allows to recover the RTMP parameters to play live streams in media players such as VLC, this thing interests me because I want to play this kind of streams on my Raspberry PI using Omxplayer.

The program is called rtmpSnoop and you can find it on GitHub.


Once you have cloned rtmpSnoop you just need to run the script (as root)

./ -i wlp18s0 --out-rtmpdump # as root

and open a webpage where a RTMP live stream is playing, then the script will print something like this

rtmpSnoop v0.2.1 - The RTMP Sniffer!
Andrea Fabrizi -

Starting sniffing on wlp18s0...

* RTMP Stream found!
rtmpdump -r 'rtmp://' -a 'live?wmsAuthSign=c2VydmVyX3RpbWU9Ni8xMS8yMDE0IDEwOjQ5OjA1IFBNJmhhc2hfdmFsdWU9QVF6bnQ1aHNEcHMrVVExRkU5aE5NZz09JnZhbGlkbWludXRlcz0x/' -t 'rtmp://' -y 'espnusa-hq' -W '' -p '' -f 'LNX 11,2,202,356' --live -o espnusa-hq

Here you just need to copy this string to play it with VLC (or Omxplayer):

rtmpdump -r 'rtmp://' -a 'live?wmsAuthSign=c2VydmVyX3RpbWU9Ni8xMS8yMDE0IDEwOjQ5OjA1IFBNJmhhc2hfdmFsdWU9QVF6bnQ1aHNEcHMrVVExRkU5aE5NZz09JnZhbGlkbWludXRlcz0x/' -t 'rtmp://' -y 'espnusa-hq' -W '' -p '' -f 'LNX 11,2,202,356' --live | vlc -