public:getting_get_iplayer_running_on_srcf
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
public:getting_get_iplayer_running_on_srcf [2018/08/27 12:40] – fangfufu | public:getting_get_iplayer_running_on_srcf [2018/08/27 21:59] (current) – [Update your get_iplayer] fangfufu | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Running get_iplayer on SRCF ====== | ====== Running get_iplayer on SRCF ====== | ||
- | Well, if you are here, congratulations - you are one of the elite of elites. | + | Well, if you are here, congratulations - you are one of the elite of elites |
- | + | ===== Get get_iplayer running ===== | |
- | ====== Get get_iplayer running | + | |
Right now, SRCF comes with ffmpeg, but not AtomicParsley. The Perl environment is also incomplete for running get_iplayer. Here is what I have to do to get my get_iplayer installation running: | Right now, SRCF comes with ffmpeg, but not AtomicParsley. The Perl environment is also incomplete for running get_iplayer. Here is what I have to do to get my get_iplayer installation running: | ||
Line 9: | Line 8: | ||
# go to home directory, in case you are not there. | # go to home directory, in case you are not there. | ||
cd ${HOME} | cd ${HOME} | ||
- | mkdir -p ${HOME}/bin | + | mkdir -p ~/bin |
cd bin | cd bin | ||
wget https:// | wget https:// | ||
Line 23: | Line 22: | ||
cd atomicparsley | cd atomicparsley | ||
./ | ./ | ||
- | ./configure --prefix | + | ./configure --prefix |
make | make | ||
make install | make install | ||
Line 29: | Line 28: | ||
</ | </ | ||
- | ===== Edit your get_iplayer option file ===== | + | ==== Update your get_iplayer ==== |
+ | If your get_iplayer becomes outdated, you need to do this: | ||
+ | |||
+ | < | ||
+ | cd ~/bin | ||
+ | cd bin | ||
+ | wget https:// | ||
+ | </ | ||
+ | |||
+ | ===== How to deal with large video files. | ||
+ | As of 27/ | ||
+ | |||
+ | ==== Edit your get_iplayer option file ==== | ||
<code bash> | <code bash> | ||
- | cd ${HOME} | + | cd ~ |
mkdir -p .get_iplayer | mkdir -p .get_iplayer | ||
mkdir -p mnt | mkdir -p mnt | ||
Line 39: | Line 50: | ||
This is my get_iplayer option file: | This is my get_iplayer option file: | ||
- | < | + | < |
modes tvbest, | modes tvbest, | ||
subsembed 1 | subsembed 1 | ||
Line 48: | Line 59: | ||
You can just copy and paste the content to the editor, then press '' | You can just copy and paste the content to the editor, then press '' | ||
- | ===== Update your get_iplayer ===== | + | ==== Generate SSH public/ |
- | < | + | You only have to do the following once. This is for setting up the authentication. The following code segment contain what is displayed in your terminal. The lines which contain command you have to type starts with '' |
- | cd ${HOME}/bin | + | |
- | cd bin | + | < |
- | wget https://raw.githubusercontent.com/get-iplayer/get_iplayer/master/get_iplayer -O get_iplayer | + | $ ssh-keygen |
+ | Generating public/private rsa key pair. | ||
+ | Enter file in which to save the key (/ | ||
+ | Enter passphrase (empty for no passphrase): | ||
+ | Enter same passphrase again: | ||
+ | Your identification has been saved in /home/ | ||
+ | Your public key has been saved in /home/USERNAME/.ssh/id_rsa.pub. | ||
+ | The key fingerprint is: | ||
+ | SHA256: | ||
</ | </ | ||
- | ====== How to deal with large video files. | + | Now, open up your notepad or your favourite text editor. Run the following in your terminal window: |
- | As of 27/Aug/2018, an 1 hour video from iPlayer at the best quality costs about 2.4GB. With SRCF, you get only 1GB [(https://www.srcf.net/faq/ | + | <code bash> |
+ | cat ~/.ssh/id_rsa.pub | ||
+ | </code> | ||
+ | Copy the output | ||
+ | The output of your '' | ||
+ | <code bash> | ||
+ | ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDOR6on6Yfjc0h7dqdiMbmbHpGbKXGYt44thV94aMVKCS+JUR+QlMUxO+gL6vYt+Cjx0IoMg7c/ | ||
+ | </ | ||
+ | <note warning> | ||
+ | DO NOT DISCLOSE THE CONTENT OF id_rsa TO OTHER PEOPLE, INCLUDING YOUR SYSADMIN! | ||
+ | </ | ||
+ | |||
+ | As a reminder, public key authentication comes in two keys - the public key and the private key. The public key can be shown to everyone, it is used for encryption. The private key is used for decryption. Therefore you can show your public key to everyone, but you need to keep your private key secret. '' | ||
+ | |||
+ | ==== Using SSHFS ==== | ||
+ | After logging into SRCF, to mount a remote folder locally, do the following: | ||
+ | <code bash> | ||
+ | sshfs fangfufu.co.uk:/ | ||
+ | </ | ||
+ | |||
+ | This assumes that you are at your home directory, if you are not, you can always change into your home directory by typing in: <code bash> | ||
+ | cd ~ | ||
+ | </ | ||
+ | |||
+ | Note that '' | ||
+ | |||
+ | When you are done, you should disconnect the SSHFS, by doing the following: | ||
+ | < | ||
+ | fusermount -u mnt | ||
+ | </ | ||
+ |
public/getting_get_iplayer_running_on_srcf.1535373651.txt.gz · Last modified: 2018/08/27 12:40 by fangfufu