Intel® DevCloud
Help for those needing help starting or connecting to the Intel® DevCloud
1716 Discussions

There is no Chinese font in the system?

foxbox
Beginner
1,597 Views

When I use ffmpeg to process video, I am prompted to choose another font, but I do not have root permission to install fonts. What should I do?

[Parsed_subtitles_0 @ 0x55b4c692cd20] Glyph 0x6012 not found, selecting one more font for (Arial, 400, 0)
[Parsed_subtitles_0 @ 0x55b4c692cd20] Glyph 0x4EBA not found, selecting one more font for (Arial, 400, 0)
[Parsed_subtitles_0 @ 0x55b4c692cd20] Glyph 0x4E4B not found, selecting one more font for (Arial, 400, 0)
[Parsed_subtitles_0 @ 0x55b4c692cd20] Glyph 0x6012 not found, selecting one more font for (Arial, 400, 0)
[Parsed_subtitles_0 @ 0x55b4c692cd20] Glyph 0x4EBA not found, selecting one more font for (Arial, 400, 0)
[Parsed_subtitles_0 @ 0x55b4c692cd20] Glyph 0x4E4B not found, selecting one more font for (Arial, 400, 0)
[Parsed_subtitles_0 @ 0x55b4c692cd20] Glyph 0x6012 not found, selecting one more font for (Arial, 400, 0)
[Parsed_subtitles_0 @ 0x55b4c692cd20] Glyph 0x4EBA not found, selecting one more font for (Arial, 400, 0)
[Parsed_subtitles_0 @ 0x55b4c692cd20] Glyph 0x4E4B not found, selecting one more font for (Arial, 400, 0)
[Parsed_subtitles_0 @ 0x55b4c692cd20] Glyph 0x6012 not found, selecting one more font for (Arial, 400, 0)
[Parsed_subtitles_0 @ 0x55b4c692cd20] Glyph 0x4EBA not found, selecting one more font for (Arial, 400, 0)
[Parsed_subtitles_0 @ 0x55b4c692cd20] Glyph 0x4E4B not found, selecting one more font for (Arial, 400, 0)
[Parsed_subtitles_0 @ 0x55b4c692cd20] Glyph 0x6012 not found, selecting one more font for (Arial, 400, 0)

 

0 Kudos
1 Solution
ChrisB_Intel
Moderator
1,535 Views

Foxbox,


We were not able to get it to fail. I used a generic Chinese srt file and a sample video and was able to add the Chinese subtitles. Can you share the srt file that you are using with me, depending on the size, the video would be helpful as well.


Thanks

Chris


View solution in original post

0 Kudos
4 Replies
ChrisB_Intel
Moderator
1,573 Views

Thanks for the report, I am currently investigating.


Thanks

Chris



0 Kudos
ChrisB_Intel
Moderator
1,554 Views

foxbox,


I am having difficulty reproducing your issue. Can you provide me the steps you are using, additionally would it be possible for me to get a copy of that video file? Depending on the file size, please feel free to PM it to me.


Thanks

Chris



0 Kudos
foxbox
Beginner
1,548 Views

I used ffmpeg to add Chinese subtitles to the video. The command was:

ffmpeg -i test.mp4 -i test.srt -c copy output.mkv

test.srt subtitle file contains Chinese
0 Kudos
ChrisB_Intel
Moderator
1,536 Views

Foxbox,


We were not able to get it to fail. I used a generic Chinese srt file and a sample video and was able to add the Chinese subtitles. Can you share the srt file that you are using with me, depending on the size, the video would be helpful as well.


Thanks

Chris


0 Kudos
Reply