Play audio/video using livestreamer
- Download livestreamer-v1.12.2-win32.zip from http://docs.livestreamer.io/install.html#windows-binaries
Play stream
City_Snapshot from rthk
livestreamer --https-proxy=http://proxy1.scig.gov.hk:8080 --http-proxy=http://proxy1.scig.gov.hk:8080 hlsvariant://http://stmw.rthk.hk/aod/_definst_/radio/archive/radio1/City_Snapshot/mp3/mp3:20161129.mp3/playlist.m3u8 best -p "C:\Program Files\VideoLAN\VLC\vlc.exe" --verbose-player --stream-types=hls
RTHK Radio 1
livestreamer --https-proxy=http://proxy1.scig.gov.hk:8080 --http-proxy=http://proxy1.scig.gov.hk:8080 hlsvariant://http://rthkaudio1-lh.akamaihd.net/i/radio1_1@355864/master.m3u8 best -p C:\Users\User\Downloads\mpv-x86_64-20170102-git-8e41f31\mpv.exe
RTHK Radio 2
livestreamer --https-proxy=http://proxy1.scig.gov.hk:8080 --http-proxy=http://proxy1.scig.gov.hk:8080 hlsvariant://http://rthkaudio2-lh.akamaihd.net/i/radio2_1@355865/master.m3u8 best -p C:\Users\User\Downloads\mpv-x86_64-20170102-git-8e41f31\mpv.exe
Play 香港卫视
livestreamer --https-proxy=http://proxy1.scig.gov.hk:8080 --http-proxy=http://proxy1.scig.gov.hk:8080 hlsvariant://http://live.hkstv.hk.lxdns.com/live/hks/playlist.m3u8 best -p "C:\Program Files\VideoLAN\VLC\vlc.exe"
Play Faded from Alan Walker
livestreamer --https-proxy=http://proxy1.scig.gov.hk:8080 --http-proxy=http://proxy1.scig.gov.hk:8080 https://www.youtube.com/watch?v=60ItHLz5WEA best -p "C:\Program Files\VideoLAN\VLC\vlc.exe"
Play RTMP stream (Need rtmpdump.exe in the current folder)
livestreamer --https-proxy=http://proxy1.scig.gov.hk:8080 --http-proxy=http://proxy1.scig.gov.hk:8080 rtmp://live.hkstv.hk.lxdns.com/live/hks best -p "C:\Program Files\VideoLAN\VLC\vlc.exe"
Play by external player
livestreamer --https-proxy=http://10.13.135.115:8080 --http-proxy=http://10.13.135.115:8080 hlsvariant://http://stmw.rthk.hk/aod/_definst_/radio/archive/radio1/City_Snapshot/mp3/mp3:20161214.mp3/playlist.m3u8 best --player-external-http --player-external-http-port=12345 --verbose-player --stream-types=hls
livestreamer --https-proxy=http://10.13.135.115:8080 --http-proxy=http://10.13.135.115:8080 hlsvariant://http://live.hkstv.hk.lxdns.com/live/hks/playlist.m3u8 best --player-external-http --player-external-http-port=12345 --verbose-player --stream-types=hls
Some player: gstreamer, ffplay, vlc, wmplayer, mpc-hc, mpv, potplayer
Reference:
http://docs.livestreamer.io/
https://github.com/streamlink/streamlink
livestreamer UPnP/DLNA output - https://github.com/chrippa/livestreamer/issues/624
MMS / MMSH streaming to Windows Media Player by VLCOthers
网络流媒体下载的 10 种方法(以下载 Echo 音乐为例)
You-Get——基于Python3的媒体下载工具
一键下载视频:Xposed One Tap Video Download
樹莓派架設 RTMP 串流(Streaming)伺服器
Installing MPV with Hardware Decoding on Raspberry Pi
serviio dlna server