[ubuntu-uk] get_iPlayer

Alan Pope alan at popey.com
Fri Mar 6 20:27:29 GMT 2009


2009/3/6 David King <linuxman at avoura.com>:
> I downloaded and installed the program as per your instructions, but
> when using it there are two things I do not seem to be able to do:
> 1. set the output directory (it just lists all the programs when I use
> ./get_iplayer -o DirectoryPath)

Yes, you have to actually tell it what you want to download from the list..

This will update the list:-

alan at wopr:~/iplayer$ ./get_iplayer --type=radio
:
12389:	Stand-Up With the Stars - Episode 1, BBC Radio 4, Comedy,Standup,Radio
:

Then this will download a programme from the list

alan at wopr:~/iplayer$ ./get_iplayer --type=radio -g 12389 -o
../files_from_iplayer/
get_iplayer v1.42, Copyright (C) 2009 Phil Lewis
  This program comes with ABSOLUTELY NO WARRANTY; for details use --warranty.
  This is free software, and you are welcome to redistribute it under certain
  conditions; use --conditions for details.

Matches:
12389:	Stand-Up With the Stars - Episode 1, BBC Radio 4, Comedy,Standup,Radio

INFO: 1 Matching Programmes
INFO: iphone,real modes will be tried
INFO: Trying iphone mode to download radio: Stand-Up With the Stars - Episode 1
INFO: File name prefix =
Stand-Up_With_the_Stars_-_Episode_1_b00hyjd6_default
WARNING: iphone version not available
WARNING: Retrying download for 'Stand-Up With the Stars - Episode 1 (b00hyjd6)'
INFO: File name prefix =
Stand-Up_With_the_Stars_-_Episode_1_b00hyjd6_default
WARNING: iphone version not available
WARNING: Retrying download for 'Stand-Up With the Stars - Episode 1 (b00hyjd6)'
INFO: File name prefix =
Stand-Up_With_the_Stars_-_Episode_1_b00hyjd6_default
WARNING: iphone version not available
INFO: Trying real mode to download radio: Stand-Up With the Stars - Episode 1
INFO: File name prefix = Stand-Up_With_the_Stars_-_Episode_1_b00hyjd6
INFO: Transcoding
../files_from_iplayer//Stand-Up_With_the_Stars_-_Episode_1_b00hyjd6.partial.mp3
MPlayer 1.0rc2-4.3.2 (C) 2000-2007 MPlayer Team
CPU: Intel(R) Core(TM)2 CPU          6700  @ 2.66GHz (Family: 6,
Model: 15, Stepping: 6)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.

Playing rtsp://rm-acl.bbc.co.uk:554/radio4fmcoyopa/radio_4_fm_-_sunday_1330.ra?timestamp=1235999202&pid=b00hyjd2&BBC-UID=c499c896bfb35593d79584b5c070a1cc296fecba1000f11484bfd8317ffb9665&SSO2-UID=.
Resolving rm-acl.bbc.co.uk for AF_INET6...
Couldn't resolve name for AF_INET6: rm-acl.bbc.co.uk
Resolving rm-acl.bbc.co.uk for AF_INET...
Connecting to server rm-acl.bbc.co.uk[212.58.227.104]: 554...
Cache size set to 128 KBytes
Cache fill: 18.75% (24576 bytes)
REAL file format detected.
Stream description: audio/x-pn-multirate-realaudio logical stream
Stream mimetype: audio/x-pn-realaudio
[real] Audio stream found, -aid 0
Clip info:
 name: BBC Radio 4
 copyright: British Broadcasting Corporation 2009, all rights reserved.
==========================================================================
Forced audio codec: mad
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 44100 Hz, 2 ch, s16le, 64.1 kbit/4.54% (ratio: 8010->176400)
Selected audio codec: [ffcook] afm: ffmpeg (FFmpeg COOK audio decoder)
==========================================================================
[AO PCM] File: /home/alan/.get_iplayer/namedpipe.24356 (WAVE)
PCM: Samplerate: 44100Hz Channels: Stereo Format s16le
[AO PCM] Info: Faster dumping is achieved with -vc null -vo null -ao pcm:fast
[AO PCM] Info: To write WAVE files use -ao pcm:waveheader (default).
AO: [pcm] 44100Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...
A:  64.7 (01:04.6) of 1801.0 (30:01.0)  7.9% 3%

It's now downloading....

alan at wopr:~/iplayer$ ls -l ../files_from_iplayer/
total 18040
-rw-r--r-- 1 alan alan 18448384 2009-03-06 20:25
Stand-Up_With_the_Stars_-_Episode_1_b00hyjd6.partial.mp3

When it's finished I'll have an MP3 in that folder.

> 2. when downloading it always uses iphone mode which means fairly small
> files, but they are low quality, it would be nice if the files
> downloaded were of a higher quality.
>

It can only download what is available. It will try the iPhone
versions of files and the realaudio ones too.

The documentation for get_iplayer is at:-

http://linuxcentre.net/getiplayer/documentation/

Cheers
Al.



More information about the ubuntu-uk mailing list