I gave up on the iPlayer Desktop application years ago when Adobe dropped support for the Air platform on Linux. Instead I use the command line tool get_iplayer along with a couple of aliases to make it easier to use.
I have these 2 aliases in my ~/.bashrc file:
Code:
alias ipl='get_iplayer --nocopyright'
alias gipl='get_iplayer --nocopyright --output=~/Videos --tvmode=flashhd,flashvhigh,flashhigh,flashstd,flashnormal --get'
It's now a simple task to use the ipl command to search for programmes...
Code:
rob@arch:~$ ipl star
Matches:
421: Little Stargazing - -, BBC Two, Learning,Primary,TV, default
653: Stargazing Challenges - -, BBC Two, Learning,Primary,TV, default
654: Stargazing LIVE: Series 3 - 2. Back to Earth 1, Highlights, Factual,Nature & Environment,Science & Nature,TV, default
655: Stargazing LIVE: Series 3 - Episode 1, BBC Two, Factual,HD,Nature & Environment,Science & Nature,TV, default,
INFO: 4 Matching Programmes
rob@arch:~$
And then to use the gipl command to download the required programme in the highest quality available and then place the transcoded mp4 file into my Videos folder...
Code:
rob@arch:~$ gipl 655
Matches:
655: Stargazing LIVE: Series 3 - Episode 1, BBC Two, Factual,HD,Nature & Environment,Science & Nature,TV, default,
INFO: 1 Matching Programmes
INFO: Checking existence of default version
INFO: flashvhigh1,flashvhigh2,flashvhigh3,flashvhigh4,flashhigh1,flashhigh2,flashstd1,flashstd2 modes will be tried for version default
INFO: Trying flashvhigh1 mode to record tv: Stargazing LIVE: Series 3 - Episode 1
INFO: File name prefix = Stargazing_LIVE_Series_3_-_Episode_1_b01py6vh_default
RTMPDump v2.4
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
Starting download at: 0.000 kB
INFO: Metadata:
656238.696 kB / 3574.10 sec
Download complete
ffmpeg version 1.0.1 Copyright (c) 2000-2012 the FFmpeg developers
built on Dec 7 2012 18:16:36 with gcc 4.7.2 (GCC)
configuration: --prefix=/usr --enable-libmp3lame --enable-libvorbis --enable-libxvid --enable-libx264 --enable-libvpx --enable-libtheora --enable-libgsm --enable-libspeex --enable-postproc --enable-shared --enable-x11grab --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libschroedinger --enable-libopenjpeg --enable-librtmp --enable-libpulse --enable-libv4l2 --enable-gpl --enable-version3 --enable-runtime-cpudetect --disable-debug --disable-static
libavutil 51. 73.101 / 51. 73.101
libavcodec 54. 59.100 / 54. 59.100
libavformat 54. 29.104 / 54. 29.104
libavdevice 54. 2.101 / 54. 2.101
libavfilter 3. 17.100 / 3. 17.100
libswscale 2. 1.101 / 2. 1.101
libswresample 0. 15.100 / 0. 15.100
libpostproc 52. 0.100 / 52. 0.100
Input #0, flv, from '/home/rob/Videos/Stargazing_LIVE_Series_3_-_Episode_1_b01py6vh_default.partial.mp4.flv':
Metadata:
moovPosition : 32
avcprofile : 77
avclevel : 30
aacaot : 2
videoframerate : 25
audiochannels : 2
Duration: 00:59:34.14, start: 0.000000, bitrate: 1504 kb/s
Stream #0:0: Video: h264 (Main), yuv420p, 832x468 [SAR 117:117 DAR 16:9], 25 tbr, 1k tbn, 50 tbc
Stream #0:1: Audio: aac, 48000 Hz, stereo, s16
Output #0, mp4, to '/home/rob/Videos/Stargazing_LIVE_Series_3_-_Episode_1_b01py6vh_default.partial.mp4':
Metadata:
moovPosition : 32
avcprofile : 77
avclevel : 30
aacaot : 2
videoframerate : 25
audiochannels : 2
encoder : Lavf54.29.104
Stream #0:0: Video: h264 ([33][0][0][0] / 0x0021), yuv420p, 832x468 [SAR 117:117 DAR 16:9], q=2-31, 1k tbn, 1k tbc
Stream #0:1: Audio: aac ([64][0][0][0] / 0x0040), 48000 Hz, stereo
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
frame=89351 fps=34291 q=-1.0 Lsize= 655692kB time=00:59:34.14 bitrate=1502.9kbits/s
video:611770kB audio:41332kB subtitle:0 global headers:0kB muxing overhead 0.396470%
INFO: Recorded /home/rob/Videos/Stargazing_LIVE_Series_3_-_Episode_1_b01py6vh_default.mp4
INFO: Downloaded Thumbnail to '/home/rob/Videos/Stargazing_LIVE_Series_3_-_Episode_1_b01py6vh_default.jpg'
rob@arch:~$
If you are using 12.04 then the version of get_iplayer in the repositories is out of date, you will need to use a PPA to install the latest version:
Code:
sudo add-apt-repository ppa:jon-hedgerows/get-iplayer
sudo apt-get update
sudo apt-get install get-iplayer
There is more you can do with get_iplayer once you get beyond the basics, like streaming live broadcasts directly into VLC, timeshifting radio broadcasts, and much more.
Bookmarks