2016年2月18日 星期四

港台節目《開源香港》下載

港台節目《開源香港》下載 (已cut非節目部份)
https://www.sendspace.com/file/5uhju8

主持是活躍於網上討論區,網名為 HKGoldenMr.A 以近乎傻佬或偏執狂態度去推廣安裝和使用 Linux和Open source。

refs:
Mr.A - 香港網絡大典 - Wikia
Mr.A點解你推裝Linux
rthk.hk 香港電台網站: 社區參與廣播時段: 開源香港










檔案使用我寫的windows script下載得來,double click "download_Rthk_audio_By_downloadList.wsf"執行,此script並沒有停止執行功能。

download_rthk_audio_by_LiveStreamer.zip
https://www.sendspace.com/file/9oywy0

download_Rthk_audio_By_downloadList.wsf 使用參考

Step guides:
  • double click "download_Rthk_audio_By_downloadList.wsf" 執行下載
  •  變更 download_link_List.txt 內容,例如,如下
http://programme.rthk.hk/channel/radio/programme.php?name=dab31/g0202_open_source_in_hong_kong&d=2015-05-02&p=6827&e=303957&m=episode
http://programme.rthk.hk/channel/radio/programme.php?name=dab31/g0202_open_source_in_hong_kong&d=2015-05-09&p=6827&e=303958&m=episode
http://programme.rthk.hk/channel/radio/programme.php?name=dab31/g0202_open_source_in_hong_kong&d=2015-05-16&p=6827&e=303963&m=episode
http://programme.rthk.hk/channel/radio/programme.php?name=dab31/g0202_open_source_in_hong_kong&d=2015-05-23&p=6827&e=303964&m=episode
http://programme.rthk.hk/channel/radio/programme.php?name=dab31/g0202_open_source_in_hong_kong&d=2015-05-30&p=6827&e=308169&m=episode
http://programme.rthk.hk/channel/radio/programme.php?name=dab31/g0202_open_source_in_hong_kong&d=2015-06-06&p=6827&e=308183&m=episode
http://programme.rthk.hk/channel/radio/programme.php?name=dab31/g0202_open_source_in_hong_kong&d=2015-06-13&p=6827&e=310369&m=episode
http://programme.rthk.hk/channel/radio/programme.php?name=dab31/g0202_open_source_in_hong_kong&d=2015-06-20&p=6827&e=310370&m=episode
http://programme.rthk.hk/channel/radio/programme.php?name=dab31/g0202_open_source_in_hong_kong&d=2015-06-27&p=6827&e=310371&m=episode
http://programme.rthk.hk/channel/radio/programme.php?name=dab31/g0202_open_source_in_hong_kong&d=2015-07-04&p=6827&e=312953&m=episode
http://programme.rthk.hk/channel/radio/programme.php?name=dab31/g0202_open_source_in_hong_kong&d=2015-07-11&p=6827&e=312955&m=episode

  

2015年12月29日 星期二

新同文堂 在 openfoundry 上的備份

 openfoundry 將在2015年低結束,這裡留下一個回憶的備份


bug tracking system





新同文堂 在 openfoundry 的網頁

2015年12月6日 星期日

手機不能 root 機下,PC 用 Fiddler capture手機 tcp data packet步驟

1.) 準備工作
===========

1.) PC 安裝了 Fiddler
2.) 設定 Router的port forward
3.) 設定 手機 wifi proxy
4.) PC 開啟 Fiddler,手機開啟要用 APP


2.) Router設定
===========

以下 Asus RT-18U為例,如開啟了DHCP,在 set MAC address blinding to IP

==> Advanced Settings
==> LAN
==> DHCP Server
==> Manually Assigned IP around the DHCP list

30:76:6F:FA:50:XX    192.168.1.200(PC Local IP)
00:25:22:53:XX:XX    192.168.1.100(手機 Local IP)

==> Add(+)


3.) 設定 手機 wifi proxy
===========
以 LG G2 韓國版320K 為例

長按你的wifi網絡

==> 修改網絡

====> trick(勾選) 顯示進階選項

=====> Proxy 設定 ==> 手動

=====> Proxy 主機名稱 ==> 192.168.1.200 (PC 主機 Local IP)

=====> Proxy 伺服器連接埠 ==> 8888 (Fiddler預設的port)

=====> IP 設定 ==> DHCP

完成

如果 router不使用 DHCP

=====> IP 設定 ==> 靜態

