I am having an issue where extracting and upscaling all the frames in a video works fine, but the app hard crashes shortly after reaching 100%. Seems to be random; some files work perfectly fine, some specific files crash at the end. Truncated log is provided below.
I am using an M2 Max MacBook Pro with 32 GB of RAM. Cache is located on an external Thunderbolt SSD with about 1 TB of free disk space. I have also tried having the cache folder on the internal SSD with the same result.
12-20 15:36:32 <39FC0C0> [Info] Start to run project
12-20 15:36:32 <39FC0C0> [Info] project cache folder not init. init now
12-20 15:36:32 <39FC0C0> [Info] cache folder inited success
12-20 15:36:32 <39FC0C0> [Info] project context inited
12-20 15:36:32 <Main> [Info] Start to run project
12-20 15:36:41 <Main> [Info] ready to run project VProject {
pid = 20231220-bv3471zt8r;
video_url = file:///Users/chelsey/Movies/Upscale/In/Dilbert%201999%20Complete%20Seasons%201%20and%202%20TVRip%20x264%20%5Bi_c%5D/Season%201/Dilbert%20-%20S01E03%20-%20The%20Competition.mkv;
video_size = 72648402;
create_time = 2023-12-20 22:36:11 +0000;
finish_time = (null);
start_time = 2023-12-20 22:36:11 +0000;
cover = /Users/chelsey/Library/Containers/com.marksdo.VisionAI/Data/cover/20231220-bv3471zt8r.jpg;
width = 320;
height = 240;
rate = 30000/1001;
quality = 0.8;
order_group = 1;
order_num = 0;
state = 2;
duration = 0;
audio = 1;
avg_conv_time = 0;
used_time = 0;
estimate_time = ;
finish_frames = 0;
real_frames = 39498;
total_frames = 0;
extract_frames = 39498;
combine_frames = 0;
cache_size = 965347927;
codec_name = h264;
codec_tag = [0][0][0][0];
pix_fmt = yuv420p;
out_file = ;
bg_replace = (null);
bg_blur_radius = 0;
ui_sketch = 0;
ui_cartoonStyle = 0;
ui_cartoonSize = 1;
ui_scale = 4;
ui_noise = 0;
ui_quality = 0;
aiModel = RModel {
modelKey = ResrAni;
fileSize = Embed;
fileName = ResrAni.mlmodel;
state = 1;
mOrder = 2;
progress = 0;
errorMsg = ;
fixedWidth = 0;
processType = 2;
};
demo = 0;
}
12-20 15:36:41 <Main> [Info] <Thread-1> start
12-20 15:36:41 <Main> [Debug] cache threads 1
12-20 15:36:41 <Main> [Info] <Thread-2> start
12-20 15:36:41 <Main> [Debug] cache threads 2
12-20 15:36:41 <Main> [Debug] get next frame from db = 1
12-20 15:36:41 <Main> [Debug] nextFrame > taskMaxFrame
12-20 15:36:41 <1DF92C0> [Info] ++ current thread priority 0.5
12-20 15:36:41 <1DF92C0> [Debug] Start to process frame[1] 1.jpg
12-20 15:36:41 <1DF9360> [Info] ++ current thread priority 0.5
12-20 15:36:41 <1DF9360> [Debug] Start to process frame[2] 2.jpg
12-20 15:36:41 <Main> [Debug] remove frame[1]
12-20 15:36:41 <Main> [Debug] project finish frames[1] set to 2
[A few thousand frames later ...]
12-20 15:49:14 <1DF9360> [Debug] Start to process frame[39497] 39497.jpg
12-20 15:49:14 <Main> [Debug] remove frame[39496]
12-20 15:49:14 <Main> [Debug] project finish frames[39496] set to 39497
12-20 15:49:14 <1DF92C0> [Debug] Start to process frame[39498] 39498.jpg
12-20 15:49:14 <Main> [Debug] remove frame[39497]
12-20 15:49:14 <Main> [Debug] project finish frames[39497] set to 39498
12-20 15:49:14 <Main> [Debug] nextframe > totalFrames return nil task
12-20 15:49:14 <1DF9360> [Info] Thread run complete
12-20 15:49:14 <1DF9360> [Info] normal leave()
12-20 15:49:14 <Main> [Debug] remove frame[39498]
12-20 15:49:14 <Main> [Debug] project finish frames[39498] set to 39499
12-20 15:49:14 <Main> [Debug] get next frame from db = 39499
12-20 15:49:14 <Main> [Debug] nextframe > totalFrames return nil task
12-20 15:49:14 <1DF92C0> [Info] Thread run complete
12-20 15:49:14 <1DF92C0> [Info] normal leave()
12-20 15:49:14 <Main> [Info] all thread run done
12-20 15:49:14 <Main> [Info] -- FramesConvThread deinited
12-20 15:49:14 <Main> [Info] -- FramesConvThread deinited
12-20 15:49:14 <Main> [Info] Auto start validate thread
12-20 15:49:14 <Main> [Info] scan thread mode started!!!
12-20 15:49:14 <Main> [Debug] cache threads 1
12-20 15:49:14 <Main> [Debug] frame file:///Volumes/Daisy/cache/20231220-bv3471zt8r/1.jpg already converted! auto try get next frame
12-20 15:49:14 <Main> [Debug] frame file:///Volumes/Daisy/cache/20231220-bv3471zt8r/2.jpg already converted! auto try get next frame
12-20 15:49:14 <Main> [Debug] frame file:///Volumes/Daisy/cache/20231220-bv3471zt8r/3.jpg already converted! auto try get next frame
[ A few thousand frames later ...]
12-20 15:49:15 <Main> [Debug] frame file:///Volumes/Daisy/cache/20231220-bv3471zt8r/13639.jpg already converted! auto try get next frame
[End of log file]