Hello, I'm trying to add clockoverlay into my video stream. However, the text displayed is not correct (i.e. it shows "boxy" character instead of time digits). What's the issue? Fonts not found? Please help. I've attached the screenshot (see text in top right corner of BBB stream).
Thanks for your help.
已解决! 转到解答。
So I finally find what was wrong using the fontconfig-utils package
FYI fc-list can list the embedded fonts, and none was appearing ...
So what was missing is the package : liberation-fonts
Once installed fc-list could list the fonts and gstreamer textoverlay was then working ...
So guessing that you use yocto : add liberation-fonts into IMAGE_INSTALL of the image built
Regards,
Aurelien BOUIN
So I finally find what was wrong using the fontconfig-utils package
FYI fc-list can list the embedded fonts, and none was appearing ...
So what was missing is the package : liberation-fonts
Once installed fc-list could list the fonts and gstreamer textoverlay was then working ...
So guessing that you use yocto : add liberation-fonts into IMAGE_INSTALL of the image built
Regards,
Aurelien BOUIN
Hello Hiep,
Can you share your pipeline of gstreamer,? at first review it seems that there is no fonts, or using an incorrect language dictionary, try with this pipeline:
gst-launch videotestsrc ! video/x-raw-yuv,width=640,height=480,framerate=15/1 ! textoverlay text="Hello" ! ffmpegcolorspace ! ximagesink