Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Ran into this error during interpolation. Do you know what's wrong?

Exception ignored in thread started by: <function queue_file_save at 0x000002867E112A60>
Traceback (most recent call last):
  File "my_DAIN_class.py", line 805, in queue_file_save
  File "my_DAIN_class.py", line 714, in PipeFrame
BrokenPipeError: [Errno 32] Broken pipe

Full logs:

Using Benchmark: True
Batch Size: -1
Input FPS: 23.976023976023978
Use all GPUS: False
Render Mode: 0
Interpolations: 2X
Use Smooth: 0
Use Alpha: 0
Use YUV: 1
Encode: libsvtav1
Device: cuda:0
Using Half-Precision: True
Resolution: 3840x2160
Model: rl_medium
Scale: 0.5
Using Model: rl_medium
Selected auto batch size, testing a good batch size.
Setting new batch size to 1
Resolution: 3840x2160
RunTime: 2453.803000
Total Frames: 58832
  0%|                         | 2/58832 [00:06<59:02:21,  3.61s/it, file=File 0]-------------------------------------------
SVT [version]:  SVT-AV1 Encoder Lib v0.8.6-72-gec7ac87f
SVT [build]  :  GCC 10.2.0       64 bit
LIB Build date: Feb  7 2021 13:13:12
-------------------------------------------
Number of logical cores available: 24
Number of PPCS 53
[asm level on system : up to avx2]
[asm level selected : up to avx2]
-------------------------------------------
SVT [config]: Main Profile      Tier (auto)     Level (auto)
SVT [config]: Preset                                                    : 7
SVT [config]: EncoderBitDepth / EncoderColorFormat / CompressedTenBitFormat     : 10 / 1 / 0
SVT [config]: SourceWidth / SourceHeight                                        : 3840 / 2160
SVT [config]: Fps_Numerator / Fps_Denominator / Gop Size / IntraRefreshType     : 48000 / 1001 / 49 / 2
SVT [config]: HierarchicalLevels  / PredStructure                               : 4 / 2
SVT [config]: BRC Mode / QP  / LookaheadDistance / SceneChange                  : CQP / 15 / 0 / 0
-------------------------------------------
 53%|████████▌       | 31293/58832 [3:24:44<2:00:26,  3.81it/s, file=File 31291]Exception ignored in thread started by: <function queue_file_save at 0x000002867E112A60>
Traceback (most recent call last):
  File "my_DAIN_class.py", line 805, in queue_file_save
  File "my_DAIN_class.py", line 714, in PipeFrame
BrokenPipeError: [Errno 32] Broken pipe

This is a weird error. Did it generated a crash_log.txt on the main folder?

The crash_log.txt is empty.

I ran into this same error with another video file.

Using Benchmark: True
Batch Size: -1
Input FPS: 23.976023976023978
Use all GPUS: False
Render Mode: 0
Interpolations: 2X
Use Smooth: 0
Use Alpha: 0
Use YUV: 1
Encode: libsvtav1
Device: cuda:0
Using Half-Precision: True
Resolution: 3840x2160
Model: rl_medium
Scale: 0.5
Using Model: rl_medium
Selected auto batch size, testing a good batch size.
Setting new batch size to 1
Resolution: 3840x2160
RunTime: 2716.950000
Total Frames: 65142
  0%|                         | 2/65142 [00:06<70:21:19,  3.89s/it, file=File 0]-------------------------------------------
SVT [version]:  SVT-AV1 Encoder Lib v0.8.6-72-gec7ac87f
SVT [build]  :  GCC 10.2.0       64 bit
LIB Build date: Feb  7 2021 13:13:12
  0%|                         | 3/65142 [00:07<39:40:05,  2.19s/it, file=File 1]------------------------------------------
Number of logical cores available: 24
Number of PPCS 53
[asm level on system : up to avx2]
[asm level selected : up to avx2]
-------------------------------------------
SVT [config]: Main Profile      Tier (auto)     Level (auto)
SVT [config]: Preset                                                    : 7
SVT [config]: EncoderBitDepth / EncoderColorFormat / CompressedTenBitFormat     : 10 / 1 / 0
SVT [config]: SourceWidth / SourceHeight                                        : 3840 / 2160
SVT [config]: Fps_Numerator / Fps_Denominator / Gop Size / IntraRefreshType     : 48000 / 1001 / 49 / 2
SVT [config]: HierarchicalLevels  / PredStructure                               : 4 / 2
SVT [config]: BRC Mode / QP  / LookaheadDistance / SceneChange                  : CQP / 16 / 0 / 0
-------------------------------------------
 12%|██▍                 | 7969/65142 [53:28<3:52:33,  4.10it/s, file=File 7967]Exception ignored in thread started by: <function queue_file_save at 0x000002F3FC0D2A60>
Traceback (most recent call last):
  File "my_DAIN_class.py", line 805, in queue_file_save
  File "my_DAIN_class.py", line 714, in PipeFrame
BrokenPipeError: [Errno 32] Broken pipe

Can you try to export to h264, just to check if the problem is with the export codec?

You were right. Exporting to h264 completed successfully for the same interpolation that crashed before. I'll try exporting to h265 today.

Maybe the AV1 encoder is the issue?

Yeah, definittly something wrong with the encoder. I also need to do some tests with H265. Will try to improve both for the next release.

Reporting back that the H265 export completed successfully too. So most likely the AV1 encoder is the source of the crash.

Cool! Glad this one is working for will. I will see if I can improve both encoders on the next update.