Lyrics & Knowledge Personal Pages Record Shop Auction Links Radio & Media Kids Membership Help
The Mudcat Cafesj

Post to this Thread - Sort Descending - Printer Friendly - Home


Tech: Windows Task Scheduler

Bonzo3legs 06 May 18 - 08:02 AM
Bonzo3legs 06 May 18 - 12:50 PM
DaveRo 06 May 18 - 05:20 PM
GUEST,.gargoyle 06 May 18 - 10:34 PM
GUEST 07 May 18 - 05:29 AM
Bonzo3legs 07 May 18 - 08:29 AM
Bonzo3legs 08 May 18 - 04:56 PM
DaveRo 08 May 18 - 06:03 PM
Bonzo3legs 11 May 18 - 05:26 PM
Share Thread
more
Lyrics & Knowledge Search [Advanced]
DT  Forum Child
Sort (Forum) by:relevance date
DT Lyrics:





Subject: Tech: Windows Task Scheduler
From: Bonzo3legs
Date: 06 May 18 - 08:02 AM

I got this working as a means of scheduling start time for BBC live webstream recordings using ffmpeg - only for radio at the moment, I'll try for a live BBC TV HD stream later.

What this means is that I can schedule a webstream recording to start at a particular time, and stop at the end of the duration specified in the ffmpeg command line, giving a "forever" recording.

I believe that the BBC live webstream is slightly better quality than that available from the iplayer, which if downloaded by the method advised by the BBC, will only be available for 30 days - perhaps not though if the file name is changed or converted to another format!!!


Post - Top - Home - Printer Friendly - Translate

Subject: RE: Tech: Windows Task Scheduler
From: Bonzo3legs
Date: 06 May 18 - 12:50 PM

What I can't work out is if I set task scheduler to record BBC Radio 3 "Jazz Now" weekly, how can I make ffmpeg automatically include the output file creation date in its name?


Post - Top - Home - Printer Friendly - Translate

Subject: RE: Tech: Windows Task Scheduler
From: DaveRo
Date: 06 May 18 - 05:20 PM

I know nothing about Windows Task Scheduler, but assuming you're using it to start an old-fashioned batch file containing an ffmpeg command try prepending the output file name with
%date:~-4,4%%date:~-7,2%%date:~-10,2%
%date% usually substitutes the date in the format Sun 06/05/2018 so that construction should produce 20180506


Post - Top - Home - Printer Friendly - Translate

Subject: RE: Tech: Windows Task Scheduler
From: GUEST,.gargoyle
Date: 06 May 18 - 10:34 PM

Go to any NON-co.uk server.

Scout around, perhaps, using ",DuckDuckGo".

Almost every broadcast is available, 15 minutes post publishing, and more than two decades in the past.

Sincerely,
Gargoyle

Obviously, torrent, but anything stemming from ....


Post - Top - Home - Printer Friendly - Translate

Subject: RE: Tech: Windows Task Scheduler
From: GUEST
Date: 07 May 18 - 05:29 AM

Thanks DaveRo and Gargoyle.


Post - Top - Home - Printer Friendly - Translate

Subject: RE: Tech: Windows Task Scheduler
From: Bonzo3legs
Date: 07 May 18 - 08:29 AM

Damned iphone logged me out!


Post - Top - Home - Printer Friendly - Translate

Subject: RE: Tech: Windows Task Scheduler
From: Bonzo3legs
Date: 08 May 18 - 04:56 PM

Ive managed to crack it with the following batch file:

@echo off

set hour=%time:~0,2%
set minutes=%time:~3,2%
set seconds=%time:~6,2%

set year=%date:~-4%
set month=%date:~-7,2%
set day=%date:~-10,2%

ffmpeg -i "http://a.files.bbci.co.uk/media/live/manifesto/audio/simulcast/hls/uk/sbr_high/ak/bbc_radio_scotland_fm.m3u8" -c copy -t 00:00:20 "Jazz Now %year%-%month%-%day% %hour%.%minutes%".ts

I set this up in Task Scheduler to run every 5 minutes which generated the following file names:
Jazz Now 2018-05-08 21.41.ts
Jazz Now 2018-05-08 21.46.ts
Jazz Now 2018-05-08 21.51.ts


Post - Top - Home - Printer Friendly - Translate

Subject: RE: Tech: Windows Task Scheduler
From: DaveRo
Date: 08 May 18 - 06:03 PM

OT, but you may be interested in this and the links therein:
BBC_blog:_A_round_up_of_Sound

An earlier blog piece was about programme_segments. Having access to these would enable splitting a recording into 'tracks'. A prom could be split into its constituent perfomances, for example, automatically generating a cue sheet, like I did for that Transports recording you did.


Post - Top - Home - Printer Friendly - Translate

Subject: RE: Tech: Windows Task Scheduler
From: Bonzo3legs
Date: 11 May 18 - 05:26 PM

Very interesting thanks.


Post - Top - Home - Printer Friendly - Translate
  Share Thread:
More...

Reply to Thread
Subject:  Help
From:
Preview   Automatic Linebreaks   Make a link ("blue clicky")


Mudcat time: 30 April 10:09 PM EDT

[ Home ]

All original material is copyright © 2022 by the Mudcat Café Music Foundation. All photos, music, images, etc. are copyright © by their rightful owners. Every effort is taken to attribute appropriate copyright to images, content, music, etc. We are not a copyright resource.