依據你的router設定,再設定你手機的 Local lan IP



註:有一個 android app可以簡化重複的設定 Proxy Settings


4.) PC 開啟 Fiddler,手機開啟要用 APP


使用心得, 雖然 Fiddler能抓加密的 https,但仍然破解不了內容,基本capture https data沒用,一堆使用 https 連線的APP,例如: youtube、hkepc app不能用,連不了線。Fiddler偽造不了https 的e-cert。

2015年11月26日 星期四

直接錄下港台的網上直播(聲音) script

https://goo.gl/GnMdHo

下載檔案後,double click以下檔案執行

download_rthk_live_radio_1.wsf
download_rthk_live_radio_2.wsf
download_rthk_live_radio_3.wsf
download_rthk_live_radio_4.wsf
download_rthk_live_radio_5.wsf
download_rthk_live_radio_pth.wsf
download_rthk_live_radio_dab31.wsf
download_rthk_live_radio_dab33.wsf
download_rthk_live_radio_dab35.wsf


已知 Bug

- 沒有停止錄影的按鈕,直接關閉程式就可以了,或在command prompt windows 按 Ctrl + C




refs:

節目表

第一台
第二台
Radio 3
Radio 4
第五台
普通話台
數碼31
DAB33
數碼35

http://programme.rthk.hk/assets/schedule/rthk_radio1_schedule.xml
http://programme.rthk.hk/assets/schedule/rthk_radio2_schedule.xml
http://programme.rthk.hk/assets/schedule/rthk_radio3_schedule.xml
http://programme.rthk.hk/assets/schedule/rthk_radio4_schedule.xml
http://programme.rthk.hk/assets/schedule/rthk_radio5_schedule.xml
http://programme.rthk.hk/assets/schedule/rthk_pth_schedule.xml

http://programme.rthk.hk/assets/schedule/rthk_dab31_schedule.xml
http://programme.rthk.hk/assets/schedule/rthk_dab33_schedule.xml
http://programme.rthk.hk/assets/schedule/rthk_dab35_schedule.xml

2015年11月25日 星期三

直接錄下傷台的網上直播 script



下載檔案後,double click
"download_crhk_881_audio.wsf" 或  "download_crhk_903_audio.wsf"執行



https://goo.gl/GrmrcG

已知 Bug

- 沒有停止錄影的按鈕,直接關閉程式就可以了,或在command prompt windows 按 Ctrl + C



新增檔案:
- download_crhk_881_mp3_directly.wsf    直接使用ffmpeg轉錄成mp3
- download_crhk_903_mp3_directly.wsf    直接使用ffmpeg轉錄成mp3
- download_crhk_881_mp3_duration_mins_5.wsf    錄下時限為 5 分鐘

用途:

配合BIOS或UEFI定時開機,加上Task Scheduler (排定工作)並加上錄音長度設定,能自動錄下定時定長度的電台節目,如果在程式放到 google drive、onedrive的share folder,加上PC 自動 sync 上雲端的 client program 就能完成自動雲端廣播效果。

download_crhk_881_mp3_duration_mins_5.wsf

可更改檔名

download_crhk_881_mp3_duration_mins_60.wsf

則錄下時限為 60 分鐘


可更改檔名


download_crhk_903_mp3_duration_mins_60.wsf

則錄下crhk 903,時限為 60 分鐘

複製檔更改檔名為 download_crhk_881_mp3_duration_mins_10.wsf

則錄下crhk 881,時限為 10 分鐘



download_crhk_881_mp3_duration_mins_5.wsf




參考資料
===============================================================
網上直播



http://event.881903.com/hktbaudioplayer/player_token.php?ch=hd881

http://stream-redirect.hktoolbar.com/radio-HTTP/cr1-hd.3gp/playlist.m3u8



高清881
http://stream-redirect.hktoolbar.com/radio-HTTP/cr1-hd.3gp/playlist.m3u8

高清903
http://stream-redirect.hktoolbar.com/radio-HTTP/cr2-hd.3gp/playlist.m3u8

am864
http://stream-redirect.hktoolbar.com/radio-HTTP/am864.3gp/playlist.m3u8


http://www.hkepc.com/forum/viewthread.php?tid=2175915&rpid=33176153&ordertype=0&page=4#pid33176153


裝hktoolbar、Fiddler後,開啟hktoolbar、Fiddler可以看到真正播放網址

http://www.881903.com/main/modules/webtoolbar/player_geo.html#hd881

http://www.881903.com/main/modules/webtoolbar/player_geo.html?v=5759#hd903

http://www.881903.com/main/modules/webtoolbar/player_geo.html#hd864

http://event.881903.com/hktbaudioplayer/scripts/player_token.js


Free mp3 online broadcasting /host 參考資料
===============================================================
 https://soundcloud.com

 http://www.myaudiocast.com

 https://www.mediafire.com

 https://www.dropbox.com

 http://www.techbang.com/posts/6503-cover-story-droptunes-music-republic-zhang-sheng


2015年11月23日 星期一

直接錄下港台電視的網上直播 script

下載檔案後,double click
"download_rthk31_live_video.wsf" 或  "download_rthk32_live_video.wsf"執行


https://goo.gl/GnOY6r

已知 Bug
- 聲畫不同步 (甩嘴),Kmplayer 4以前,但奇怪 Media Player Classic、Vlc player 則正常
- 沒有停止錄影的按鈕,直接關閉程式就可以了,或在command prompt windows 按 Ctrl + C

2015年7月1日 星期三

初試下載 i-cable 網頁上的影片,結果....

比我想像之中要更困難,初時我以為是很容易的。

總結,找 i-cable 網頁上片源是有點麻煩................

找i-cable 手機 apps 影片片源是容易的,但不能寫成自動化script,因為破譯不了下載link的 token

想轉貼 i-cable 網頁上片源 到社交網站上,一般人還是推薦使用 Internet Download Manager 去 download i-cable 網頁上片源,這是我現在想到最簡單的解決方法。



基本我不看 i-cable的,而是一位 hkepc 網友問我的問題。


第一天,試看有沒有 hls live streaming link,使用 user agent switcher模擬 iphone 觀看,結果沒有發現網頁有為 iphone 或 android 提供特別觀看 link。 之後直接 google 找有沒有人寫下下載方法,發現有使用 rtmpdump 下載方法,rtmpdump 模擬 rtmp prptocol,使用proxy rtmp連接方法去間接 capture data,試了真 work,但下載方法實在太麻煩,影片質素效果實在太差了,有時會甩嘴,聲畫不同步,下載時間很長,下載時間幾乎等同播放時間。雖然找到下載之法,但效果太差,還是不能用。


第二天,我將 rtmpdump 下載 i-cable 網頁上影片方法寫成script,但效果強差人意

download_icable_web_video.wsf (download i-cable 網頁影片script 要輸入 download i-cable影片網址)
 https://onedrive.live.com/download.aspx?cid=46E82FEE17A376C2&resid=46E82FEE17A376C2!162&canary=mmHimANIuy9NcZ8ZhzD4pa5pL11mCng%2BjhZCKtUM0Ok%3D6

其實找i-cable 手機 apps 影片片源更容易,但怎樣教懂一個普通人(這才是問題) 去分析並capture android tcp packet 然後再使用複雜工具去下載?

使用 i-cable apps 再使用Fiddler分析tcp packet,很容易就找到手機影片的 m3u8 playlist link,再使用 livestreamer或 ffmpeg  便很容易 download 得到影片,而且極少出現問題,沒有聲畫不同步的問題,沒有輸入多個 parameter 輸入錯誤之問題,但這個使用方法的先決條件係懂得livestreamer運用和有一定電腦知識,並且需要有一部已 root了的手機和一部PC。




reference link
RTMPDumpHelper 教學(youtube link)
RTMPDumpHelper 教學2 (youtube link)
RtmpDump ksv compile 版本
Downloads · K-S-V/Scripts · GitHub 
Save video from i-cable.com
Android抓包方法(一) 之Fiddler代理
ProxyDroid - Google Play Android 應用程式
 

2015年5月16日 星期六

Download 網上香港電台節目重溫(影片) script 0.2 (使用LiverStreamer.exe下載)

download_rthk_video_0.2.zip
https://docs.google.com/uc?id=0B0tG3vM1zAQwNGZCd3hZYUgwbVE&export=download


1.) double click "download_rthk_video.wsf"

2.) 輸入
http://programme.rthk.hk/rthk/tv/programme.php?name=tv/sciencewithyou2015&d=2015-05-01&p=6813&e=303232&m=episode

3.) 等待 download 完結

4.) Download 完結後,開啟 download 檔案看看有沒有問題,如有問題可以重複步驟1.)下載多一次

refs:
http://forum8.hkgolden.com/view.aspx?type=BW&message=5820479


註: 以上連結
http://programme.rthk.hk/rthk/tv/programme.php?name=tv/sciencewithyou2015&d=2015-05-01&p=6813&e=303232&m=episode 已失效,如果想測試可以看看 RTHK 31 節目表找還未過期可以網上重溫的影片網址作輸入

2015年4月8日 星期三

Download 香港電台節目重溫 windows script_alpha v0.08

Download 香港電台節目重溫 windows script_alpha v0.08

- download 1


changelog:
- 新增: 第二次執行時,檢查是否已下載相同檔案,如果在線 m3u8 playlist 長度與已下載音樂檔長度相同,略過該下載任務

"download_Rthk_audio.wsf"

step guides:
===================================================================
unzip file,download click "download_Rthk_audio.wsf",輸入要download節目網頁網址
(不是popup player link)

例如輸入
http://programme.rthk.hk/channel/radio/programme.php?name=radio1/openline_openview&d=2015-03-11&p=1069&e=299215&m=episode

 不要輸入
http://programme.rthk.hk/channel/radio/player_popup.php?pid=1069&eid=299215&d=2015-03-11&player=mp3&type=archive&channel=radio1

refs:
http://forum5.hkgolden.com/view.aspx?type=SW&message=4940044

2015年4月7日 星期二

Download 香港電台節目重溫 LiveStreamer script 0.26 (使用LiverStreamer.exe下載 RTHK 節目)

Download

新 v.026
https://goo.gl/15exM2

舊 v0.25
https://www.sendspace.com/file/fsjl2u

v0.2   新增: 執行第二次時,略過已成功下載的檔案
v0.25 修正錯誤,修正不正常執行
v0.26 修正下載檔案名稱錯誤,修正不能下載普通話台節目

step guides:

===================================================================

unzip file,download click "download_Rthk_audio_by_livestreamer",輸入要download節目網頁網址 (不是popup player link)


例如輸入

http://programme.rthk.hk/channel/radio/programme.php?name=radio1/openline_openview&d=2015-03-11&p=1069&e=299215&m=episode


 不要輸入

http://programme.rthk.hk/channel/radio/player_popup.php?pid=1069&eid=299215&d=2015-03-11&player=mp3&type=archive&channel=radio1


refs:

http://passerbyhk.blogspot.hk/2014/02/blog-post.html

http://forum5.hkgolden.com/view.aspx?type=SW&message=4940044

2015年4月4日 星期六

Download 香港電台節目重溫 LiveStreamer script 0.1

Download 香港電台聲音節目 LiveStreamer script 0.1 (使用LiverStreamer.exe下載 RTHK 節目)
https://www.sendspace.com/file/0w9o23


step guides:
===================================================================
unzip file,download click "download_Rthk_audio_by_livestreamer",輸入要download節目網頁網址 (不是popup player link)

例如輸入
http://programme.rthk.hk/channel/radio/programme.php?name=radio1/openline_openview&d=2015-03-11&p=1069&e=299215&m=episode

 不要輸入
http://programme.rthk.hk/channel/radio/player_popup.php?pid=1069&eid=299215&d=2015-03-11&player=mp3&type=archive&channel=radio1

refs:
http://passerbyhk.blogspot.hk/2014/02/blog-post.html
http://forum5.hkgolden.com/view.aspx?type=SW&message=4940044

2015年3月28日 星期六

mp3DirectCut 新增右鍵選單.reg


將下文貼到記事本,另存新檔,另存檔名 mp3DirectCut.reg,存檔類型要選所有檔案(*.*)



當然要先安裝 mp3DirectCut 到 C:\mp3DirectCutPortable\,Double click "mp3DirectCut.reg" ,按 "是" 匯入到 registry 即完成。 以後在 mp3 檔案按右鍵選單 mp3DirectCut 選項,即可開啟 mp3DirectCut編輯該檔案

使用 LiveStreamer 下載香港電台節目重溫

方法:使用 LiveStreamer下載香港電台節目重溫 (聲音)
=========================
livestreamer 介紹
http://www.videohelp.com/tools/livestreamer

用法例子 
http://stream-recorder.com/forum/download-audio-streamed-jwplayer-t19521.html

以 windows 版的 LiveStremer 為例,下載以下節目

講東講西 - 任性

先下載 LiveStreamer ,解壓

「命令提示字元」 MS-DOS Command Prompt 下輸入

Step 1
============================================================
livestreamer "hlsvariant://stmw3.rthk.hk/aod/_definst_/radio/archive/radio1/Free_as_the_wind/mp3/mp3:20150327.mp3/playlist.m3u8"  best -o 20150327.ts

Step 2
============================================================
再使用ffmpeg轉換 ts file為 mp3 file,去除一些不必要的 header data

ffmpeg -i "20150327.ts" -c:a copy "20150327.mp3"

完

ref:
http://passerbyhk.blogspot.hk/2014/02/blog-post.html




使用 LiveStreamer下載港台節目 (影片)

首先建議先看看有沒有rthk podcast / rthk@youtube 的影片可以下載,如果沒有才考慮從 rthk  網站下載,以下載以下節目為例

左右紅藍綠 - 政府打壓新聞自由
 
Step 1
檢視原始碼,找出要下載的 playlist 網址 (以 .m3u8結尾)
http://rthkvod1-vh.akamaihd.net/i/mp4/tv/2015/201503302255.smil/master.m3u8

將  http 改為 hlsvariant,造成新的 parameter

hlsvariant://rthkvod1-vh.akamaihd.net/i/mp4/tv/2015/201503302255.smil/master.m3u8

在 「命令提示字元」 MS-DOS Command Prompt 下輸入

============================================================


Step 2
============================================================
再使用ffmpeg轉換 ts file為 mp4 file,去除一些不必要的 header data




完


註:RTHK 直播 link 為 http://rthk.hk/dtt/rthktv31.m3u8

2015年3月25日 星期三

Download 香港電台節目重溫 windows script_alpha v0.07

Download 香港電台聲音節目 windows script_alpha v0.07

- download 1


changelog:
- 新增:一個 download_Rthk_audio_By_download_link_List.wsh,批次下載多個不同網址的香港電台聲音節目,下載網址來源檔案為 download_link_List.txt

"download_Rthk_audio.wsf"

step guides:
===================================================================
unzip file,download click "download_Rthk_audio.wsf",輸入要download節目網頁網址
(不是popup player link)

例如輸入
http://programme.rthk.hk/channel/radio/programme.php?name=radio1/openline_openview&d=2015-03-11&p=1069&e=299215&m=episode

 不要輸入
http://programme.rthk.hk/channel/radio/player_popup.php?pid=1069&eid=299215&d=2015-03-11&player=mp3&type=archive&channel=radio1

refs:
http://forum5.hkgolden.com/view.aspx?type=SW&message=4940044


 ====================================================================
 
 "download_Rthk_audio_By_download_link_List.wshf"

Step guides:
  • 變更 download_link_List.txt 內容,例如,如下
  • double click "download_Rthk_audio_By_download_link_List.wshf 執行下載


http://programme.rthk.hk/channel/radio/programme.php?name=openline_openview&d=2015-03-24&p=1069&e=&m=episode
http://programme.rthk.hk/channel/radio/programme.php?name=radio2/freeaswind&d=2014-07-20&p=414&e=271537&m=episode
http://programme.rthk.hk/channel/radio/programme.php?name=radio2/freeaswind&d=2014-07-06&p=414&e=269266&m=episode


2015年3月22日 星期日

Download 香港電台節目重溫 windows script_alpha v0.065

Download 香港電台節目重溫 windows script_alpha v0.065

- download 1


change log:
- 新增:重複下載同一節目時,將已存在檔案改名為 XXXX_old.mp3
- 修正:讀取 clipboard 中港台節目 URL 會讀不到情況
- 新增:一個 download_Rthk_audio & Description.wsh,功能一樣,但多一載節錄內容介紹 
step guides:
===================================================================
unzip file,download click "download_Rthk_audio.wsf",輸入要download節目網頁網址
(不是popup player link)

例如輸入
http://programme.rthk.hk/channel/radio/programme.php?name=radio1/openline_openview&d=2015-03-11&p=1069&e=299215&m=episode

 不要輸入
http://programme.rthk.hk/channel/radio/player_popup.php?pid=1069&eid=299215&d=2015-03-11&player=mp3&type=archive&channel=radio1

refs:
http://forum5.hkgolden.com/view.aspx?type=SW&message=4940044

2015年3月15日 星期日

Download 香港電台節目重溫 windows script_alpha v0.05

Download 香港電台節目重溫 windows script_alpha v0.05

- download 1
- download 2

change log:
- 更改下載節目的 ffmpeg windows 標題為節目分段名稱
- 同時 call 多個 ffmpeg windows,同時下載同一節目中的多個分段

