Recent Posts

Pages: [1] 2 3 ... 10
1
Geek Speak / Latest BBC iPlayer changes
« Last Post by Ed on May 05, 2019, 04:23:31 AM »
Live Radio

Persists for 11 Hours

How to download a BBC radio programme in HIGH RESOLUTION (320 kbps) in Windows 7, from (for example) BBC Radio 4 Extra.

You can download the latest 11 hours of programmes, so this method will work for any radio show for up to 11 hours after it is broadcast.


This procedure uses these files:  http://www.mediafire.com/download/p7m8yo938aw60ya/AAC_320_kbps_HLS_streams.zip

The following details include modifications to take account of changes made by the BBC in the first quarter of 2019.


 • First, put the file WGET.EXE on the Desktop.

 • Then create a sub-directory (a new folder) on the Desktop,
   and put the five .BAT batch files in it (NOT wget.exe)



STAGE 1 : DOWNLOAD THE .TS FILES

 Run the .bat batch files in the following order:-

     1. Run batch file 1. This will download a .m3u8
        playlist file, containing text.


        CORRECTION (2019/05/05):

        Before running batch file 1, alter it as follows.
        Change the url address contained in it to:
       
        http://as-hls-uk-live.bbcfmt.hs.llnwd.net/pool_904/live/uk/bbc_radio_four_extra/bbc_radio_four_extra.isml/bbc_radio_four_extra-audio=320000.m3u8

        This reflects a recent change made by the BBC.


     2. Open the playlist file, using Notepad. It contains
        a list of filenames in the following format:

        bbc_radio_four_extra-audio=320000-123456789.ts

        There will be hundreds of these entries in the
        playlist file. They represent all the .ts files
        for the last three hours (each such .ts file
        contains 6 seconds of audio). The first entry
        in the playlist file is the oldest.

     3. This part of the filename is irrelevent:

        bbc_radio_four_extra-audio=320000-

     4. The relevent part is the final 9 characters, a
        9 digit number, which you type into batch file 2.

        To download the entire 3 hours, take that 9 digit
        number from the first entry in the playlist file.

        To choose your own starting point, take that 9 digit
        number from any later point in the playlist file.
        Ten entries in that file represent 1 minute of audio
        (6 seconds x 10), so 600 entries represent 1 Hour:
        10 entries (1 minute) x 60 = 600 entries (60 mins).
       
        From the playlist file you can choose any starting
        point in the 3 hours immediately before the time
        when you downloaded the .m3u8 playlist file.

        But you can, instead, choose any starting point in the
        11 hours before you downloaded the .m3u8 playlist file,
        by editing the 9 digit number. By deducting 600 from the
        9 digit number you go back 1 hour, so (for example) by
        deducting 6,000 you get a starting point of 10 hours ago.

        Run batch file 2, to download the .TS files containing
        the audio (MPEG-2 TS Video files, 6 seconds long, and
        containing audio only; each typically 262KB in size).


        CORRECTION (2019/05/05):

        Before running batch file 2, alter it as follows.
        Change the url address contained in it to:

        http://as-hls-uk-live.bbcfmt.hs.llnwd.net/pool_904/live/uk/bbc_radio_four_extra/bbc_radio_four_extra.isml

        This reflects a recent change made by the BBC.


