Quite mind-blowing Phil!
It is indeed working just as you suggested, plus passing the bin and lib paths as the location of the dynamic dependencies!
Would also add that the login via browser worked, and GPU encoding (nvidia open kernel drivers - 3070) is also working without pointing to the CUDA install ^^
As a little reference guide for the readers:
- extract the
.debarchive - create a directory somewhere (I use one created inside
/opt) - extract also
controlanddataand put the content into directories with the same name cdintodata/opt/TopazVideoAIBETA/bin/- mark
Topaz Video AI Betaas executable if it is not alreadychmod +x Topaz\ Video\ AI\ BETA - check if the software is missing dynamic dependencies
ldd Topaz\ Video\ AI\ BETA | grep 'not found', which in my case arelibvideoio.soandlibcloudprocessing.so - Set the
LD_LIBRARY_PATHvariable to point to their location, which would be the same directory as the program (bin) for this release withLD_LIBRARY_PATH=./ - check again for missing dependencies as in point “6” and link as in “7”, which in my case are now
libopencv_world.so.405, libavcodec.so.60, libavformat.so.60, libavutil.so.58, libswscale.so.7, all present in thelibdirectory, 1 level up the currentbin.
8.1) since we are adding another directory, we need to append it to the previous one by means of a semi-column like such:export LD_LIBRARY_PATH=./:../lib - launch the program and enjoy!
./Topaz\ Video\ AI\ BETA
9.1) to not have to repeat all the process, you can directly launch it via this command:cd /path/to/the/topaz-ai/data/opt/TopazVideoAIBETA/bin/ && LD_LIBRARY_PATH=<path-1>:<path-2>:<path-n> ./Topaz\ Video\ AI\ BETA
9.2) tip: create a variable on your shell, so you can launch it via a single simple command, i.e.TOPAZ.
I personally did it by adding this to my.bash_aliases(.bashrc, if you don’t source it)
# topaz beta
topazpath='/path/to/the/topaz-ai/data/opt/TopazVideoAIBETA/bin/'
topazld='LD_LIBRARY_PATH=./:../lib'
alias TOPAZ="cd $topazpath && $topazld ./Topaz\ Video\ AI\ BETA"
I still have to test it deeply,
at the moment have just rendered a 5 second 4K using Theia and Themis, and the only problem I got is that I needed to drag the clip into the program, as browsing it was not finding the clip, the directory was just seen as empty, as those clips were not recognized as ‘video file’…
Hope this helps someone!
Will report back things as I find them ![]()