This is precisely what my original script did, and no quality is computed.
The second script, where debayer is applied at the conversion step, quality is computed. In fact, according to the PREPROCESS Siril command manual:
[…] also to demosaic images at the end of the process with “-debayer”.
Hence my original script debayered after the preprocessing and before registering.
I tried also the manual method:
With the “Debayer” in the conversion tab unchecked and the “Debayer before saving” in the Pre-processing tab checked, no quality is computed after registration, and I cannot select quality.
With the “Debayer” in the conversion tab checked and the “Debayer before saving” in the Pre-processing tab unchecked, quality is computed correctly after registration, and I can select quality.
I was unable to find a way to do this. Siril manual gives some info on SER files here, and it even claims:
Siril can convert any image sequence and many film formats into SER files.
Yet, it does not say how. Here, it seems to imply that the AVI files can be imported in the Image Sequence tab. However, at least in version 0.99.4, I don’t see a way to import the AVI. The Open button does not show AVI, MOV, or MP4 as “Supported files”.
Ffmpeg cannot convert to SER (first time I see some format not supported by ffmpeg).