Another thing to do (mentioned by me elsewhere) on tight memory issues is to encode outside Shotcut:
- in Shotcut, start an export job and stop it
- right-click the job and view XML
- save XML with
.mltor.xmlextension (It now includes a<consumer> element that contains the export parameters including file name.) - close Shotcut
- open a command line window
- run like
/path/to/qmelt /path/to/xmlfrom step 3 (how this is done exactly depends on OS)