Open czdsd00 opened 6 months ago
Cannot find a valid font for the family Helvetica
Does your system have a Helvetica font available?
I have tried using '华文仿宋' and 'Helvetica', which are in my Mac's Font Book.
What JVM are you using? Perhaps these fonts are not exposed in the JVM? Architecture differences between m1/m2 chips and the intel ones
i use jdk 8.361,m2 chips and another workmate use intel also can't run it
Can you look at /System/Library/Fonts/ and /Library/Fonts/ if there exists such a font in ttf format?
It looks like the Helvetica ist a ttc font, wich might not be handled by ffmpeg. Is the ffmpeg build you use including a recent freetype support?
Hello When i run a demo ,it tell me "Exit code of ffmpeg encoding run is 1". Message show Unhandled message in step: 2 Line: 23 message:
<[Parsed_drawtext_0 @ 0x7fa833f07280] Cannot find a valid font for the family Helvetica>
<[AVFilterGraph @ 0x7fa884807700] Error initializing filter 'drawtext' with args 'shadowcolor=0x00000044:shadowx=2:shadowy=2:x=(w-text_w)/2:y=(h-text_h)/2:fontsize=30.0:fontcolor=0xffffff44:text=223:font=Helvetica'>
i use this pom
But when my workmate can run it with his windows pc. How can i deal it ?
My demo code: