I am using the QGIS temporal controller and trying to output images with a transparent background. (I plan to insert a custom background image created outside of QGIS into the final video.) The things I've tried so far are:
The QGIS Print Composer allows you to set a transparent background, but that isn't the temporal controller
It doesn't appear that you can set the map canvas background to transparent via the rgba(r,g,b,a) or #RRGGBBAA values in the project properties settings. When I add an alpha value, it reverts to #ffffff

There is this python script to set the actual map canvas transparent for an output image. I could not get this to work, however, and am unsure if it can be linked to the temporal controller image output dialogue.
A workaround is to remove white from all .png images output from the temporal controller with ffmpeg prior to creating the final animation video, but this creates nasty white edges from the anti aliasing around the non-white pixels
for f in *.png; do ffmpeg -hide_banner -loglevel error -i $f -vf colorkey=white:0.1:0.0 trans_${f}; done;
Any ideas on how to set the QGIS map canvas to transparent?


