Show Posts

You can view here all posts made by this member. Note that you can only see posts made in areas to which you currently have access.


Messages - newuser99

Pages: [1]
1
I just tried to open a link from https://beebotron.org/listings/radio4extra/hls/  - http://open.live.bbc.co.uk/mediaselector/5/redir/version/2.0/vpid/b009j9fv/mediaset/audio-syndication/proto/http. I can\'t get it to open in Itunes and it won\'t work in VLC, and ffmpeg throws an error.

I will try some more options and them take this over to Geek Speak.

2
Help / Re: How to find Mediaselector ID using Programme ID
« on: February 28, 2015, 12:29:49 AM »
I can confirm adancy\'s suggestion to use http://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/pc/vpid/ for looking up the media selector data required to format a string to record a program, from the USA.  I just finished modifying and testing my application. It works for radio 1-6. I have not tried it on anything else. I am curious how you discovered the url. I used to get them from http://www.bbc.co.uk/radio/aod/availability/.xml but those links are still showing the /4/ version.

The link http://forums.slimdevices.com/showthread.php?72709-Announce-BBCiPlayerExtra-v1-0/page8 contains a statement the the  that the /pc/ can be replaced with /journalism-http-tablet/ to get the HLS stream info. It works, but I don\'t know how to use the information. It does not work in Chrome 39.0.2171.95 (64-bit) or  VLC 2.0.1 (Mac) does not know what to do with it either.

I use an application i wrote in Smalltalk to create a shell script that looks like this:

#!/bin/sh
 /opt/local/bin/rtmpdump -r \"rtmp://bbcodspdns.fcod.llnwd.net:1935/a5999/e1?as=adobe-hmac-sha256&av=1&te=connect&mp=prod_rb2_flv_aac_low_intl/iplayerstream/p02jl7v4_b052hjqb_1424099656057.mp4&et=1425085114&fmta-token=85c25129a7e2d4588bf207c6bfd1bd1d2a9dfa93aa7f4f53a8229470bc7f107d\" -a \"a5999/e1?as=adobe-hmac-sha256&av=1&te=connect&mp=prod_rb2_flv_aac_low_intl/iplayerstream/p02jl7v4_b052hjqb_1424099656057.mp4&et=1425085114&fmta-token=85c25129a7e2d4588bf207c6bfd1bd1d2a9dfa93aa7f4f53a8229470bc7f107d\" -y \"mp4:prod_rb2_flv_aac_low_intl/iplayerstream/p02jl7v4_b052hjqb_1424099656057.mp4\" -o /Volumes/MediaVault/BBC/546704379.flv ; /opt/local/bin/ffmpeg -loglevel quiet  -i /Volumes/MediaVault/BBC/546704379.flv -c copy -copyts /Volumes/MediaVault/BBC/Phonophone.mp4 ; rm /Volumes/MediaVault/BBC/546704379.flv


This is a snippet of the code that produces it:
(connection is a Dictionary that contains the attributes of the connection tag)

dQuote := \'\"\'
defaultDestination =
supplier  := connection at: #supplier.
protocol  := connection at: #protocol.
authExpires   := connection at: #authExpires.
authString  := connection at: #authString.
priority  := connection at: #priority.
server  := connection at: #server.
application  := connection at: #application.
identifier  := connection at: #identifier.
flvFileName := randomString, \'.flv\'.
mp4Filename := fileName.
cmdLine := \'/opt/local/bin/rtmpdump -r \' , dQuote, protocol, \'://\', server, \':1935/\',  application, \'?\', authString, dQuote, \' -a \', dQuote, application, \'?\', authString, dQuote, \' -y \"\', identifier, dQuote,  \' -o \', defaultDestination, flvFileName, \' ; /opt/local/bin/ffmpeg -loglevel quiet  -i \', defaultDestination, flvFileName, \' -c copy -copyts \', defaultDestination, mp4Filename, \' ; rm \', defaultDestination, flvFileName.

I was only able to do this because I saw a command line example somewhere. Note the command line is three separate commands: rtmpdump, ffmpeg, and rm

--jrm

3
Help / Re: How to find Mediaselector ID using Programme ID
« on: December 26, 2014, 09:39:53 PM »
Hello,

For people who are interested in locating a mediaselector for programs that are available for listening from the BBC, This is an example good place to start: \"http://www.bbc.co.uk/radio/programmes/genres/music/player.xml?all\". It is an index of programs in the music genra which are currently available. It contains xml program elements for types= episode, brand, and series. You have do additional steps for brand and series, but for episodes you can navigate to the mediaselector like this.

1. From the program tag in the player link above (from 12/26/2014 - the files are updated frequently), copy the value of the episode pid == b04t0syd



