You're welcome Someone left a comment a couple of days ago on the blog that they'd installed Get_iplayer on a RaspBMC distro. So it must be possible (I think it's a modified debian, so would be quite similar).japester36 wrote:Big thanks to alexeames, I followed the instructions to the letter, mounted a big USB disk and set about downloading.
The instructions for Debian were flawless and with a fast broadband connection it's really painless to download and convert to h-264 for future viewing.
Next project will be to set this up on a RaspBMC RC4 when it comes out then I can just ssh in and set it off to be stored on the USB disk ready for viewing.
I don't get that when using latest RTMPdump compiled natively on the Pi.redhawk wrote:Oops silly me I should have read that "however a random percentage into the video I get "ERROR: RTMP_ReadPacket, failed to read RTMP packet body."
I guess not
I'm looking forward to trying that, but for the moment I can't get Raspbian onlinejapester36 wrote:Anyone tried this on the new Raspbian release?
I might have a go later if I get the time. I guess I just follow the Wheezy instructions and see if anything is missing from the new repo?
Unfortunately this third version doesn't work properly for me. I had previous success with the second version on Debian-wheezy but following these instructions on a fresh raspian-wheezy gives an error, at least on radio programmes. It downloads the flv file OK:alexeames wrote:I've got get_iplayer working on Raspbian. The good news is it's easier. No need for FFMPEG compile as the hard float version has been done for us.
I've done a third version of the full instructions, specifically for Raspbian. You can find it here...
http://raspi.tv/2012/get_iplayer-instal ... h-raspbian
Code: Select all
Unpacking libavdevice54:armhf (from .../libavdevice54_7%3a0.11.1-dmo3_armhf.deb) ... Selecting previously unselected package ffmpeg. Unpacking ffmpeg (from .../ffmpeg_7%3a0.11.1-dmo3_armhf.deb) ... dpkg: error processing /var/cache/apt/archives/ffmpeg_7%3a0.11.1-dmo3_armhf.deb (--unpack): corrupted filesystem tarfile - corrupted package archive dpkg-deb (subprocess): data: internal bzip2 read error: 'DATA_ERROR' dpkg-deb: error: subprocess <decompress> returned error exit status 2 Processing triggers for man-db ... Errors were encountered while processing: /var/cache/apt/archives/libavcodec54_7%3a0.11.1-dmo3_armhf.deb /var/cache/apt/archives/ffmpeg_7%3a0.11.1-dmo3_armhf.deb E: Sub-process /usr/bin/dpkg returned an error code (1)
Code: Select all
Download complete INFO: Command exit code 2 (raw code = 4) WARNING: flv conversion failed - retaining flv file INFO: Recorded /mnt/maxtor/Doctor_Who_Series_6_-_12._Closing_Time_b0156hh8_default.partial.mp4.flv INFO: Downloaded Thumbnail to '/mnt/maxtor/Doctor_Who_Series_6_-_12._Closing_Time_b0156hh8_default.jpg'
I'm not transcoding. I want the 320kbit/s AAC file which will be played on various devices which include DLNA/UPnP clients and portable players and do not include XBMC. Just using the command line "./get_iplayer 1xxxxx --get" exactly the same as works on Debian wheezy.redhawk wrote:Why are you transcoding with ffmpeg iPlayer content (ripped with -raw) is already compatible with XBMC??
Maybe he wants to use it on a different device? I generally let the defaults convert video to .mp4, but I believe that's remuxing rather than transcoding. I might watch my output on three different devices, all of which can do mp4, but only one of which can do .flv The remux is generally much faster than the download - even on a very fast connection - and since the Pi uses so little power, you can leave it on while you do something else. I haven't tried a radio programme yet.redhawk wrote:Why are you transcoding with ffmpeg iPlayer content (ripped with -raw) is already compatible with XBMC??
I re-imaged the SD card and followed the revised instructions. Success .alexeames wrote: Have edited the blog to reflect exactly what I did from my notes. Hope it works for everyone now
Thank you, I've implemented those changes. Very glad it worked this time around. (A bit relieved too )drgeoff wrote:I re-imaged the SD card and followed the revised instructions. Success .alexeames wrote: Have edited the blog to reflect exactly what I did from my notes. Hope it works for everyone now
The instructions would benefit from a couple of minor tidy-ups where they still reflect the previous situation:
1. There is only one error message, the GPG one and not the duplicate sources one.
2. The third edit of sources.list still refers to commenting out the two added lines even though the first one was commented out during the second editing visit.
Code: Select all
mkdir /tmp/windows sudo mount -t cifs -o username=administrator,password=secret1 //192.168.1.4/shared /tmp/windows sudo ./get_iplayer --output=/tmp/windows --get Formula_1 --modes=best omxplayer /tmp/windows/Formula_1*