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]

3 Likes

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.

changing these settings does not resolve the issue, files continue to be written to the default folder previously mentioned

changing these settings does not resolve the issue, files continue to be written to the default folder previously mentioned

Are you still seeing this issue? If so, can you pull the logs and send to the team for review?

help@topazlabs.com

This is actually a OneDrive configuration issue - I was able to turn this off as it was eating up bandwidth and space as noted.

In OneDrive, when running in the systray (Windows) or where ever you can get access to Settings.

  1. Right-Click the cloud icon.
  2. Go to the Gear in the upper right.
  3. Settings
  4. Click Account on the left.
  5. In the mid window - Choose Folders.
  6. Go to and expand Documents
  7. Uncheck Topaz VideoAI Projects
  8. Give it a chance to sync, not sure - you may have to do some manual OneDrive cleanup post, but its stopped the constant sync issue for me and cleared the OneDrive shortly after the setting too place

If you get a message it can’t be saved, make sure that TVAI is not running or any other sync is in progress, do it again when confirmed it is done.

*** I had to exit and restart OneDrive a few times to resolve sync issues - not surprised, but it is confirmed working.

Apparently its now allowing me to uncheck the folder that Topaz Video AI Projects are in. Now wondering if there was something I missed when installing Topaz Video AI when choosing which folders files go to and maybe need to uninstall and reinstall to change that. Other than that will keep getting onedrive to ask me if i want to delete a lot of files. i agree with the poster that a dedicated temp file should be made to store all the files created when working on a video.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.