User Tools

Site Tools


public:getting_get_iplayer_running_on_srcf

This is an old revision of the document!


Getting get_iplayer running on SRCF

Well, if you are here, congratulations - you are one of the elite of elites.

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
# 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

File size consideration

These are dumped by running ``get_iplayer –info`` on 27/Aug/2018. It might change in the future. Do note that with SRCF, you get only 1GB 1) of storage quota. So you might want to ``sshfs`` mount your output directory.

modesizes:       original: 
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]
public/getting_get_iplayer_running_on_srcf.1535373032.txt.gz · Last modified: 2018/08/27 12:30 by fangfufu