STAGE 2 : JOIN THE .TS FILES INTO A SINGLE FILE

 Run the .bat batch files in the following order:-

     5. Make SURE the sub-directory containg the downloaded .TS
        files has its header line set to show these columns:

             Name
             Type
             Size
             Length
             Date


        The critical values are DATE (which shows the air date
        and time of each audio file), and LENGTH (which shows
        its length in seconds).

        You can play .TS files using Media Player Classic
        or VLC Media Player or GOM Player.

        Playing the downloaded files enables you to locate
        the start and end of the radio show you want.

     6. Delete any .ts files that are not part of the radio
        show you want.

        NB: Perhaps, at first, delete them to the Recycle bin
               in case you make a mistake.

     7. Run batch file 3, then batch file 4, to rename the
        .TS files you have chosen to keep.

     8. Type the 9 digit number from the .m3u8 file into
        batch file 5, to modify the following line:

          SET number=000000000

        (Replace the 9 zero's with the 9 digit number)

     9. Run batch file 5, in the sub-directory.

        This will create a new batch file, batch file 6,
        containing the list of files to be merged.

    10. Run batch file 6, in the sub-directory.

        All files in that directory with a higher number
        than the 9 digit number you took from the .m3u8
        playlist are merged into a single file.

    11. Delete all the 6-second long files. Keep only
        the output file (which will be obvious from its
        file size).

        You can play the file using Media Player Classic
        or VLC Media Player or GOM Player or Windows
        Media Player. This is an audio-only file, even
        though .ts is a video format.


        What you end up with is a file without an index.
        Some audio players will not mind, others will.

        To fix the problem, use FFMPEG.EXE to create
        an index for the file -

        Example  (for a .TS file containing AAC audio):

        ffmpeg.exe -i "file.ts" -acodec copy -bsf:a aac_adtstoasc -flags global_header "file.m4a"


 


2
Announcements / Re: Farewell JANARU
« Last Post by becky sharp on March 19, 2019, 01:26:23 PM »
I received an email (out of the blue) from this forum last week It has been a long while since I have visited...On clicking onto the forum I saw this very sad news. Janaru was a lovely person..always courteous and cheerful. Her contributions on this forum...whilst I posted were always a joy to read.I'm sure she will be sorely missed by all of her friends on here.
3
Radio Programmes - Info \'n\' Reviews / Re: Back ON! GRRRREAT ... Thanks Rick
« Last Post by IvorThirst on March 13, 2019, 03:55:28 PM »
My main notice had been the lack of prospective members. Suddenly, I am once again being inundated by a load of weird names.
4
Radio Programmes - Info \'n\' Reviews / Re: Back ON! GRRRREAT ... Thanks Rick
« Last Post by Ironeyes on March 08, 2019, 03:57:36 PM »
Yes! That was somewhat scary, having it disappear with no warning, or message telling us it was only a temporary absence. (That's NOT me having a pop Rick  :) )

I thought something disastrous had happened.  :'(

Thanks for your continuing efforts, and I will get that cheque of mine to you.

 
5
Radio Programmes - Info \'n\' Reviews / Back ON! GRRRREAT ... Thanks Rick
« Last Post by Truthyness on March 08, 2019, 01:19:22 PM »
 8)
6
The Pub - Open All Hours / Re: In the absence of any similar messages...
« Last Post by IvorThirst on January 28, 2019, 09:42:25 AM »
The reason that I asked was that last night the site still said that it was 'Raspberry Pi @ Tresaith'. Now it has Metamorphosed to 'Raspberry Pi @ Penparc'. Now off to Google Maps.

I hope that all is well.
7
The Pub - Open All Hours / Re: In the absence of any similar messages...
« Last Post by Kronalias on January 28, 2019, 09:28:53 AM »
Tresaith became very holidaymakerish, with over half the properties second homes. We were rattling in our place and, when you walk into your local pub and don't know anyone, it's time to move on!

We bought a new bungalow in a village about six miles down the road - it's not a holiday destination, and we know loads of people there. Suits us!

Good to hear from you - hope all's well, K
8
The Pub - Open All Hours / Re: In the absence of any similar messages...
« Last Post by IvorThirst on January 27, 2019, 08:23:18 PM »
Thanks K. Obviously, at 20:14, the picture is rather black. Hopefully, this will be cured after 08:00 tomorrow. The main thing is that the weather forecast is there.

Like you, I have forgotten how to PM; absence make the brain grow slower.

I still think "I must tell Jan about That". Then I remember.

Are you still in Tresaith? Or was the house move more drastic?

I
9
The Pub - Open All Hours / Re: In the absence of any similar messages...
« Last Post by Kronalias on January 27, 2019, 01:43:49 PM »
Just for Ivor: Normal(?) service may(?) have been resumed for your weather forecast.

Apols to everyone else as I've lost plot on how to send PMs to people!

Cheers, K

PS Still missing Jan. The world needs more like her.

 
10
The Pub - Open All Hours / Re: In the absence of any similar messages...
« Last Post by Kronalias on January 05, 2019, 06:41:51 PM »
Belated greetings and best wishes to all.

Jan - sorely missed and a lovely lady.

@Ivor: Apols for the lack of forecasting - we've moved house - but some sort of service should be resumed in the next couple of weeks!

Cheers, K
Pages: [1] 2 3 ... 10