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

On iOS, adding a watermark image with a .png suffix via overlay will fail. #1068

Open
LucXion opened this issue Nov 18, 2024 · 1 comment
Open

Comments

@LucXion
Copy link

LucXion commented Nov 18, 2024

On the iOS platform, adding a watermark image with a .png suffix through overlay will fail, and ffmpeg will prompt a decoding error: [png @ 0x1364d8b70] inflate returned error -3
Error while decoding stream #2:0: Generic error in an external library

@LucXion
Copy link
Author

LucXion commented Nov 18, 2024

The command line I used is as follows: ffmpeg -loop 1 -framerate 25 -i 0.jpg -i 0.mp3 -i labelImage.png -filter_complex "[0:v][2:v] overlay=x=0:y=0:shortest=1 [v]" -map "[v]" -map 1:a -c:v libx264 -c:a aac -pix_fmt yuv420p -t 6 output.mp4

The added watermark can be displayed normally on the macOS side, but not on the iOS platform. Is there any solution?

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

No branches or pull requests

1 participant