-
Notifications
You must be signed in to change notification settings - Fork 251
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exit code of ffmpeg encoding run is 1 #251
Comments
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? |
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. |
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:
The text was updated successfully, but these errors were encountered: