Open karnauskas opened 3 years ago
Does this always happen? Specific video or any video?
Not always. I have tied with a few mp4 videos and the same behavior. I noticed it doesn't crash if I change zoom factor to 1 (-v -q -d 2
).
I use -i file.mp4 -o file-new.mp4 -v -q -d 2
as parameters by default.
How about set zoom factor to 1.99 or 2.01 ? And how about -w
to enable ACNet?
-z 1.99 -w
failing, -z 1.9 -w
works, -z 2.1 -w
works, -z 2.1
failing
Thank you very much for your feedback. Since I can't reproduce your problem on Linux or windows at present, the problem may be caused by a third-party library. Please post the output content of ./Anime4KCPP_CLI -V
to better analyze the compilation parameters and library usage. I will continue to investigate possible problems.
And if possible, I hope you can help find the function or library that caused the crash by using tools such as gdb
or lldb
or Valgrind
It's on mac actually. Will have a look at lldb
when have time.
code/Anime4KCPP/_build % sw_vers
ProductName: macOS
ProductVersion: 11.5.2
BuildVersion: 20G95
code/Anime4KCPP/_build % ./bin/Anime4KCPP_CLI -V
Anime4KCPP CLI
Anime4KCPP core information:
Version: 2.6.0-dev 2021-09-10 13:05:23
Parallel library: OpenMP
Compiler: AppleClang
Processors: CPU_Anime4K09,CPU_ACNet,OpenCL_Anime4K09,OpenCL_ACNet
CPU Optimization: Normal
GitHub: https://github.com/TianZerL/Anime4KCPP
code/Anime4KCPP/_build %
Thank you! As I currently don’t have a mac environment, I can’t debug it myself for the time being.
I suspect Apple's OpenCL library may have caused the problem. Is there a problem using the CPU?
And you can try to turn on Use_Legacy_OpenCL_API
CMake option, which will set the target platform of OpenCL to version 1.2, which as far as I know, the version currently supported by mac.