Re: get_iplayer for RTE?
On Tue Feb 00 07:35:09 GNT 2015, CJB wrote: Part 2 took an hour with Audacity (then there were some disconnections / interruptions involving editing). If by Part 2 you mean that: http://www.rte.ie/lyricfm/the-lyric-feature/programmes/2015/0130/676840-the-lyric-feature-friday-30-january-2015/?clipid=1790964 why would you use Audacity to record it? IIANM, Audacity records from your sound card in real time (i.e. as the audio is being played back in your browser), so you have: 1. Decoding from HE-AAC to Wave 2. Encoding from Wave to the audio codec of your choice (LAME MP3?). 3. Possible pollution of the recorded sound from other audio sources in your machine... The point of me posting that detailed tutorial was that it could be applied to other radio programmes, too! FWIW, the rtmpdump command for the Jan 30th broadcast is: rtmpdump -r rtmpe://fmsod.rte.ie:1935/ -a rtevod -f WIN 16,0,0,305 -W http://www.rte.ie/static/radio/radioplayer/rteradioweb_70_osmf.swf; -p http://www.rte.ie/radio/utils/radioplayer/rteradioweb.html; -C O:1 -C O:0 -y mp4:/audio/2015/0130/20150130_rtelyricfm-thelyricfeature-thelyricfe_cl10368209_10370397_261_/20150130_rtelyricfm-thelyricfeature-thelyricfe_cl10368209_10370397_261_.mp4 -o The Lyric Feature Friday 30 January 2015 - Freeborn Man (part 2).flv Regards. ___ get_iplayer mailing list get_iplayer@lists.infradead.org http://lists.infradead.org/mailman/listinfo/get_iplayer
Re: Another download failure ...
On Mon Feb 16 17:18:07 GMT 2015, Jeremy Nicoll wrote: INFO: iPlayer metadata URL = http://www.bbc.co.uk/iplayer/playlist/p02j6j0x INFO: iPlayer metadata URL (JSON) =http://www.bbc.co.uk/programmes/p02j6j0x/playlist.json INFO: Getting page http://www.bbc.co.uk/programmes/p02j6j0x.rdf INFO: Getting page http://www.bbc.co.uk/mediaselector/4/mtis/stream/p02j6j0z?cb=57876 Greetings, Jeremy :-) From that partial verbose log that you posted, I'm seeing that your copy of GiP tries the playlist method to retrieve the show's vPID; were you using the --playlist-metadata switch or is it stored in your options? Furthermore, after retrieving the vPID string (=p02j6j0z), it uses the older mediaselector/4 API URL to gain access to available streams; currently, this provides only stream data for the phased-out MMS (WMA) streams: http://www.bbc.co.uk/mediaselector/4/mtis/stream/p02j6j0z Were you using the --mediaselector =4 switch? If NO to both of my questions, then you are using a deprecated version of GiP. GiP 2.91+ uses by default the new metadata extraction URL: http://www.bbc.co.uk/programmes/[pid].xml and the mediaselector/5 API URL: http://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/pc/vpid/p02j6j0z which does indeed return flashaac modes (but not the wma one...). More at: http://git.infradead.org/get_iplayer.git/commit/2be84bdbdb6a2d643bfdddbe91bb58e01a642530 http://git.infradead.org/get_iplayer.git/commit/2a23f8ebe5752844744fd6f90d0c188070e3230a Cheers, Vangelis. ___ get_iplayer mailing list get_iplayer@lists.infradead.org http://lists.infradead.org/mailman/listinfo/get_iplayer
Re: Another download failure ...
On Mon Feb 16 16:20:05 GMT 2015, CJB wrote: the_drift_name_radio Matches: 12917: The Drift - 15/02/2015, BBC Radio Lancashire, ERROR: Failed to get version pid metadata from iplayer site WARNING: PVR Run: the_drift_name_radio: 1 download failure(s) Testing as I write, radio programme http://www.bbc.co.uk/programmes/p02j6j0x DOES PLAY in a browser; right clicking in the embedded player shows: 128kbps | RTMP (akamai) | So, if it's a version from the Akamai CDN streamed over the RTMP protocol, there's a flashaac radiomode GiP can fetch! perl get_iplayer-291.pl --type=radio --pid=p02j6j0x --modes=flashaac --force does download fine a flashaacstd mode: C:\Program Files\get_iplayerperl get_iplayer-291.pl --type=radio --pid=p02j6j0x --modes=flashaac --force get_iplayer v2.91, Copyright (C) 2008-2010 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. INFO Trying to stream pid using type radio INFO: pid found in cache Matches: 12901: The Drift - 15/02/2015, BBC Radio Lancashire, INFO: 1 Matching Programmes INFO: Checking existence of default version INFO: flashaacstd1,flashaacstd2,flashaaclow1,flashaaclow2 modes will be tried fo r version default INFO: Trying flashaacstd1 mode to record radio: The Drift - 335. 15/02/2015 INFO: File name prefix = The_Drift_-_335._15_02_2015_p02j6j0x_default RTMPDump v2.4 GIT-2015-01-15 (Compiled by KSV) (c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL Connecting ... INFO: Connected... Starting download at: 0.000 kB INFO: Metadata: INFO: duration3616.00 INFO: moovPosition72.00 INFO: audiocodecidmp4a INFO: aacaot 2.00 INFO: audiosamplerate 48000.00 INFO: audiochannels 2.00 INFO: trackinfo: INFO: length 173568000.00 INFO: timescale 48000.00 INFO: languageund INFO: sampledescription: INFO: sampletype mp4a 59314.381 kB / 3615.98 sec (99.9%) Download complete -- size= 57164kB time=01:00:16.00 bitrate= 129.5kbits/s video:0kB audio:56500kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 1.174331% INFO: Recorded D:\Vangelis\iPlayer Recordings\The_Drift_-_335._15_02_2015_p02j6j 0x_default.m4a NB: Local Radio streams are non-geofiltered; you can grab the flashaacstd mode even from overseas (Apologies if this was a Monday-only problem, later rectified by the Beeb...) Regards. ___ get_iplayer mailing list get_iplayer@lists.infradead.org http://lists.infradead.org/mailman/listinfo/get_iplayer
Re: Query re BBC On Demand Radio
On Tue Feb 17 15:53:30 GMT 2015, Prisca wrote: I don't fully understand how get_iplayer works what is likely to happen at the end of February when the WMA/AAC streams for on demand radio are turned off. Will this have any impact on get_iplayer? I've never really figured out where the streams I download actually come from. On Tue Feb 17 19:06:22 GMT 2015, Prisca wrote: My query really related to how/where get_iplayer obtained the radio links and whether it would still be able to download radio programs after the switch off. Hi Prisca :-) The wma streams are being phased out as we speak; I can't find wma-OD streams for newly broadcast content on Radios 1 2 (e.g. pid=b0528kgc) - Radio 3 programmes continue to have a WMA-OD version (e.g. pid=b052gzr7) at the time of writing. GiP 2.91 doesn't search for WMA streams (by default) in any case; use the --mediaselector=4 switch to try and grab any remaining available wma-radiomodes, but the app that is used (MPlayer) for dumping isn't reliable... It isn't true they are axing the AAC AOD streams; one mode of delivery (via the RTMP protocol) will be discontinued sometime during this current year 2015 - they (the Beeb) have been very vague in their statements... This mode is what in GiP terms is referred to as flashaac radiomode. The RTMP protocol delivery will be phased out in favour of a HTTP protocol delivery - this is suported currently by two technologies: 1. AdobeHDS (targeting desktops/laptops) 2. AppleHLS (targeting mobile devices). A third one (MPEG-DASH) is currently experimental and under development, but they seem to like it a lot... When the RTMP AOD streams die, it's hard to tell what'll happen. GiP already has support for the AppleHLS streams (main method for accessing Live TV); try them by using --modes=hlsaac with your radio fetches; sadly, it takes a lot longer to download compared to the flashaac ones... GiP lacks support currently for AdobeHDS streams; there are solutions available for the more savvy - eventually FFmpeg (a helper app used by GiP) will incorporate support for such streams... Be sure that the dev of GiP keeps an eye on the changes the BBC implements and tries his absolute best to come up with solutions - have faith! (What is ominous with these new methods is that they leave room for DRM encryption - if to be implemented, I fear this would be the definite end of GiP ... :-( ). As to where the streams are coming from, I'm afraid I'd bore you with a lot of techie talk - In a nutshell, the files are uploaded by the Beeb on networks of storage servers, called CDNs - then they are streamed to the clients devices (e.g. your PC browser or your iPad) via different streaming techniques. When you tell GiP to fetch a radio programme (by providing a pid string), GiP queries various BBC servers to acquire needed metadata that will grant it access to the CDNs where the files are stored - then, depending on the streaming method, will invoke the suitable helper app (rtmpdump, ffmpeg, mplayer) to start saving the stream onto your disk - further apps are then used so that in the end you get a playable and tagged file for your listening pleasure! Cheers, Vangelis. ___ get_iplayer mailing list get_iplayer@lists.infradead.org http://lists.infradead.org/mailman/listinfo/get_iplayer
Re: Another download failure ...
On Mon Feb 16 23:14:16 GMT 2015, Jeremy Nicoll wrote: I have a feeling that the standard installer allows one to - open a command window - set the current directory to wherever get_iplayer is installed to (or maybe run a batch file that does these two things for you resulting in a command window that's got the right directory preset), or maybe the directory that matters is where perl is installed - dunno - issue a command My Get_iPlayer.lnk desktop shortcut created by the installer actually executes this: C:\Windows\System32\cmd.exe /k get_iplayer.cmd --search dontshowanymatches get_iplayer.cmd --help i.e. calls the get_iplayer.cmd, located inside the installation directory: @echo off perl.exe get_iplayer.pl %* perl.exe and the main perl script (get_iplayer.pl) reside inside the same installation directory. The batch file refreshes the tv cache, if it's more than 4h old, then proceeds to display basic help. Working directory is (win32): C:\Program Files\get_iplayer then I'm ready to type/paste my commands! Cheers! ___ get_iplayer mailing list get_iplayer@lists.infradead.org http://lists.infradead.org/mailman/listinfo/get_iplayer
Query re BBC On Demand Radio
I don't fully understand how get_iplayer works, even though I have managed to learn how to use it - mostly. I do, however, have a question as to what is likely to happen at the end of February when the WMA/AAC streams for on demand radio are turned off. Will this have any impact on get_iplayer? I've never really figured out where the streams I download actually come from. Sorry to sound dense, but some of us only manage to get things working by trial and error and keeping our fingers crossed. A very simple explanation would be much appreciated. Thanks to everyone who is responsible for get_iplayer. It really is a very useful program to have found since the demise of Radio Downloader. Thanks Prisca ___ get_iplayer mailing list get_iplayer@lists.infradead.org http://lists.infradead.org/mailman/listinfo/get_iplayer
Re: access permissions. at get_iplayer.cgi line 323
I forget why but it was something to do with always having to log in as admin to install apps.or move files around - or whatever - but since I'm the only one using my computers I always set ACS to zero i.e. off. Cured most bugs. Chris B. On 17/02/2015, Hugh Reynolds hugh...@gmail.com wrote: Turns out that something in Windows update may have changed how the PVR runs in Windows. If I set the User Account Control Setting to the minimum the PVR works fine. There are 4 levels of control. Mine are usually left at the default. I guess I'm not the only one who will stumble over this (Sorry if this top-posts or breaks some other rule) Hugh ___ get_iplayer mailing list get_iplayer@lists.infradead.org http://lists.infradead.org/mailman/listinfo/get_iplayer ___ get_iplayer mailing list get_iplayer@lists.infradead.org http://lists.infradead.org/mailman/listinfo/get_iplayer
RE: BBC Dropping MP3 and garbled downloads ....
(Follow-up to group, omitted accidentally from original reply) Yes, plenty, but I'm listening through a backlog at the moment, so I can't really comment on current downloads. You should be made aware that this has always been an ongoing problem even with mp3 downloads - it has always come and gone over a period of minutes, hours, or days - it's just that the incidence of the problem went up very dramatically when the changeover to m4a occurred, with at least for a while seemingly every single program affected. My guess is that it happens when the servers running the encoding software start to run out of resources. The software probably doesn't clear up after itself and gradually leaks one or more resource types - memory, threads, handles, etc. Perhaps the new encoding places greater demands on server resources, hence the dramatic increase in incidence. www.macfh.co.uk/CEMH.html UK Residents: If you feel can possibly support it please sign the following ePetition before closing time of 30/03/2015 23:59:- http://epetitions.direct.gov.uk/petitions/71556 -Original Message- From: get_iplayer [mailto:get_iplayer-boun...@lists.infradead.org]On Behalf Of Christopher Woods Sent: 17 February 2015 19:16 To: get_iplayer@lists.infradead.org Subject: Re: BBC Dropping MP3 and garbled downloads Has anyone else observed any glitchy/skippy/odd on-demand files since my last reply to the thread? Trying to get a large enough sample set, I can't possibly listen to everything... ;-) Chris ___ get_iplayer mailing list get_iplayer@lists.infradead.org http://lists.infradead.org/mailman/listinfo/get_iplayer ___ get_iplayer mailing list get_iplayer@lists.infradead.org http://lists.infradead.org/mailman/listinfo/get_iplayer
Re: Query re BBC On Demand Radio
Thanks, I appreciate that. My query really related to how/where get_iplayer obtained the radio links and whether it would still be able to download radio programs after the switch off. Thanks Prisca On 17/02/2015 18:20, Owen Smith wrote: No-one knows what is going to happen. For Listen Again it's not clear whether just WMA is being switched off, or all streams in the current format but AAC over HLS will become available, or whether the entire thing will be reduced to just MP3 podcasts ie. it isn't a complete Listen Again system. On 17 Feb 2015, at 15:53, Prisca pri...@leonin.co.uk wrote: I don't fully understand how get_iplayer works, even though I have managed to learn how to use it - mostly. I do, however, have a question as to what is likely to happen at the end of February when the WMA/AAC streams for on demand radio are turned off. Will this have any impact on get_iplayer? I've never really figured out where the streams I download actually come from. Sorry to sound dense, but some of us only manage to get things working by trial and error and keeping our fingers crossed. A very simple explanation would be much appreciated. Thanks to everyone who is responsible for get_iplayer. It really is a very useful program to have found since the demise of Radio Downloader. Thanks Prisca ___ get_iplayer mailing list get_iplayer@lists.infradead.org http://lists.infradead.org/mailman/listinfo/get_iplayer
Re: BBC Dropping MP3 and garbled downloads ....
Has anyone else observed any glitchy/skippy/odd on-demand files since my last reply to the thread? Trying to get a large enough sample set, I can't possibly listen to everything... ;-) Chris ___ get_iplayer mailing list get_iplayer@lists.infradead.org http://lists.infradead.org/mailman/listinfo/get_iplayer
Re: Query re BBC On Demand Radio
No-one knows what is going to happen. For Listen Again it's not clear whether just WMA is being switched off, or all streams in the current format but AAC over HLS will become available, or whether the entire thing will be reduced to just MP3 podcasts ie. it isn't a complete Listen Again system. -- Owen Smith owen.sm...@cantab.net Cambridge, UK On 17 Feb 2015, at 15:53, Prisca pri...@leonin.co.uk wrote: I don't fully understand how get_iplayer works, even though I have managed to learn how to use it - mostly. I do, however, have a question as to what is likely to happen at the end of February when the WMA/AAC streams for on demand radio are turned off. Will this have any impact on get_iplayer? I've never really figured out where the streams I download actually come from. Sorry to sound dense, but some of us only manage to get things working by trial and error and keeping our fingers crossed. A very simple explanation would be much appreciated. Thanks to everyone who is responsible for get_iplayer. It really is a very useful program to have found since the demise of Radio Downloader. Thanks Prisca ___ get_iplayer mailing list get_iplayer@lists.infradead.org http://lists.infradead.org/mailman/listinfo/get_iplayer ___ get_iplayer mailing list get_iplayer@lists.infradead.org http://lists.infradead.org/mailman/listinfo/get_iplayer
Re: BBC Dropping MP3 and garbled downloads ....
On 17/02/15 19:15, Christopher Woods wrote: Has anyone else observed any glitchy/skippy/odd on-demand files since my last reply to the thread? Trying to get a large enough sample set, I can't possibly listen to everything... ;-) Chris For many months, probably since the middle of last year, I have noticed this effect on random programs downloaded in UK as aacstd files. Some way in, perhaps 15/20 minutes, the sound sounds as though the sound has been momentarily interrupted. The interruptions get longer and increase in frequency then reduce. The whole thing lasts less than a minute and I don't recall two such instances in one program. Problem is ... I don't listen to programs in order so I am not sure whether it was a problem which has now ended or whether it is still happening. Clive ___ get_iplayer mailing list get_iplayer@lists.infradead.org http://lists.infradead.org/mailman/listinfo/get_iplayer
Re: BBC Dropping MP3 and garbled downloads ....
Very curious... I've not noticed that myself, at least since (and this is a fair while ago) I stopped downloading things with a very old version which was stalling out mid download and causing a break in the file which was audible on playback. I've not actually used GiP for the past five or six months. (!) For a while, the audio has been concurrently encoded for multiple formats using cloud computing so there's no shortage of physical power available. However that's not to say that there is a bug somewhere causing problems. If anyone could provide PIDs, if they come across a programme with glitching (like the RNG episode), that'd be incredibly useful. (I've been unscientifically listening to a handful of things today and I'm beginning to think there's a separate, low level problem with some or all of the Audio Factory live streams which may - or may not - also be audible in the on-demand versions, but I need to do lots more sleuthing to ensure it's not just my brain tricking me) Thanks Chris On 17 February 2015 20:14:20 roadcone roadc...@gmx.com wrote: On 17/02/15 19:15, Christopher Woods wrote: Has anyone else observed any glitchy/skippy/odd on-demand files since my last reply to the thread? Trying to get a large enough sample set, I can't possibly listen to everything... ;-) Chris For many months, probably since the middle of last year, I have noticed this effect on random programs downloaded in UK as aacstd files. Some way in, perhaps 15/20 minutes, the sound sounds as though the sound has been momentarily interrupted. The interruptions get longer and increase in frequency then reduce. The whole thing lasts less than a minute and I don't recall two such instances in one program. Problem is ... I don't listen to programs in order so I am not sure whether it was a problem which has now ended or whether it is still happening. Clive ___ get_iplayer mailing list get_iplayer@lists.infradead.org http://lists.infradead.org/mailman/listinfo/get_iplayer ___ get_iplayer mailing list get_iplayer@lists.infradead.org http://lists.infradead.org/mailman/listinfo/get_iplayer
Re: Server/Workstation PVR install
As it says on the tin: the WebPVR is inherently insecure. So, three options: a) don't. b) set up a VPN with authentication to ensure your network is secure (i.e. only authorised people can get in, and the entire channel is encrypted) c) set up a reverse proxy with authentication to ensure that accessing the PVR is restricted to people who are 'trusted' You'll also need to set up a NAT rule on your firewall to allow traffic to hit tcp/1935 from the outside - though I'd use port translation too - you'll need to tweak this if you'll be using a reverse proxy too. -- Al. On 17 February 2015 at 00:05, Topsy to...@tesco.net wrote: I had fun at the weekend when I finally installed the Web PVR having been used to the CLI implementation of G_iP. Firstly, my config is that I d/l and store any media files on a server called 'myth' that sits under the telly in the lounge. This server runs Fedora 21, with httpd installed and has a fqdn so is accessible from the 'net. It's main task is to monitor a pair of freeview receivers and record off air progs that aren't on a BBC channel. I normally access it using ssh and sftp from one of my laptops or tablets and can stream content into VLC with ease, even away from home. Normally I do not log directly in to myth and just leave it from boot untouched (reboot once a week or longer) so any daemon has to be run as root as part of the OS start and can't be run in a user shell. I might however run the CLI install as a user (or root) via ssh and would want access to the same download history, So, after a few fits, starts and too many reboots I have the PVR running monitoring the fixed LAN address not localhost to enable remote access. I'm not sure if using the domain name would work? The G-iP config files are stored in shared folder with symbolic links to the normal ~/.get_iplayer folder. On my laptop, or tablet, I can therefore access the server's IP address (port 1935) and access the PVR. All seems to be running okay and downloads are going to the correct folder on a 3TB drive. So, apart from trying the domain name method, for full external access, is there anything else I could do? My thanks, as ever, to the developers of this awesome package. Topsy ___ get_iplayer mailing list get_iplayer@lists.infradead.org http://lists.infradead.org/mailman/listinfo/get_iplayer -- Alex ___ get_iplayer mailing list get_iplayer@lists.infradead.org http://lists.infradead.org/mailman/listinfo/get_iplayer
RE: Upgrading to 2.91 breaks windows installation
Thanks for that. I was looking for an entry pointing to the wrong directory, rather than adding an option. Fixed it after your prompting and looking through the GitHub wiki, once I realised that the directory entries shouldn't be enclosed in quotes. Not sure why it needed this doing during this update as it's worked fine before, but it's sorted now, so thanks again. C On Mon Feb 16 2015 at 09:09:50 Dave Liquorice allso...@howhill.com wrote: On Mon, 16 Feb 2015 08:54:09 -, Charlie Heard wrote: Just bumping this, as it's still broken. How can I force get_iplayer or the PVR to download to the correct directory automatically without having to manually use the --output option? Have you tried putting the relevant line(s) in the options file? output path_to_TV_downloads outputradio path_to_Radio_downloads I don't use windows so donno if that will help at all with the permissions problem or where that file is stored on a windows system... There is away to set options from the get_iplayer command line, have a dig through the docs. -- Cheers Dave. ___ get_iplayer mailing list get_iplayer@lists.infradead.org http://lists.infradead.org/mailman/listinfo/get_iplayer ___ get_iplayer mailing list get_iplayer@lists.infradead.org http://lists.infradead.org/mailman/listinfo/get_iplayer
access permissions. at get_iplayer.cgi line 323
Turns out that something in Windows update may have changed how the PVR runs in Windows. If I set the User Account Control Setting to the minimum the PVR works fine. There are 4 levels of control. Mine are usually left at the default. I guess I'm not the only one who will stumble over this (Sorry if this top-posts or breaks some other rule) Hugh ___ get_iplayer mailing list get_iplayer@lists.infradead.org http://lists.infradead.org/mailman/listinfo/get_iplayer
BBC News at One / Ten ?
Hi, I am unable to find BBC News at One or BBC News at Ten or BBC Weekend news in the list of programmes. I find the Asia News, London News, Oxford news and many more, but not the main ones. for example: $ get_iplayer --refresh -l | grep b052fv4s returns nothing downloading with pid works just fine, for example: get_iplayer -g --pid b052fv4s does download BBC News at Ten This is on today's git head (master). Is there anything special about the BBC News? Conrad ___ get_iplayer mailing list get_iplayer@lists.infradead.org http://lists.infradead.org/mailman/listinfo/get_iplayer