Odd fetching of radio
Vangelis forthnet
northmedia1 at the.forthnet.gr
Sun Feb 21 16:48:57 PST 2016
On Sun Feb 21 12:46:42 BST 2016, J wrote:
> and was wondering about the SR difference between
> a directly-downloaded podcast and the mp3 file
> with which one ends up
> if downloading the broadcast program via GiP.
Of course you do imply adding the --(aacto)mp3 switch;
the code for that does not touch the SR value:
http://git.infradead.org/get_iplayer.git/blob/e8e81942394eed7e0f63cf977737054a5a22530a:/get_iplayer#l10341
so the original 48kHz value already present in the flv
(for flashaac mode) or ts (for hlsaac mode) file is
carried over to the MP3 transcode...
> The one I had just looked at
> was R4's Friday Night Comedy:
> http://open.live.bbc.co.uk/mediaselector/5/redir/version/2.0/mediaset/audio-nondrm-download/proto/http/vpid/p03k30nd.mp3
... And you can fetch that via GiP, issuing:
get_iplayer --type=podcast --fields=episode "The News Quiz 19 Feb
16" -g --no-tag
> That "open.live" part of the URL
> may provide some sort of clue
> suggesting linkage with live radio.
Deceptive as it may appear,
"open.live.bbc.co.uk" is just the hostname
of the server for the "mediaselector/5" API
used throughout the iplayer infrastructure to
derive available streams (live or on-demand,
audio or video) from any given set of
mediaset+vpid ("mediaset" targets
client devices).
Best regards.
More information about the get_iplayer
mailing list