Posts tagged: streaming

Jul 24 2009

Stream High Quality AAC BBC iPlayer Radio and Live Radio to your Squeezebox Part II

This is a follow-up to the post a few days ago. It is now much easier to get those AAC streams on your SqueezeBox.
It is now possible to navigate and play the High quality (up to 192kbps) AAC BBC iPlayer Radio and Live Radio streams on your Squeezebox by mean of an OPML playlist.

Just add the following URL to your favourites in SqueezeCenter and then navigate to the Favourites on the SqueezeBox remote an you will see a three-level menu of Channel -> Programme Name -> Programme for iPlayer Radio. You need to be running get_iplayer PVR Manager v0.24 or later. This has only been tested on Linux and may work on OSX and Windows.

http://[SERVER IP]:1935/opml?PROGTYPES=radio&MODES=flash,iphone&LIST=channel

To list all the Live iPlayer Radio channels add this to your SqueezeBox favourites:

http://[SERVER IP]:1935/opml?PROGTYPES=liveradio&OUTTYPE=wav

Finally, to only show those numbered BBC Radio stations:

http://[SERVER IP]:1935/opml?PROGTYPES=liveradio&MODES=flash&SEARCH=%20\d&OUTTYPE=wav

Update: Now works on windows except for realaudio mode. Ensure you use flvstreamer v1.8h or later.

Jun 25 2009

Simplified Live BBC TV and Radio Support in get_iplayer

get_iplayer v2.04 now has very much simplified Live TV and Radio support.

Two new programme types have been added: ‘livetv’ and ‘liveradio’. These types, if selected, will list the available programmes in the familiar listing format:

get_iplayer --type=livetv
Matches:
80000:  BBC Four - live
80001:  BBC News 24 - live
80002:  BBC One - live
80003:  BBC Parliament - live
80004:  BBC Three - live
80005:  BBC Two - live
80006:  CBBC - live
80007:  CBeebies - live

INFO: 8 Matching Programmes

Or you can just search, stream or playback by channel/programme name:

get_iplayer --type=liveradio 'Radio 1'
Matches:
80132:  BBC Radio 1 - live

INFO: 1 Matching Programmes

To directly stream a selected live programme in all OSes (except Win32) you can use:

get_iplayer --stream 80001 --player='mplayer -cache 256 -'

Where –player can refer to any player command than can play programmes from STDIN. Or simply use:

get_iplayer --stream 80001 | mplayer -cache 256 -

The advantage of the –player option is that it can be saved in your default options as follows:

get_iplayer --prefs-add --player='mplayer -cache 256 -'

Then you can just stream via mplayer using:

get_iplayer --stream 80001

( –stream is just a synonym for –stdout –nowrite )

To record a live stream use:

get_iplayer --get 80001

Specifying modes has changed a little. –amode has become –radiomode and –vmode is now –tvmode. Additionally, –modes=<modelist> can be used to set a general default set of modes for all programme types.

Likewise, embedded media web pages can be played more easily. e.g.:

get_iplayer --stream --type=radio
  --url="http://www.bbc.co.uk/robertburns/works/a_bards_epitaph/"

Or recorded using:

get_iplayer --get --type=radio
  --url="http://www.bbc.co.uk/robertburns/works/a_bards_epitaph/"

The only major thing I’ve not been able to get working is direct streamed playback under native Windows. If anyone knows why it won’t work or has a fix or workaround please let me know! I’ve tried with ‘vlc -‘, ‘ffplay -‘ and ‘mplayer -‘ and all seem to just fail.

May 06 2009

get_iplayer Dropping Channel4 4oD, Demand Five and Hulu.com

The coding challenge is over. I’ve proven that It is possible to record the streams of Hulu and 4oD if you are determined enough and use the right open source tools.
I am now officially dropping support and removing the following Programme Type plug-ins:

  • Channel4’s 4oD Catch-up
  • Channel Five’s Demand Five
  • Hulu.com

I like a challenge but at this point I’d rather concentrate on the BBC iPlayer TV/Radio and BBC Podcasts. I’d like to reduce the workload and headache that these other sites cause me! Channel4 – you can stop feeding us that ‘Countdown’ episode now (very good!), and Hulu.com – if it weren’t for Boxee I guess you could stop encrypting the HTML that you serve to stop people scraping your web pages and the massive spaggetti of actionscript decryption functions! I guess many users who want to watch Hulu.com and 4oD programmes will now end up using Bittorrent instead. This is really not quite as ideal for these channels as before, at least with get_iplayer, they could control the geography of where their users were streaming from.

I’m still going to keep the ITV Player plug-in supported as most non-windows users will not have the ability to run Silverlight.

If you’ve downloaded a recent version of get_iplayer you’ll notice that I’ve moved it to a plug-in based architecture. This allows users to write 3rd-party plug-ins. Hopefully this will prove useful if you don’t want to rely on me to add your local channels to get_iplayer. I will attempt to write some documentation on writing your own plug-in. I’ve supplied a plug-in example template with lots of comments to get you started here. You can see the remaining plug-ins in get_iplayer SVN (see the download page) to get some idea of how they work.

Dec 03 2008

get_iplayer working with MythTV plugin

I’ve just been contacted by Richard Ablewhite who has recently updated his excellent iPlayer MythTV plugin MythVodka that now uses get_iplayer.

You can see a slightly older version of it running on this youtube video which gives you an idea of how well it works. The streaming capabilities do seem to be very slick 🙂

You can download the plugin from this site

Let us know if you get it working.

WordPress Themes