FFmpeg Chinese Garbled Text (Windows)
FFmpeg output shows garbled Chinese text.
Copy a Chinese font (e.g. Microsoft YaHei) from Windows fonts directory:C:\\Windows\\Fonts\\msyhl.ttc into the FFmpeg working directory.
Then set the font in your FFmpeg command or drawtext filter:fontfile='msyhl.ttc'
Re-run the command; characters should render correctly.
本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来源 👋Harry Blog!
评论

