Wednesday, March 01, 2017

HOWTO : Watching China and Hong Kong Online TV on Ubuntu Desktop 16.04 LTS

Step 1 :

wget http://archive.getdeb.net/install_deb/getdeb-repository_0.1-1~getdeb1_all.deb
sudo dpkg -i getdeb-repository_0.1-1~getdeb1_all.deb

sudo apt-get update
sudo apt-get install youtube-dl


Step 2 :

sudo add-apt-repository ppa:djcj/vapoursynth
sudo apt-get update
sudo apt-get install mpv


(A1) Watch CCTV (China) [Most Updated Method]

If you select this method, you are NOT required to do the "Step 1" and "Step 2".

The "CNTVLive2 plugin for 64BitLinux v2.0.0.3" is updated on March 3, 2017 and it solved the force close problem. It plays CCTV Online TV smoothly. After the plugin is installed, you need to bypass the signed add-on problem by using the following way.

WARNING : After doing the following steps, you have a RISK to install malicious Firefox add-on by accident!

At the URL field at the Firefox, type :

about:config

Look for the following and double click it to turn it to "false" :

xpinstall.signatures.required

You can click on one of the following links to install the plugin when prompted.

CCTV Live Channel 1
CCTV Live Channel 2
CCTV Live Channel 3
CCTV Live Channel 4
CCTV Live Channel 5
CCTV Live Channel 6
CCTV Live Channel 7
CCTV Live Channel 8
CCTV Live Channel 9
CCTV Live Channel 10
CCTV Live Channel 11
CCTV Live Channel 12
CCTV Live Channel 13
CCTV Live Channel 14
CCTV Live Channel 15
CCTV Live Channel 5+

* make sure Flash is installed and enabled
* some channels are copyrighted and only plays in China Region

(A2) Watch CCTV (China) [Outdated Method]

If you select this method, you need to do "Step 1" and "Step 2".

You need to install Firefox add-ons, namely watch-with-mpv.

https://addons.mozilla.org/en-US/firefox/addon/watch-with-mpv/

CCTV Live Channel 1
CCTV Live Channel 2
CCTV Live Channel 3
CCTV Live Channel 4
CCTV Live Channel 5
CCTV Live Channel 6
CCTV Live Channel 7
CCTV Live Channel 8
CCTV Live Channel 9
CCTV Live Channel 10
CCTV Live Channel 11
CCTV Live Channel 12
CCTV Live Channel 13
CCTV Live Channel 14
CCTV Live Channel 15
CCTV Live Channel 5+

Optional settings :
Preferences -- Additional playr parameters
--buffer-size 2048 --no-check-certificate --skip-unavailable-fragments --sleep-interval 0.05 --max-sleep-interval 0.5 --limit-rate 2M

* make sure Flash is installed and enabled
* some channels are copyrighted and only plays in China Region

(B) Watch ViuTV (Hong Kong)

If you select this option, you need to do "Step 2" only.

nano viutv

Append with the following content and save it.



To run :

./viutv

Enjoy!!!

That's all! See you.