Posts

Showing posts with the label RTHK

Hong Kong media HD stream direct links

You can use VLC player to play these links directly. RTHK Radio 1:  http://rthkaudio1-lh.akamaihd.net/i/radio1_1@355864/master.m3u8 Radio 2:  http://rthkaudio2-lh.akamaihd.net/i/radio2_1@355865/master.m3u8 Radio 3:  http://rthkaudio3-lh.akamaihd.net/i/radio3_1@355866/master.m3u8 Radio 4:  http://rthkaudio4-lh.akamaihd.net/i/radio4_1@355867/master.m3u8 Radio 5:  http://rthkaudio5-lh.akamaihd.net/i/radio5_1@355868/master.m3u8 Radio PTH:  http://rthkaudio6-lh.akamaihd.net/i/radiopth_1@355869/master.m3u8 DAB 31:  http://rthkaudio7-lh.akamaihd.net/i/dab31_1@355870/master.m3u8 DAB 32:  http://rthkaudio8-lh.akamaihd.net/i/dab33_1@355871/master.m3u8 DAB 35:  http://rthkaudio9-lh.akamaihd.net/i/dab35_1@355872/master.m3u8 TV31:  http://rthklive1-lh.akamaihd.net/i/rthk31_1@167495/index_2052_av-b.m3u8 TV32:  http://rthklive2-lh.akamaihd.net/i/rthk32_1@168450/index_2052_av-b.m3u8 References https://sites.google.com/site/mobe...

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

RTHK Octoshape Streams

NOTE: As at Aug 2015, the octoshape streams of RTHK have been shut down. Please visit  here for the replacement m3u8 streams instead. You need to specify the stream locators if you run the octoshape client separately. (For example, if you run Linux, you can't invoking the program from the RTHK live broadcast pop-up window in the corporate's web main page. You can only type in command line > ./OctoshapeClient - url: [stream_locators] Replace [stream_locators] with the media you want: RTHK Radio 1: rthk.ch1 RTHK Radio 2: rthk.ch2 RTHK Radio 3: rthk.ch3 RTHK Radio 4: rthk.ch4 RTHK Radio 5: rthk.ch5 RTHK PTH: rthk.ch6 RTHK Live TV: rthk.livetv RTHK DAB31: rthk.ch31 RTHK DAB33: rthk.ch33 RTHK DAB35: rthk.ch35 Remark on Mar 25, 2010: In Linux, if you start the octoshape client by the command line > ./OctoshapeClient Then webpages which has octoshape stream available in Flash (e.g. The RTHK Radio Live Player ) will be played properly. P.S. RTHK TV str...

Fix "My RTHK Radio Player" Windows Gadget

Image
Although looking elegant, the My RTHK radio player available in the official site (at least the Windows gadget version) suffers from two critical problems on displaying the schedule. If you are in a time zone different from HKT (GMT +8), the on-air program shown in minimized mode is based on the program schedule of the day and your local time . Suppose you are in the US. At the time you are in your morning while Hong Kong is at night, the live stream plays the night show, but the on-air program shown is some morning show. The gadget retrieves program schedules which is updated every midnight. However, each schedule covers time from 6.00am - 5.59am the next day. This means when you are at time from 0.00am - 5.59am, the schedules you have are for the next day. Fix: Download the gadget file. Unzip it. (Renaming the extension to .zip may help.) Open script/common.js as a text file (with Notepad, for example). Look for the line var currentH = current.getHours(); (which is in the de...