### 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 - Ed

Pages: [1] 2 3 ... 9
1
##### R4 Extra (The Station Formerly Known As R7) Matter / Record On-demand files at 320kbps with YouTube-dl.exe
« on: October 21, 2017, 04:00:34 AM »
These links give access to the Beeb's secret pages on which the full details of their hls and dash url's can be found -

The VPID (final 8 characters) is the only part of the url that changes for each radio programme -

http://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/pc/vpid/00000000

http://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/mobile-phone-main/vpid/00000000

http://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/mobile-phone-main/transferformat/hls/vpid/00000000

Here, I've replaced the actual vpid with 8 zero's. Simply choose one of the three links, and substitute an actual vpid for the 8 zero's.

You can find the actual VPID for an individual radio show on one of these pages -

or open the radio show in your browser, and start it playing, then right-click on the window in which the show is playing.

2
##### Help / Re: get_iPlayer trouble....
« on: October 21, 2017, 03:44:29 AM »
In practice, I find that the download speed I get varies every time I use get_iplayer. But it also varies markedly when I'm using other solutions too (such as rtmpdump.exe or ffmpeg.exe or YouTube-dl.exe), so I don't worry too much about it.

My download speed varies because of my ISP (after 6pm I find that my ISP slows down, as users start to get home from work and log-on), or because of heavy use of the BBC website (which can be much slower than other sites at weekends, for example, a time when demand is particularly high).

You don't have an actual problem with get_iplayer itself, unless that program stops functioning.

But sometimes it can help speed things up if you clear get_iplayer's cache (provided you don't do so more than once a day: caching some information on your machine makes some functions of get_iplayer run quicker). Open the directory C:\Users\%Username%\.get_iplayer and delete all the files named .cache and then re-start get_iplayer.

DASH and HLS links in XML format

These links give access to the Beeb's secret pages, on which the full details of their hls and dash url's can be found -

The VPID (final 8 characters) is the only part of the url that changes for each radio programme -

http://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/pc/vpid/00000000

http://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/mobile-phone-main/vpid/00000000

http://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/mobile-phone-main/transferformat/hls/vpid/00000000

Here, I've replaced the actual vpid with 8 zero's. Simply choose one of the three links, and substitute an actual vpid for the 8 zero's.

You can find the actual VPID for an individual radio show on one of these pages -

or open the radio show in your browser, and start it playing, then right-click on the window in which the show is playing.

This is basically what get_iplayer is doing for you, i.e. it does all the above so you don't have to. But the information might be helpful to anyone reading this who prefers to use other software (such as rtmpdump.exe or ffmpeg.exe or YouTube-dl.exe).

3
##### Help / Re: get_iPlayer trouble....
« on: October 18, 2017, 03:31:02 AM »
In case anyone needs this information -

The current version of get_iplayer for Windows is 3.05:

https://github.com/get-iplayer/get_iplayer_win32/releases

The installation program installed get_iplayer in this directory on my machine (running Windows 7):

C:\Program Files (x86)\Get_iPlayer

You have to create a download directory yourself. I created it as a sub-directory of the program's directory:

The installer program does create a shortcut on the Desktop for you to use. I suggest using my batch file instead - see above. But if you need the shortcut, and haven't got it, here is what it contains. In the 'Target' box it has this command -

Code: [Select]
C:\Windows\System32\cmd.exe /k get_iplayer.cmd --search dontshowanymatches && get_iplayer.cmd --help
And in the 'Start in' box it contains this:  %HOMEDRIVE%%HOMEPATH%

Before you begin

Windows 7 is the minimum version supported by get_iplayer v3 - Windows XP and Vista are not supported. Use the version 2 installer for XP and Vista. This seems to be only because the bundled version of ffmpeg.exe included in the v3 package does not work on those earlier Windows versions.

Also, you must replace the bundled version of ffmpeg anyway, in order to convert output files to MP4 and to add metadata tags.

The installer includes all necessary dependencies: AtomicParsley, ffmpeg, and a customised version of Strawberry Perl. This is the only supported configuration of get_iplayer for Windows. If you use any other version of those tools, your installation of get_iplayer is not supported: i.e. you can't ask the development team for help if you hit a problem using earlier versions of those tools.

There is generally no need to uninstall the previous version of get_iplayer before installing a new version. You can simply install over the previous version. However, if you prefer to uninstall and re-install, that should work just as well.

