Skip to content
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

Update ffmpeg #20220

Closed
mishpro-programm opened this issue May 16, 2024 · 2 comments · Fixed by #20223
Closed

Update ffmpeg #20220

mishpro-programm opened this issue May 16, 2024 · 2 comments · Fixed by #20223

Comments

@mishpro-programm
Copy link

In new version, ffmpeg needs to be compiled with libharfbuzz in order to drawtext filter work. Please recompile ffmpeg binary with libharfbuzz
(Sorry for my english)

@Biswa96
Copy link
Contributor

Biswa96 commented May 16, 2024

I have added a pull request to fix this issue. Would you like to test the packages from GitHub Actions artifacts of that pull request? Link https://github.com/termux/termux-packages/actions/runs/9117497565

I have tested ffmpeg with the following command.

ffmpeg -i input.mp4 -vf "drawtext=text='Hello, World':fontfile=$PREFIX/share/fonts/TTF/DejaVuSans.ttf:fontsize=24:fontcolor=white:x=10:y=10" output.mp4

It produces the output.mp4 file which has "Hello, World" text in the upper left corner.

@2096779623 2096779623 added enhancement package request A new package was requested. and removed package request A new package was requested. labels May 17, 2024
@mishpro-programm
Copy link
Author

It works, tysm!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants