Posts

Showing posts from March, 2014

Download RTHK audio programme archive

Image
In the following, I will show you how we can download RTHK audio programmes through its archive directly. Here we assume you have install ffmpeg . 1) Visit here to locate the programme that you want to download. Go to the page where you can play the sound file. 2) Right click on the webpage so you can view the source code. For example, with Interent Explorer, you should choose the "View Source" item. 3) Locate the value of hlsStreamUrl[0] . In the following example, it is " http://stmw2.rthk.hk/aod/_definst_/radio/archive/radio1/hkfootpath/mp3/mp3:20140330.mp3/playlist.m3u8 " 4) At where you can access ffmpeg executable, run the following command: ffmpeg -i [hlsStreamUrl[0]] [output_filename] In the following example, it is: ffmpeg -i http://stmw2.rthk.hk/aod/_definst_/radio/archive/radio1/hkfootpath/mp3/mp3:20140330.mp3/playlist.m3u8 output.mp3 Reference: here P.S. RTHK mp3 player: http://rthk.hk/mp3/player.htm