OS & Topaz Video version
- macOS 15.6.1
- Topaz Video 1.0.1 (although this affects Topaz Video AI too, from at least 6.0.4
I have LC_ALL=en_US.UTF-8 set in my GUI session (using EnvPane) for reasons I won’t get in to here. This causes Topaz Video to crash on startup, with the following stdout when running from the terminal:
objc[83759]: Class AVFFrameReceiver is implemented in both /Applications/Topaz Video.app/Contents/Frameworks/libavdevice.62.2.100.dylib (0x106f807a8) and /Applications/Topaz Video.app/Contents/Frameworks/libavdevice.61.4.100.dylib (0x11d7ec7a8). This may cause spurious casting failures and mysterious crashes. One of the duplicates must be removed or renamed.
objc[83759]: Class AVFAudioReceiver is implemented in both /Applications/Topaz Video.app/Contents/Frameworks/libavdevice.62.2.100.dylib (0x106f807f8) and /Applications/Topaz Video.app/Contents/Frameworks/libavdevice.61.4.100.dylib (0x11d7ec7f8). This may cause spurious casting failures and mysterious crashes. One of the duplicates must be removed or renamed.
Non-C locale detected. This is not supported.
Call 'setlocale(LC_NUMERIC, "C");' in your code.
libc++abi: terminating due to uncaught exception of type std::runtime_error: could not create mpv context
zsh: abort /Applications/Topaz\ Video.app/Contents/MacOS/Topaz\ Video
Either removing LC_ALL from my env (which I’d rather not do since I need the env definition to make another application work right) or running Video from the terminal with.
LC_ALL=C.UTF-8 /Applications/Topaz\ Video.app/Contents/MacOS/Topaz\ Video
fixes the issue.
Apparently libmpv requires LC_NUMERIC=C (although for whatever reason, starting Video with LC_NUMERIC=C doesn’t work. Likely gets overridden by LC_ALL?)
Reproduction
- open the terminal
- type the following and hit enter:
LC_ALL=en_US.UTF-8 /Applications/Topaz\ Video.app/Contents/MacOS/Topaz\ Video