bpa wrote: > The XML points to a MTIS file which has info something like this showing > a WMA and a AAC URL > > Code: -------------------- > > > <mediaSelection xmlns="http://bbc.co.uk/2008/mp/mediaselection"> > <!-- > This code and data form part of the BBC iPlayer content protection system. Tampering with, removal of, misuse of, or unauthorised use of this code or data constitutes circumvention of the BBC's content protection measures and may result in legal action. BBC (C) 2014. > --> > <media bitrate="48" encoding="aac" expires="2015-03-20T09:00:00Z" kind="audio" media_file_size="66664560" service="stream-nonuk-audio_streaming_aac_low_nonuk" type="audio/mp4"> > > <connection application="a5999/e1" authExpires="2015-02-25T23:15:25+00:00" authString="as=adobe-hmac-sha256&av=1&te=connect&mp=prod_rb2_flv_aac_low_intl/iplayerstream/p02jr3k9_b052j5l9_1424253442473.mp4&et=1424906231&fmta-token=c2e9da21230c65457a10d32ce7f0869d2a8f8c7ff4351594fa218dc49da991c0" identifier="mp4:prod_rb2_flv_aac_low_intl/iplayerstream/p02jr3k9_b052j5l9_1424253442473.mp4" kind="limelight" priority="9" protocol="rtmp" server="bbcodspdns.fcod.llnwd.net" supplier="limelight"/> > > </media> > > <media bitrate="48" encoding="wma9" expires="2015-03-20T09:00:00Z" kind="audio" media_file_size="65744142" service="stream-nonuk-audio_streaming_wma_low_nonuk" type="audio/wma"> > <connection href="http://open.live.bbc.co.uk/mediaselector/4/asx/b052j5l9/stream-nonuk-audio_streaming_wma_low_nonuk" identifier="b052j5l9/stream-nonuk-audio_streaming_wma_low_nonuk" kind="asx" priority="10" protocol="http" server="http://open.live.bbc.co.uk/mediaselector/4/asx/" supplier="asx"/> > > </media> > </mediaSelection> > -------------------- > > > > However this is a mediaselector/4 which I think is out of date - BBC > now uses mediaselector/5 and Triode had posted an update to handle > that but I haven't looked at it yet. > > > edit: > > utgg knows how to get the Listen Again HLS URLS - see > http://forums.slimdevices.com/showthread.php?103158-Announce-PlayHLS-Plugin-plugin-to-play-Apple-HLS-m3u8-stream&p=808439&viewfull=1#post808439
The following format of mediaselector/5 is a starting point: "http://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/vpid/b052grbv/format/json/mediaset/android-phone-rtmp-high/proto/http". Mediaset can also be 'apple-ipad-hls', and I guess there are others about - I've only found ones that yield lower bit rates for mobile use. You need to find the 'vpid' of the program. 'bbc_radio_three" etc also works. The xml files used by Tridoes app can be used to find the vpid, but will probably disappear eventually. I haven't yet looked for an alternative, but http://polling.bbc.co.uk/appconfig/iplayerradio/android/1.6.5/endpoints.json or http://polling.bbc.co.uk/appconfig/iplayerradio/android/1.6.5/endpoints.xml might be a nice starting point to find all the urls, although the version numbering implies it isn't very permanent! The m3u8 'master playlist' url that you'll find in that bit of json/xml won't play in ffmpeg though. There is some 'bbc special' mucking about with cookies required - that's why I've written my own program to replace ffmpeg to handle this. The master playlist usually gives a couple of bit-rate options for the listen again streams, including the highest rate 320kbps stream if it is available. For some reason only the .../uk/high/... 128kbps urls we know about are provided for 'bbc_radio_three' vpid, however, not the .../uk/sbr_high/... ones. ------------------------------------------------------------------------ utgg's Profile: http://forums.slimdevices.com/member.php?userid=40900 View this thread: http://forums.slimdevices.com/showthread.php?t=103158 _______________________________________________ plugins mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/plugins
