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:33] – [File size consideration] fangfufu | public:getting_get_iplayer_running_on_srcf [2018/08/27 21:59] (current) – [Update your get_iplayer] fangfufu | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== |
- | 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 ===== | ||
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 8: | 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 22: | Line 22: | ||
cd atomicparsley | cd atomicparsley | ||
./ | ./ | ||
- | ./configure --prefix | + | ./configure --prefix |
make | make | ||
make install | make install | ||
Line 28: | 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 | ||
# Open up the editor | # Open up the editor | ||
nano .get_iplayer/ | nano .get_iplayer/ | ||
Line 37: | 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 46: | 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: | ||
</ | </ | ||
- | ===== File size consideration ===== | + | Now, open up your notepad or your favourite text editor. Run the following |
- | These are dumped by running '' | + | < |
- | < | + | cat ~/ |
- | modesizes: | + | |
- | hvfhd1=2443MB, | + | |
- | hvfhd2=2443MB, | + | |
- | hvfhd3=2443MB, | + | |
- | dvfhd1=2209MB, | + | |
- | dvfhd2=2209MB, | + | |
- | hvfsd1=1419MB, | + | |
- | hvfsd2=1419MB, | + | |
- | hvfsd3=1419MB, | + | |
- | dvfsd1=1225MB, | + | |
- | dvfsd2=1225MB, | + | |
- | hvfxsd1=872MB, | + | |
- | hvfxsd2=872MB, | + | |
- | hvfxsd3=872MB, | + | |
- | dvfxsd1=699MB, | + | |
- | dvfxsd2=699MB, | + | |
- | hvfhigh1=857MB, | + | |
- | hvfhigh2=857MB, | + | |
- | hvfhigh3=857MB, | + | |
- | dvfhigh1=684MB, | + | |
- | dvfhigh2=684MB, | + | |
- | hvfxhigh1=520MB, | + | |
- | hvfxhigh2=520MB, | + | |
- | hvfxhigh3=520MB, | + | |
- | dvfxhigh1=360MB, | + | |
- | dvfxhigh2=360MB, | + | |
- | hvflow1=343MB, | + | |
- | hvflow2=343MB, | + | |
- | hvflow3=343MB, | + | |
- | dvflow1=190MB, | + | |
- | dvflow2=190MB, | + | |
- | subtitles1=107kB, | + | |
- | subtitles2=107kB | + | |
- | [estimated sizes only] | + | |
</ | </ | ||
+ | Copy the output to notepad, and save it as a text file, send it to your storage server operator. This is the preferred way of doing things, because a lot of instant messaging software corrupts the long text string. | ||
+ | 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.1535373180.txt.gz · Last modified: 2018/08/27 12:33 by fangfufu