/streaming-pt

Live TV and Radio shell scripts from Portugal.

Primary LanguageShellMIT LicenseMIT

streaming-pt

Live Portuguese TV and radio.

Disclaimer:
All streams are official.

Please add a new issue to report broken links or suggest new streams.

Requirements

If you need assistance please check installing dependencies.

Usage

$ ./tv.sh 
1) RTP 1                7) TVI24              13) ARTV
2) RTP 2                8) RTP Memoria        14) ETV
3) SIC                  9) RTP Internacional  15) Porto Canal
4) TVI                 10) RTP Madeira        16) Euronews
5) RTP 3               11) RTP Acores
6) SIC Noticias        12) RTP Africa
Which TV channel do you want to watch?
$ ./radio.sh
1) Antena1       5) Comercial    9) Renascenca  13) Sudoeste
2) Antena2       6) Kiss FM     10) RFM         14) TSF
3) Antena3       7) M80         11) RUC         15) Vodafone
4) Cidade FM     8) Mega Hits   12) Smooth      16) Radio Zero
Which radio do you want to listen? 

Installing dependencies

# Debian / Ubuntu
$ apt-get install rtmpdump mplayer
# Arch Linux
$ pacman -S rtmpdump mplayer
# Mac OS X
$ brew install rtmpdump mplayer

How to catch RTMP streams

# redirect outgoing RTMP traffic to localhost
$ iptables -t nat -A OUTPUT -p tcp --dport 1935 -j REDIRECT
# start rtmpsrv
$ rtmpsrv

Now open a web page containing media streamed over RTMP.
RTMP requests will be caught by iptables and logged by rtmpsrv.

# remove redirection of outgoing RTMP traffic
$ iptables -t nat -D OUTPUT -p tcp --dport 1935 -j REDIRECT