Command-line interface

An "All Users" installation will be performed, with get_iplayer installed in:

C:\Program Files (x86)\get_iplayer

To start the program go to get_iplayer > get_iplayer on the Start menu. The program will launch in a console window.

The working directory of the console window will be your home directory (%HOMEDRIVE%%HOMEPATH%). You may also open a normal command prompt (cmd.exe) and run get_iplayer commands there.

NOTE: Do not launch get_iplayer.cmd (in the installation directory) directly from Windows Explorer. The batch file will quit immediately after updating the programme cache. You must run get_iplayer from the Start menu shortcut, or in a command prompt window, for it to work properly.

Notes

The installer will append the installation directory to the value of your system PATH environment variable. You can thus invoke the program from any command prompt, with any working directory, by entering your get_iplayer command at the prompt and hitting Return. The Start Menu shortcut is installed for convenience.

The path for the embedded Perl distribution (perl subdirectory) and the path to the included atomicparsley and ffmpeg utilities (utils subdirectory) are not permanently added to %PATH%. They are temporarily prepended to %PATH% only when get_iplayer batch scripts are running. If %PATH% is already quite large (>=2048 chars), e.g. because of other software packages that did not properly update %PATH% on install or uninstall, you may experience problems launching get_iplayer, perl or external programs. You may encounter error messages similar to "get_iplayer.cmd is not recognized as an internal or external command". You may also encounter similar problems if your PATH environment variables contain invalid or corrupted file paths or mismatched quotes. First, try rebooting your machine. If that does not help, you will need to clean obsolete and invalid entries from your PATH environment variable settings. Run echo %PATH% from a command prompt to check the value.

Do not launch get_iplayer or the Web PVR Manager with 'Run as administrator'. It will open the get_iplayer console window in C:\WINDOWS\system32, which is a system directory where you should not be working. It should not be necessary to run them as administrator.

Features

- Indexing of most available iPlayer catch-up programmes  (not BBC Three, Red Button, or iPlayer Exclusive)
- Caching of index with automatic updating
- Regex search on programme name
- Regex search on programme description and episode title
- Filter search results by channel
- PVR capability (may be used with cron or Task Scheduler)
- HTTP proxy support
- Perl 5.10.1+ required, plus LWP, LWP::Protocol::https,XML::LibXML and Mojolicious modules
- Requires ffmpeg for conversion to MP4 and AtomicParsley for metadata tagging
- Runs on Linux/BSD (Ubuntu, Fedora, OpenBSD and others),  macOS (10.10+), Windows (7/8/10) (XP/Vista not supported)

NOTE:

1.  get_iplayer can only search for programmes that were broadcast on BBC linear services within the previous 30 days, even if some are available for more than 30 days on the iPlayer site. Any programmes that are still available after 30 days must be located on the iPlayer site and downloaded directly via PID or URL.

2.  get_iplayer does not support downloading news/sport videos, other embedded media, archive sites, special collections, educational material, programme clips or any content other than whole episodes of programmes broadcast on BBC linear services within the previous 30 days, plus episodes of BBC Three programmes posted within the same period. It may be possible to download other content directly via PID or URL, but such use is not supported.

4
##### Help / get_iPlayer
« on: October 07, 2017, 01:30:57 AM »
Just a brief update to this thread.

I've recently been using get_iPlayer myself, with both radio and tv. Any problems there may have been earlier in the year seem to have been resolved, as it's currently working successfully.

I'm using v3.02, the latest version for Windows (see https://github.com/get-iplayer/get_iplayer/wiki/windows). I'm running Windows 7 on a laptop.

It is NOT necessary to sign-in to the BBC website. The program can access radio or television without signing in: this is one of the big advantages of using get_iPlayer. As yet, this is the only way to access tv without signing in that I've found.

I use these settings in a batch file (get_iplayer.bat) to access tv  -

Code: [Select]
SET pid=b0077lhkSET progname=Sgt Wilsons Little SecretSET get_iplayer="C:\Program Files (x86)\Get_iPlayer\get_iplayer.cmd"%get_iplayer% --pid=%pid% --info --streaminfo --force >> "Prog Info - %progname%.txt"

