ffmpeg-python
ffmpeg-python copied to clipboard
Unable to generate non-English subtitles
When I try to generate non-English subtitles in a video with this code
ffmpeg.input(final_video_path).output(final_video_with_subs_path, vf=f"subtitles={srt_path}").run(overwrite_output=True)
This error shows up for every subtitle character
[Parsed_subtitles_0 @ 0x56515f8ab6c0] fontselect: failed to find any fallback with glyph 0xC774 for font: (Arial, 400, 0)
[Parsed_subtitles_0 @ 0x56515f8ab6c0] Glyph 0xCEE4 not found, selecting one more font for (Arial, 400, 0)
The requirements.txt file and app.py file are as linked.
The resulting subtitles (they become rectangles as unknown characters) and video screenshot is as follows
Appreciate the help!