Galicaster icon indicating copy to clipboard operation
Galicaster copied to clipboard

Feature #487 #524

Open andiempett opened this issue 8 years ago • 7 comments

If galicaster restarts during a recording, on the next long heartbeat with an iCal update if the recording should still be happening it is resumed. once the recording is finished any track files belonging to the recording in rectemp are concatenated with ffmpeg and put into the correct mediapackage to then be ingested. there is also an option to delay the file concatenation and ingest until nightly time (this is to allow a recording in quick successtion to not wait for this job to complete)

[repository]
recoverytype = save

[plugins]
checkrepo = True

[checkrepo]
to_merge = True
delay_merge = False

its important to note some changes were made to galicaster behaviour around file recovery to accomadate this. on galicaster restart autorecover 'full' recoverytype was always active, this has now been made configurable via the 'autorecover' option as with error handling. and for this plugin should be set to 'save' only manual recordings should be given a prefix of "Recovered - " when autorecovered as this changes metadata for opencast scheduled recordings. maybe this information is better in the galicaster.xml if UI notification of a recovered MP is needed. this is not addressed here

andiempett avatar Nov 30 '17 12:11 andiempett

I'm sorry, i do realise this is a large pile of code. if more explanation is needed or a demo please let me know.

If it were suggested that this work be done in another way or the plugin made separate from the core code i'd be up for that as a discussion

andiempett avatar Nov 16 '18 12:11 andiempett

@androidwiltron I'll get to testing this ASAP, but looks good from a quick glance (and very useful!).

One thing i noticed - is there a particular reason for depending on ffmpeg rather than using the gstreamer concat element?

ppettit avatar Dec 05 '18 11:12 ppettit

@androidwiltron I'll get to testing this ASAP, but looks good from a quick glance (and very useful!).

One thing i noticed - is there a particular reason for depending on ffmpeg rather than using the gstreamer concat element?

really the reason is historical. at the time first written it was gst0.1 still and the stability wasn't 100% and not the best at concatenating certain file types. i think i should look at gst concat again as things have moved on

andiempett avatar Dec 10 '18 10:12 andiempett

Hi @androidwiltron, do take a look at my colleague comments. I have finally been able to take a look at this and I think we should be able to merge it on master, save a few details.

Sorry for taking so long.

Alfro avatar Feb 04 '19 11:02 Alfro

docs added https://github.com/teltek/Galicaster-doc/pull/16 https://github.com/teltek/Galicaster-doc/pull/15

andiempett avatar Mar 19 '19 13:03 andiempett

Hi @androidwiltron

Good work! Do also remember to check the tests to make sure they're not failing before we merge this to master.

Alfro avatar Mar 20 '19 09:03 Alfro

Hi @androidwiltron

Good work! Do also remember to check the tests to make sure they're not failing before we merge this to master.

oh yes we have tests these days! let me take a look

andiempett avatar Mar 20 '19 14:03 andiempett