Running script on recording after complete?

cloudy

n3wb
Aug 21, 2019
5
1
UK
I'm trying to run some image processing on videos recorded by BI. The issue is, whilst I can trigger the script at the start of the recording, I don't actually know when the file is finished being written to (as subsequent triggers can make the video longer)
Is there a way to trigger something on recording end?