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.
All articles on this blog are licensed under CC BY-NC-SA 4.0 unless otherwise stated.
Comments