I am planning to learn Norwegian again… NRK started to provide video contents online, and also subtitiles. Looks like a very good material to learn, but could I download it and not always be online?
I tried google “download nrk video” and found:
Great! At least I tested it on OS X 10.9, and a friend tested in Ubuntu, both works fine. It doesn’t support Windows yet.
And I set up a github repo for it:
Preparation:
- Linux:
1 |
sudo apt-get install php5 php5-curl libav-tools gpac mkvtoolnix mediainfo |
- Mac:
1 2 3 4 |
brew install ffmpeg brew install mediainfo curl -O http://download.tsi.telecom-paristech.fr/gpac/release/0.5.0/GPAC-0.5.0-OSX-64bits.dmg curl -O http://jonthn.free.fr/MKVtoolnix/Mkvtoolnix-6.0.0_2013-01-20-f398.dmg |
You need to install GPAC-0.5.0-OSX-64bits.dmg and Mkvtoolnix-6.0.0_2013-01-20-f398.dmg manually. And the README-MAC.txt said it also need to have Xcode installed. I am not sure about the reason.
- Get NRK opptak:
You could also get it from sourceforge files.
1 |
git clone git@github.com:liangqi/nrkopptak.git |
master(default) branch is for Linux. If you are using Mac, please checkout mac branch:
1 |
git checkout -b mac origin/mac |
And copy the scripts into your bin directory or /usr/local/bin, for example:
1 2 |
cd nrkopptak cp bin/* ~/bin |
- Download
For example, there is De nominerte 1:5:
1 |
nrk-recorder m http://tv.nrk.no/serie/de-nominerte/muhu26000313/sesong-2/episode-1 |
You will get a .mp4 file for it, with subtitles!
More details about how to use it:
1 |
nrk-recorder h |
Thanks to Falkeklubben, the author of NRK opptak.
Enjoy it!