b04t0syd
(Don\'t Fight It) Feel it - The Sam Cooke Story
Marking the 50th anniversary of the death of Sam Cooke, aka the King of Soul.

p02d9h32

1


2. Use the episode pid to look up the program information by plugging it into a program information link. http://www.bbc.co.uk/programmes/b04t0syd.xml and finding the tag. Copy the  value of the tag where canonical = \"1\" == b04t0sy9

b04t0sy9
3420

Original version




...


b04t0sy9
3420

Original version



...

3.   Plug canonical into the mediaselector url  http://www.bbc.co.uk/mediaselector/4/mtis/stream/b04t0sy9

This is what I see in the USA. You can select two different encoding options from the . I have used both. The WMA9 stream can be saved directly to a file, but it is written in real time. The AAC stream has to be processed by a decoding program. I use ffmpeg











4. Copy the href attribute from the connection tag and use it in your favorite listening environment.

http://open.live.bbc.co.uk/mediaselector/4/asx/b04t0sy9/stream-nonuk-audio_streaming_wma_low_nonuk


Happy Programming!

4
Abid,

\"ONLY ISSUE THOUGH, local radio stations, including BBC LONDON, still do not work. I\'m hoping John-Reed will be able to suggest something similar for the local stations too.\"

I believe that the work around I suggested does not work for the local links because a different naming convention is used in the local environment than the one that is used in the national station environment.

The work around is working to redirect the server name, but the path name itself does not resolve.

If I could see an example of a valid link from before this addressing kertuffle began, I might be able to come up with something, but for now I am stimied.

I know that there are a bunch of xml files hiding out in the various BBC station directories, but I am still trying to figure out how they can be used. I do know, however, that it is possible to drill through to find a playable international  link for the national stations so maybe I can find them for local stations as well.

Does anyone else out there have any knowledge or experience with them?

Personal Blog Entry from:
Saturday, July 09, 2011
I am still struggling to figure out the way to get the proper PID for the international links using the XML files provided by the BBC.

Right now it looks like this is as close as I can come: http://www.bbc.co.uk/radio4extra/programmes/schedules.xml

Because the play it again links are only good for seven days, this details of this example will soon be stale, but it is better than nothing.

On the web site: http://beebotron.org/public3/radio4extra.html, there is a link to the program \"Jenny Stephens\' Project Archangel, Episode 4 - The reason for Mike\'s involvement with the Nablovski colony is revealed. (4/4) [6 days 14 hours]\" which is \"http://www.bbc.co.uk/mediaselector/4/asx/b00wmzn1/iplayer_intl_stream_wma_lo_concrete\"

On the web site: http://www.bbc.co.uk/radio4extra/programmes/schedules.xml\" there is a reference to the show, but the pid is listed as b00wmznd. Tantalizingly close, but...

More research has revealed some more information. The link http://www.bbc.co.uk/programmes/b00wmznd.xml has an entry that displays the value b00wmzn1 in the tag b00wmzn11800Original version.

I think that this is what I need to be able to design an application that will use the data from the BBC XML files to build a command line string to record a show.
--- snip

If anyone finds this interesting, let me know and we can take this particular discussion to a new thread.

Regards,

John-Reed

5
Thanks to everyone who is participating in this thread.

My partial work around is to add an entry to my hosts file to redirect the url wm-acl.bbc.co.uk to the ip address 212.58.252.11. I am running Mac OS X 10.6.8, but the technique should work on any platform on which you have access to the hosts file. I followed instructions from http://decoding.wordpress.com/2009/04/06/how-to-edit-the-hosts-file-in-mac-os-x-leopard/ which I found

The entry I added is:
\"212.58.252.11   wm-acl.bbc.co.uk\" (Double quote marks are added for clarity only, they are not part of the actual entry.



-- prior to edit change
ping wm.bbc.co.uk
PING wm.bbc.net.uk (212.58.252.11): 56 data bytes
64 bytes from 212.58.252.11: icmp_seq=0 ttl=48 time=157.813 ms

ping wm-acl.bbc.co.uk
PING wm-acl.bbc.net.uk (212.58.227.107): 56 data bytes
Request timeout for icmp_seq 0

-- after edit change

ping wm-acl.bbc.co.uk
PING wm-acl.bbc.co.uk (212.58.252.11): 56 data bytes
64 bytes from 212.58.252.11: icmp_seq=0 ttl=48 time=503.030 ms

-- Discussion

1. The problem that I am experiencing is a result of a change that has been made by the BBC.
2. The International program links are still active and contain correct information

3. From an entry on http://beebotron.org/public3/radio4fm.html on 4/1/2012 - 13:00 MST/USA (This is BBC Listen Again - International (not UK!) WMA Links).

Archive on 4, Greece: An Unquiet History  - Writer Maria Margaronis asks if the spectre of Greece\'s past haunts its current nightmares [6 days 2 hours]

The link points to  http://www.bbc.co.uk/mediaselector/4/asx/b01dtdbt/iplayer_intl_stream_wma_lo_concrete[which contains the following text:
--- start

  http://www.bbc.co.uk/
  BBC
  BBC
  (c) British Broadcasting Corporation
 
 
   
   
   
    BBC
 


--- end

The problem is that the contents of this file refer to to \"wm-acl\". This is the error, the correct string should be \"wm\".

The change that I made to my hosts file forces the address resolution to the correct ip address.

I hope someone finds this information helpful.

Regards,

John-Reed

6
Help / BBC 7 Listen Again - Intl Links Incorrect
« on: April 24, 2010, 10:23:26 PM »
Hello,

I have noticed lately that there a lot of incorrect links on this page: http://beebotron.org/public3/radio7.html

example: Alistair Cooke - Letter from America, Thu 29 Nov - The legendary broadcaster recalls his friend Groucho Marx and watching Bing Crosby work. [4 days 19 hours]

rtmpt://bbcmedia.fcod.llnwd.net/a1414/e3/mp4:bbc7/secure_auth/international/RBN2_bbc7_-_thursday_1515_b0089ksx_2010_04_22_15_07_52?s=1271908874&e=1271995274&h=d05fd603187950d8faf774ec79b2a3a1

Pages: [1]