I tried to create a batch-processing PowerShell script.
But I stumbled upon a specific error:
Model not found: prob-4
Failed to configure output pad on Parsed_tvai_up_0
Googling things led me to this thread:
A Topaz employee suggests to correctly sen environment variables, linking to 404 documentation:
https://docs.topazlabs.com/video-ai/advanced-functions-in-topaz-video-ai/command-line-interface
Using archive.org I got a last snapshot of it:
https://web.archive.org/web/20250527044926/https://docs.topazlabs.com/video-ai/advanced-functions-in-topaz-video-ai/command-line-interface
I’ve set up environment variables in my system and the FFMPEG executing from command-line works perfectly.
But it’s never mentioned in documentation that the FFMPEG executed from PowerShell can not read environment variables.
So if you write PowerShell script, you’ll have to add at these lines before executing FFMPEG:
$env:TVAI_MODEL_DATA_DIR="c:\ProgramData\Topaz Labs LLC\Topaz Video AI\models"
$env:TVAI_MODEL_DIR="c:\ProgramData\Topaz Labs LLC\Topaz Video AI\models"