arthenica / ffmpeg-kit

FFmpeg Kit for applications. Supports Android, Flutter, iOS, Linux, macOS, React Native and tvOS. Supersedes MobileFFmpeg, flutter_ffmpeg and react-native-ffmpeg.
https://arthenica.github.io/ffmpeg-kit
GNU Lesser General Public License v3.0
4.29k stars 578 forks source link

FFMpeg subtitles Korean language Garbled code,Unable to find supported fonts #997

Open lishangjing-spec opened 2 months ago

lishangjing-spec commented 2 months ago

Description [Parsed_subtitles_0 @ 0x301b9a260] Using font provider fontconfig [Parsed_subtitles_0 @ 0x301b9a260] fontselect: (PingFangSC-Semibold, 400, 0) -> /System/Library/Fonts/LanguageSupport/PingFang.ttc, 8, PingFangSC-Semibold [Parsed_subtitles_0 @ 0x301b9a260] Glyph 0xC544 not found, selecting one more font for (PingFangSC-Semibold, 400, 0) [Parsed_subtitles_0 @ 0x301b9a260] fontselect: (PingFangSC-Semibold, 400, 0) -> /System/Library/Fonts/Core/LastResort.otf, 0, LastResort

When synthesizing Korean subtitles, the following error log appeared. Currently, I am introducing a Korean font separately in the app, and the package size has increased by 6.3MB. Is there any other solution? I am angry, why did I not match the corresponding Korean font in the system font

Expected behavior What you expected to happen.

Current behavior What happened.

To Reproduce Steps to reproduce the behaviour.

Screenshots If applicable, add screenshots to help explain your problem.

Logs Post logs here or paste them to Ghostbin and insert the link here.

Environment

Other Add any other context about the problem here.

tanersener commented 1 month ago

Glyph 0xC544 not found means provided font doesn't support that character. FYI