0

I have been trying to drawtext over a video in hindi language but some characters are not rendering properly output

the proper way is should be

I have enabled libfridi,libfontconfig and libfreetype. Even tried on ubuntu.

ANS: please see comment to Pops answer .

praveenK
  • 156
  • 5
  • See https://stackoverflow.com/q/48298061/5726027 – Gyan Feb 27 '18 at 13:02
  • I did, but the solution to the problem is not there. I think it's an harfbuzz issue but it's already installed on my machine. maybe it's not been used while rendering text in ffmpeg – praveenK Feb 28 '18 at 06:45

1 Answers1

1

Convert the unicode to Krutidev and use the krutidev font. I have done an example using c# for unity here

Abu Saad Papa
  • 1,908
  • 15
  • 20
  • yeah, that's the way to go but that adds one more step to flow. so what I did was convert text to pango transparent image as pango support ligature joining. then I used those images as overlay to ffmpeg export. – praveenK Mar 19 '18 at 09:37