User Tools

Site Tools


public:getting_get_iplayer_running_on_srcf

This is an old revision of the document!


Running get_iplayer on SRCF

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:

(The lines started with # are comments.)

# go to home directory, in case you are not there.
cd ${HOME}
mkdir -p ${HOME}/bin
cd bin
wget https://raw.githubusercontent.com/get-iplayer/get_iplayer/master/get_iplayer
chmod +x get_iplayer
 
# cpanminus and Perl local::lib, for running get_iplayer
wget -O- "http://cpanmin.us" | perl - -l ~/perl5 App::cpanminus local::lib
eval `perl -I ~/perl5/lib/perl5 -Mlocal::lib`
echo 'eval `perl -I ~/perl5/lib/perl5 -Mlocal::lib`' >> ~/.profile
 
# AtomicParsley, for tagging the MP4 file.
hg clone https://bitbucket.org/wez/atomicparsley 
cd atomicparsley
./autogen.sh
./configure --prefix ${HOME}
make 
make install
cd ${HOME}

Edit your get_iplayer option file

cd ${HOME}
mkdir -p .get_iplayer
mkdir -p mnt
# Open up the editor
nano .get_iplayer/options 

This is my get_iplayer option file:

modes tvbest,radiobest
subsembed 1
subtitles 1
nopurge 1
output mnt

You can just copy and paste the content to the editor, then press Ctrl + O then Ctrl + X to exit. Note that I output my files to a folder called mnt.

Update your get_iplayer

cd ${HOME}/bin
cd bin
wget https://raw.githubusercontent.com/get-iplayer/get_iplayer/master/get_iplayer -O get_iplayer

How to deal with large video files.

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 1) of storage quota - I am not sure if you want to email the sysadmin to increase the quota. I prefer to to save my file elsewhere on the Internet. I do this my using sshfs.

public/getting_get_iplayer_running_on_srcf.1535373651.txt.gz · Last modified: 2018/08/27 12:40 by fangfufu