Code: [Select]
::  TV ChannelSET channel=BBC Two::  TV ShowSET show=Sgt Wilsons Little Secret::  Program LocationSET get_iplayer=C:\Program Files (x86)\Get_iPlayer\get_iplayer.cmd"%get_iplayer%" --get "%show%" --type=tv --tvmode=good --channel="%channel%"  --file-prefix="<nameshort><-senum><-episodeshort>" --output "C:\Users\%username%\Downloads" --force & cmd /k

5
##### Radio Matters / Orson Welles presents 'The Jack Benny Show' !
« on: October 07, 2017, 01:00:26 AM »
Here's a show you all might enjoy: Jack Benny had a half hour radio comedy show on American commercial radio, a weekly show that ran more than twenty years, from 1938 until the early 1960s - the era known now as Old-time Radio. Thereafter, the show moved to television.

Jack Benny, Mary Livingston (Jack's wife), Phil Harris, Denis Day, and Rochester. Sponsored in 1943 by Grape Nut breakfast cereal.

When Jack - a versatile comedian - was taken ill (which didn't happen very often) sometimes Orson Welles would stand in for him. Mr Welles was not known for his ability as a stand up comedian, but he does a pretty good job in a show that was basically a half-hour comedy sketch, to the extent of even doing sight gags - on radio!

This one is from 1943, with Jack taking a week off due to illness, and Orson Welles pinch hitting for him (mostly on the receiving end, as the butt of all the rest of the cast's jokes) -

More American old time radio here:
http://myweb.tiscali.co.uk/bridip/clitheroe/otr.htm

6
##### R4 Extra (The Station Formerly Known As R7) Matter / Paul Temple and the Gregory Affair (1946) - Crawford Logan
« on: September 18, 2017, 09:52:03 PM »
Paul Temple and the Gregory Affair, starring Crawford Logan, begins today on 4 Xtra.

This is in the 6am slot, with repeats at 1pm, 8pm and 1am.

A ten parter! The longest Paul Temple serial ever broadcast. And probably too long: the fact that this experimental length - an early experiment, in 1946 - was never tried again suggests that the BBC actually realised that at the time.

When broadcast on Radio 4 FM, five years ago, I found this one very hard to follow, because by the time they'd reached episode 8 - and buggered about by taking a week off in the middle to broadcast something else - I had completely lost the plot.

Hopefully, it may be easier to follow when broadcast as a daily serial, over 2 weeks instead of 11.

http://www.bbc.co.uk/programmes/b0368fwf

7
##### Geek Speak / UPDATE -
« on: September 11, 2017, 04:09:06 AM »
The Greasemonkey script - which I've mentioned in other threads on Beebotron - gets the DASH url of the radio show (needed to play or download that show) from this webpage:

http://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/pc/vpid/00000000

The script substitutes the vpid of the radio show in question for the 8 zero's. (The acronym 'vpid' stands for 'Version Programme ID').

To find the 8-digit vpid, start the On-demand radio show playing on the BBC iPlayer page, and right-click on the player window. The vpid is included in the second line of the information box which pops up (usually the 3rd item).

On some BBC webpages, the vpid is sometimes named the verpids.

Here's an example of what an actual DASH url looks like for an on-demand radio show:

http ://aod-dash-uk-live.akamaized.net/usp/auth/vod/piff_abr_full_audio/
0a312b-b0027l6w/vf_b0027l6w_9ea0e33c-352a-4f8c-8b48-a4772c9a17ec.ism/

The program YouTube-dl.exe can download this type of url, and the program VLC Media Player can play this type of url.

The above procedure is also how to find the URL for an iplayer on-demand TELEVISION show.

Here's an example from a recent repeat of "Dad's Army" on BBC2:

http://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/pc/vpid/b000s29y

That's an example of the url which the program Get_iPlayer uses to download tv shows from the iPlayer website,  without the need to sign-in.

8
##### R4 Extra (The Station Formerly Known As R7) Matter / Re: Lives of Harry Lime ?
« on: August 31, 2017, 03:33:50 AM »
For fans of Orson Welles everywhere, I should like to recommend:

The Lives of Harry Lime at the Internet Archive (1951-1952) (all 52 episodes) -

http://www.archive.org/details/TheLivesOfHarryLime

9
##### R4 Extra (The Station Formerly Known As R7) Matter / Re: Record On-demand files at 320kbps with YouTube-dl.exe
« on: August 31, 2017, 02:44:19 AM »
It's nice to hear from someone who understands these programs. I use them, but my familiarity with them is purely empirical.

In your view, is the use of FFMPEG to extract part of the downloaded file (trimming off the announcer at the start and the end of the file) a sufficient re-muxing to achieve the result you describe? It results in an iso2 file, in m4a format.

I use this command:

Code: [Select]
::  **  INPUT File : iso6 (iso6/dash) **    SET file=C:\Path\to\file\filename.m4a    ::  Specify STARTING POINT in seconds    SET start=0    ::  Specify NUMBER of frames to extract (duration of part extracted) (46.875 frames per second)    SET frames=99999::  ** Extract PART of .M4A (AAC)  [Output = isom/iso2] **    SET extract=-ss %start% -aframes %frames%    SET options=-map_metadata 0 -movflags +faststart -flags global_header    ffmpeg.exe  -i "%file%"  -vn -acodec copy %extract%  %options%  "%file%.m4a"

Is it necessary to include  --add-metadata  as well?  (I can't in fact find that option, in the ffmpeg help files. And the program throws an error if I use that option.)

It is NOT necessary to sign-in to a BBC account before you can use Andrea's Greasemonkey script:

How to listen to iPlayer radio without signing-in -
https://forum.beebotron.org/index.php?topic=66093.0

I use the script all the time, and have never signed in. Due to those solutions.

My only objection to get_iplayer was the complexity (for the average user) of having to install Perl in order to use it.

But it also offers the user no way out in the event of any problem. Every time the BBC make yet another change to the iplayer site, it typically breaks the current version of get_iplayer. All one can do is wait in the hope that a new version of get_iplayer will eventually be released.

Any more 'hands-on' approach gives the user options to fix a problem himself, immediately, perhaps by switching to a new url. A problem is user-repairable if all it needs is for the user to substitute a new BBC url (for a non-working one) in a batch script.

10
##### R4 Extra (The Station Formerly Known As R7) Matter / Record On-demand files at 320kbps with YouTube-dl.exe
« on: August 05, 2017, 06:06:52 PM »
This is a brief note intended to help listeners to the BBC iPlayer service, following recent changes to it that have hidden many of the audio streams that run at more than 128 kbps.

BBC iPlayer DASH audio streams

I have, with regret, abandoned the FFMPEG program entirely.

The BBC now use two types of audio stream, HLS and DASH. FFMPEG can only download HLS, but I cannot find any HLS on-demand streams that are genuinely running at more than 128 kbps (i.e. the entire 'Listen-again' service is only running at 128 kbps, even streams that are advertised as having a higher bitrate).

Solutions I've suggested in the past on Beebotron for HLS streams will still work. And the live streams can still be accessed at the 320 kbps bitrate. Even the On-demand streams can be accessed, but only at 128 kbps, not at 320 kbps.

But I would now recommend Livestreamer.exe as the best program for accessing all of those streams, not ffmpeg.

Livestreamer is here:

And for anyone who wants the 320 kbps bitrate, only the DASH streams now provide that, for the On-demand streams (and the BBC seem to be moving gradually towards using only DASH). So welcome to the world of YouTube-dl.

The Firefox script by Andrea has been rewritten from scratch for the new version (version 4), to cope with the latest changes to iPlayer. The version 4 script doesn't use FFMPEG, instead it takes advantage of YouTube-dl : a program which has DASH recording capability.

Get Andrea's script (currently v4.0.5), for Firefox, here:

The audio streams are downloaded in their original formats. Usually this results in an .MP4 file for tv shows, and .M4A for radio shows. The file plays in GOM media player (and, in my tests, in most media players that run on Windows - except, sadly, Winamp).

The script enables you to download (i.e. record) video or audio in the DASH format, by providing the necessary command line. You also need to use youtube-dl to actually record the streams (https://rg3.github.io/youtube-dl/).

So all you need is the YouTube-dl.exe program, in order to download a DASH audio file using the new type of command line, which Andrea's script will give you (currently the script is version 4.0.5).

I use Firefox 39, with the Greasemonkey add-on. Andrea's script installs in Firefox as a Greasemonkey script, as described in my other posts on Beebotron about the iPlayer 320 kbps streams.

Here's an example of the command line that appears on the iPlayer page when you open it in Firefox. This is an episode of 'To the Manor Born' (from the radio series) -

Code: [Select]
youtube-dl -f bestaudio "http://aod-dash-uk-live.akamaized.net/usp/auth/vod/piff_abr_full_audio/648c91-b0059prl/vf_b0059prl_3e1c3c39-8dd1-4b21-9b3b-a3a7656fc519.ism/pc_hd_abr_v2_uk_dash_master.mpd?__gda__=1501970164_f704cf749be1d3bcabe59ff62e003d1a" -o To_the_Manor_Born_The_Rhythms_of_the_Earth
Copy-and-paste the command line from Firefox into a batch file (a .bat or .cmd file in Windows), put the batch file in the same folder as YouTube-dl.exe, then run the batch file. The file which downloads must then be given the extension .mp4 or .m4a by you.

MPEG-DASH

Dynamic Adaptive Streaming over HTTP (DASH), also known as MPEG-DASH, works by breaking the content into a sequence of small HTTP-based file segments, each segment containing a short interval of playback time of content.

MPEG-DASH should not be confused with a transport protocol — the transport protocol that MPEG-DASH uses is TCP.

It can use content encoded with any codec. The BBC currently use both HLS and MPEG-DASH.

11
##### Radio Programmes - Info \'n\' Reviews / Eddie Mair's PM 27/07/17 Radio4
« on: July 31, 2017, 05:17:35 PM »
I used the link which you posted, and the programme played without any problem.

I'm in the UK, and my experience might be different to listeners overseas, as a consequence of recent BBC changes to iPlayer. (Has there ever been a time when the phrase 'due to recent BBC changes to iPlayer' did not end my every sentence?)

Listeners to iPlayer should note my recent thread, here:

https://forum.beebotron.org/index.php?topic=66093.msg66363

Your listening experience may be worse currently, due to you being intentionally blocked by some of the recent changes. My post explains some counter-measures you can take to resolve the problem.

12
« on: July 31, 2017, 05:03:12 PM »

I have the ability to monitor the audio stream itself, and to measure its bitrate. There are various software tools which include this capability. My tests establish that ffmpeg is actually fetching a 384 kbps bitrate stream.

Let's try the easiest test. I'm running Windows 7: for anyone using it, and interested in carrying out a test, all you need do is right-click on the Desktop task bar, then click 'start task manager'.

The 'Networking' tab in Task Manager will show the bitrate of the incoming stream: both as a visual graph, and (in the column 'Bytes Received per Interval') as a number. It's important to only have a single stream download running when you're doing this test (otherwise you'll see the combined data for all running streams).

It's quite good fun to take one of my .mp2 download methods, and run it with Task Manager open so you can watch the results. Then change the .mp2 extension to .wav and re-run the test: watch the incoming rate shoot up from 384 kbps to 1,500 kbps !

(Whatever figures you're seeing will quadruple, as will the average height of the visual display graph. Because these are 'chunked' streams, the audio is delivered in discontinuous chunks, for reliability, not as a continuous steady stream at 384 kb/sec, so what you see is an average, rising and falling, not a steady line.)

Not that I recommend downloading the uncompressed .wav stream, because it gives you a gigantic file size. But it makes a powerful demonstration of my point.

@ilainftw : I'd be interested to know what software you are using to measure the bitrate. Perhaps it's something I can run in Windows 7 ?

13
« on: July 25, 2017, 02:25:09 PM »
Although the above described method does work, I was never happy with it, because the audio stream which it accesses is unstable. The connection rarely lasts more than 15 minutes at a stretch.

So although you can reconnect when that happens, I decided to look around for a method which gives better results. And I eventually found the url's detailed below, each of which gives a stream which, in my tests, is usually stable over several hours.

Here, then, is the new method for forcing the live stream to run at 384 kbps, instead of at the standard bitrate of 320 kbps.

Use any of these four command lines (each is actually a 2-line command line) -

Code: [Select]
SET url=http://a.files.bbci.co.uk/media/live/manifesto/audio/simulcast/hls/uk/sbr_med/ak/bbc_radio_four_extra.m3u8ffmpeg  -v 16  -stats  -i %url%  output.mp2
Code: [Select]
SET url=http://a.files.bbci.co.uk/media/live/manifesto/audio/simulcast/hls/uk/sbr_high/ak/bbc_radio_four_extra.m3u8ffmpeg  -v 16  -stats  -i %url%  output.mp2
Code: [Select]
SET url=http://as-hls-uk-live.akamaized.net/pool_6/live/bbc_radio_four_extra/bbc_radio_four_extra.isml/bbc_radio_four_extra-audio=320000.m3u8ffmpeg  -v 16  -stats  -i %url%  output.mp2
Code: [Select]
SET url=http://as-hls-uk-live.akamaized.net/pool_6/live/bbc_radio_four_extra/bbc_radio_four_extra.isml/bbc_radio_four_extra-audio=320000.norewind.m3u8ffmpeg  -v 16  -stats  -i %url%  output.mp2

To play the command line, copy-and-paste the url into, for example, VLC Media Player.

To download the live stream, copy-and-paste one of the 2-line command lines into a batch file ( e.g. download.bat ), put the batch file in the same directory as the ffmpeg.exe program, then run the batch file.

Notes on creating a batch fileCreate a Batch file

14
##### Geek Speak / How to force the Live Stream to use 384kbps
« on: July 25, 2017, 02:00:26 PM »
Here is a method for forcing the live stream to run at 384 kbps, instead of at the standard bitrate of 320 kbps.

Use any of these four command lines -

Code: [Select]
SET url=http://a.files.bbci.co.uk/media/live/manifesto/audio/simulcast/hls/uk/sbr_med/ak/bbc_radio_four_extra.m3u8ffmpeg  -v 16  -stats  -i %url%  output.mp2
Code: [Select]
SET url=http://a.files.bbci.co.uk/media/live/manifesto/audio/simulcast/hls/uk/sbr_high/ak/bbc_radio_four_extra.m3u8ffmpeg  -v 16  -stats  -i %url%  output.mp2
Code: [Select]
SET url=http://as-hls-uk-live.akamaized.net/pool_6/live/bbc_radio_four_extra/bbc_radio_four_extra.isml/bbc_radio_four_extra-audio=320000.m3u8ffmpeg  -v 16  -stats  -i %url%  output.mp2
Code: [Select]
SET url=http://as-hls-uk-live.akamaized.net/pool_6/live/bbc_radio_four_extra/bbc_radio_four_extra.isml/bbc_radio_four_extra-audio=320000.norewind.m3u8ffmpeg  -v 16  -stats  -i %url%  output.mp2

To play the command line, copy-and-paste the url and use it in, for example, VLC Media Player.

To download the live stream, copy-and-paste one of the 2-line command lines into a batch file ( e.g. download.bat ), put the batch file in the same directory as the ffmpeg.exe program, then run the batch file.

Notes on creating a batch fileCreate a Batch file

This method for forcing a 384 kbps output no longer works.

In any case, I now recommend a new solution, using the program YouTube-dl.exe instead of ffmpeg.exe (the new solution downloads at the current maximum of 320 kbps). See this post:

https://forum.beebotron.org/index.php?topic=66110.msg66416

15
##### R4 Extra (The Station Formerly Known As R7) Matter / How to force the Live Stream to use 384kbps
« on: July 25, 2017, 01:19:14 PM »
Here is a method for forcing the live stream to run at 384 kbps, instead of at the standard bitrate of 320 kbps.

Use any of these four command lines -

Code: [Select]
SET url=http://a.files.bbci.co.uk/media/live/manifesto/audio/simulcast/hls/uk/sbr_med/ak/bbc_radio_four_extra.m3u8ffmpeg  -v 16  -stats  -i %url%  output.mp2
Code: [Select]
SET url=http://a.files.bbci.co.uk/media/live/manifesto/audio/simulcast/hls/uk/sbr_high/ak/bbc_radio_four_extra.m3u8ffmpeg  -v 16  -stats  -i %url%  output.mp2
Code: [Select]
SET url=http://as-hls-uk-live.akamaized.net/pool_6/live/bbc_radio_four_extra/bbc_radio_four_extra.isml/bbc_radio_four_extra-audio=320000.m3u8ffmpeg  -v 16  -stats  -i %url%  output.mp2
Code: [Select]
SET url=http://as-hls-uk-live.akamaized.net/pool_6/live/bbc_radio_four_extra/bbc_radio_four_extra.isml/bbc_radio_four_extra-audio=320000.norewind.m3u8ffmpeg  -v 16  -stats  -i %url%  output.mp2

To play the command line, copy-and-paste the url into, for example, VLC Media Player.

To download the live stream, copy-and-paste one of the 2-line command lines into a batch file ( e.g. download.bat ), put the batch file in the same directory as the ffmpeg.exe program, then run the batch file.

Notes on creating a batch fileCreate a Batch file