get_iplayer Digest, Vol 39, Issue 48

Neill Mitchell neill at nlkmitchell.com
Tue Jul 23 05:26:26 EDT 2013


Hi.

It was so long ago I need to work out what all the dependencies were. 
You need to be comfortable using a linux console via ssh.

I can remember this much:

You need a working LAMP install if you want to use the PVR GUI. Simplest 
way to achieve this is to install Wordpress from the Package Centre. You 
won't actually use Wordpress, but the package installs apache for you. 
If you don't need the GUI then you don't need to do this.

First step is to install the build tools and libraries. For this you 
need to install ipkg. Carefully follow the instructions here:
http://forum.synology.com/wiki/index.php/Overview_on_modifying_the_Synology_Server,_bootstrap,_ipkg_etc#How_to_install_ipkg

Then type
ipkg update
ipkg upgrade

ipkg install optware-devel

When performing local builds remember that by default *./configure* will 
set up the build to install to */usr/bin* etc whereas it is sensible to 
make it install into the */opt* root. Generally you can just get away 
with doing this:

./configure --prefix=/opt


You then need to install a LOT of modules and libraries here's the list:
alsa-lib
binutils
coreutils
diffutils
expat
faad2
ffmpeg
file
flac
freetype
gcc
gdbm
git
id3lib
ivorbis-tools
lame
liba52
libao
libc-dev
libcurl
libdb
libdvdread
libid3tag
libjpeg
libmad
libmpeg2
libnsl
libogg
libpng
libsndfile
libtool
libvorbis
libvorbisidec
lzo
make
mpg123
nano
ncurses
openssl
librari
openssl-dev
perl
perl-compress-zlib
perl-html-parser
perl-html-tagset
perl-libwww
perl-uri
rcs
recode
sox
wavpack
wget
x264
zlib

Use
ipkg install
To install them all.

Then you need to compile rtmpdump. To do this:

cd /opt
*git clone git://git.ffmpeg.org/rtmpdump

cd rtmpdump
*./configure --prefix=/opt
make
make install

Now I seem to remember it threw an error at some point due to a library 
dependency. This was easy to fix, but I'll need someone to give me the 
error so I can tell you what to do.

Then you can install get_iplayer:

cd /opt
git clone git://git.infradead.org/get_iplayer.git
cd get_iplayer
./get_iplayer

It should fetch the TV and radio lists. If it does, it's looking good :) 
Easiest to copy get_iplayer to the executable path:
cp get_iplayer /opt/bin

To run up the PVR GUI type:
perl get_iplayer.cgi --port=1935 --getiplayer=/usr/bin/get_iplayer 
--listen=192.168.0.2
replacing the listen IP address with your Synology's internal IP.
Connect to the GUI by pointing your browser to:
http://192.168.0.2:1935 (again using your NAS IP)

Then try downloading a programme to check it encodes it correctly. It's 
not very quick on the poor little ARM, especially HD content.

I expect you will encounter some dependency errors during the builds. 
Let me know and I'll try to work out what they are. I simply can't 
remember after 2 years!

Cheers
Neill.
On 23/07/13 00:31, George Branchflower wrote:
> Hello Neill
>
> I for one would be very interested in getting get_iplayer to run on my
> Synology.  How did you get it to work?
>
> -----Original Message-----
> From: get_iplayer [mailto:get_iplayer-bounces at lists.infradead.org] On Behalf
> Of Neill Mitchell
> Sent: 17 July 2013 20:41
> To: get_iplayer at lists.infradead.org
> Subject: Re: get_iplayer Digest, Vol 39, Issue 48
>
> How on earth do I actually post on this list?
>
> I have tried five times to post about getting get_iplayer working on
> Synology boxes. Each gets stuck in the moderator queue (which nobody seems
> to be monitoring) with "Message has a suspicious header" error.
>
> Am I wasting my time? I'm trying to help here!
>
> Very frustrating indeed.
>
>
>
> _______________________________________________
> get_iplayer mailing list
> get_iplayer at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/get_iplayer
>
>




More information about the get_iplayer mailing list