Automate mp4 encryption

Hey I’m looking for a solution to automatically encrypt mp4 recorded with frigate to something unusable, scan a folder and modify each new video
I’ve never used cron before maybe it’s the suitable solution, (take the file and compress it with a variable password)
if you have any suggestions ?
Thanks