unzip file,download click "download_Rthk_audio.wsf",輸入要download節目網頁 (不是popup player link),

例如輸入
http://programme.rthk.hk/channel/radio/programme.php?name=radio1/openline_openview&d=2015-03-11&p=1069&e=299215&m=episode

 不要輸入
http://programme.rthk.hk/channel/radio/player_popup.php?pid=1069&eid=299215&d=2015-03-11&player=mp3&type=archive&channel=radio1

refs:
http://forum5.hkgolden.com/view.aspx?type=SW&message=4940044



2014年2月28日 星期五

下載香港電台節目重溫方法

Update: 2015-5-17 更新並整理內容
===========================

方法1:使用 internet download manager 下載
方法2:使用 ffmpeg 下載
方法3:使用 LiveStreamer 下載
方法4:使用 Download manager 下節目的 playlists 中的多個 ts 檔案
方法5:自行寫 program 解釋 HLS (HTTP Live Streaming),並下載檔案 (待寫)
方法6:編寫script並使用 ffmpeg、LiveStreamer下載


方法1:使用 internet download manager
========================================== 
internet download manager 能下載所有playlist中所有 ts 檔案並自動合併成單一檔案



refs: http://forum4.hkgolden.com/view.aspx?type=SW&message=5226138


方法2:使用 ffmpeg 下載
=====================

第一步下載 ffmpeg
http://www.ffmpeg.org/download.html

以下以 windows 為例子,Mac /Linux 下載方法細節自行推敲吧。


第二步到要重溫節目聲音檔案網頁,打開重溫節目的 Rthk player 網頁

第三步檢視原始碼
找出要下載的 playlist 網址

以講東講西為例子,打開獨立 Rthk player 網頁

下載完整全部份網址
 
下載第一部份網址
 
下載第二部份網址

「命令提示字元」 MS-DOS Command Prompt 下輸入

ffmpeg -i "http://stmw.rthk.hk/aod/_definst_/radio/archive/radio1/happydaily/mp3/mp3:20140128.mp3/playlist.m3u8?wowzaplaystart=0&wowzaplayduration=2398000" -acodec mp3 OutputTest12345.mp3


等待數分鐘後便完成下載 (轉錄 stream),檔名為 OutputTest12345.mp3 (自訂的檔案名)


方法3:使用 LiveStreamer 下載
=========================
livestreamer 介紹
http://www.videohelp.com/tools/livestreamer

用法例子 
http://stream-recorder.com/forum/download-audio-streamed-jwplayer-t19521.html

以 windows 版的 LiveStremer 為例,下載以下節目

講東講西 - 任性

先下載 LiveStreamer ,解壓

「命令提示字元」 MS-DOS Command Prompt 下輸入

Step 1
============================================================
livestreamer "hlsvariant://stmw3.rthk.hk/aod/_definst_/radio/archive/radio1/Free_as_the_wind/mp3/mp3:20150327.mp3/playlist.m3u8"  best -o 20150327.ts

Step 2
============================================================
再使用ffmpeg轉換 ts file為 mp3 file,去除一些不必要的 header data

ffmpeg -i "20150327.ts" -c:a copy "20150327.mp3"

完


方法4:使用 Download manager 下節目的 playlists 中的多個 ts 檔案
=====================================================
待寫,暫時參考
http://blog.sina.com.cn/s/blog_571e0fe40101hrvo.html


方法5:自行寫 program 解釋 HLS (HTTP Live Streaming),並下載檔案 (待寫)
 ============================================================
- 什麼是 HTTP Live Streaming
- 什麼是 M3U、M3U8 file
- M3U8 格式
- note 一些細節
港台使用串流server軟件為 Wowza Media Server 3 Perpetual Edition 3.6.4 build9641
串流時 load balance到幾個不同server,下載串流網址其實互通的,一個 down 機時,可改用另一個server

http://stmw.rthk.hk
http://stmw1.rthk.hk
http://stmw2.rthk.hk
http://stmw3.rthk.hk

現成解釋 HLS 工具或script,e.g.
gohls - HTTP Live Streaming (HLS) downloader written in Golang
https://github.com/kz26/gohls 

 hlsclient
Client to download all files from HLS streams
This is a simple Python HTTP Live Streaming Client. It consumes a list of remote playlists, and saves all needed files to serve the playlist locally: the key, segments, and a modified m3u8 with paths normalized.