Topaz Video AI 6 should use %TEMP% for temporary files

Topaz Video AI 6 is creating and deleting numerous temporary files under the default “Topaz VideoAI Projects” which is under the user’s Documents directory. With OneDrive enabled, all files under the user’s Documents directory are replicated to OneDrive and then deleted. This results in network bandwidth waste and numerous messages from OneDrive asking if okay to delete numerous files.

The files in question appear as six numbers and .png suffix (016233.png for example) and appears to be hundreds of them. As if one created per frame during processing and later deleted.

Temporary files should be created under the %TEMP% directory. See details from Microsoft website → [Creating and Using a Temporary File - Win32 apps | Microsoft Learn]

1 Like

Sending a note to the team to look deeper into this for you.

There is the option to move the workspaces folder location in the Preferences Panel to a different directory if desired.

File>Preferences>Directories

…and not forgetting macOS.

${TMPDIR} is the canonical environment variable for macOS, enabling leftover cruft to get cleared out by the OS periodic scripts and space to be reclaimed by the OS, rather than the app.

In Unix-like systems, FFmpeg logs can also go to the same folder with the following FFmpeg options…

$ export FFREPORT="file=${TMPDIR}%p-%t.log:level=48"
$ ffmpeg \
  -progress "${TMPDIR%/}/ffmpeg-$(date +'%Y%m%d-%H%M%S')_progress.log" \
  -vstats -vstats_file "${TMPDIR%/}/ffmpeg-$(date +'%Y%m%d-%H%M%S')_vstats.log" -vstats_version 2 \
  ...

Some apps use date to decorate the filename, others use a UUID jobId or uuidgen to create a JobId.

I cannot agree with your proposal. The files created are very large and TEMP would not necessarily fit. For me, it would be best if temporary files were created in the target folder. Therefore, it would be best if Topaz gave a choice as to where the target files should be created.

Negative, this is only for Recovery option. We need new option to choice.