@impeham take a look at /usr/bin/camera-ui-set-priortiy (should be in freemangordons latest camera-ui, maybe in the cssu-testing version as well) it is a shell script by freemangordon which starts with camera-ui (or when recording starts) and renices some processes and stops the thumbnailer and tracker daemon. You could try to include your own commands there.