USDX
USDX copied to clipboard
Perfomance issue and crashing when using japanse song
Actual behaviour
- if japanese symbols ar in filename, then the song will not be found in 2023.05. In 2020.04. however it works.
- 4k video perfomance problems when file has japanese lyrics. CPU/GPU usage is at 1%. Same video has no problems when placed in english lyric song.
- crash in the middle of the song. Maybe unknown japanse symbol at (-2.38)
Expected behaviour
- File with japanse symbols should be found and displayed
- No video perfomance issues when the song has japanse lyrics
- Catch unknown symbols
Steps to reproduce
See attached .txt file. See attached exception for 2023.05
Details
Provide some additional information:
- USDX version: 2020.04 + 2023.05
- Operating System: Windows:
YOASOBI「アイドル」 Official Music Video.txt
Maybe there's a need for UTF-8 to be enabled in windows?
Control panel -> Language & Region -> 2nd tab -> advanced (2nd button) -> Hit the checkbox
The download has changed name. Rename it to "YOASOBI「アイドル」 Official Music Video.txt"
Did you configure a special font?
Line 2408 of base/UFonst.pas is
SetLength(TexBuffer, fTexSize.Width * fTexSize.Height);
The exception happens because fTexSize.Width * fTexSize.Height
doesn't fit into 32 bits.
The maximum values I get for fTexSize.Width
and fTexSize.Height
during this song are 128.
Can you try this build?: https://ci.appveyor.com/project/s09bQ5/usdx/builds/47217954/job/hjwu062fpnvyfnqv/artifacts Nothing changed wrt. file names, but the new DLLs for FreeType and FFmpeg might help.
@Baklap4 there is no difference.
@s09bQ5 Now 2 of 3 works :D
- Perfomance problem is solved!
- No crashes!
- As you described filename issue is still there.