-
Notifications
You must be signed in to change notification settings - Fork 627
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
Crash happens for specific videos size with animated image attached #604
Comments
A similar issue coming from |
@tanersener Hi. Yes, I've tried v5.1 but with this version I have next error every time I try to run some commands
|
I tried reproducing this issue locally using 2 images and 1 gif file but didn't receive any errors. Everything worked fine. If you can share your images, I can try with them as well. |
@tanersener Yes, sure.
backgroundtemp.png (only this size, other sizes for backgroundtemp works well) Also, I've tried to run this code directly with ffmpeg on my laptop, without android library, and it works good. |
Thanks for the files. Well, we must correct a few things first. The logs in the first post belong to With regard to other logs you shared for the same command on |
@tanersener Big thanks for help! |
Fixed in |
Description
The crash occurs only for specific screen sizes and assets. For example, I'm trying to generated video with size 1026:1824 with animated image. The video size generating from backgroundTemp.jpg. So it's the base size. If size of this image 1026:1824 and gif added - crash happens. For other sizes all works good. I've tried different scenarios and commands, changed ffmpeg versions, checked logs - nothing helps. ndk-stack for the crash below returns only this line
/data/app/~~Fp6jpZ6seWQUaCyJ6wRDMw==/com.test.ffmpeg-6Otc5YS0rGcT73jJVqxWUA==/base.apk!libavcodec.so
Also, I've tried to do this with non-gpl version - all works good, so I think the problem with the size and gpl encoder.
I've attached logs and commands that I use.
Expected behavior
No crash when trying to generate video.
Current behavior
Crash happens.
To Reproduce
Run this command
Logs
Crash dump
FFmpeg logs
Environment
Android
ARMv8-A (Samsung s10+)
4.5.1-1.LTS
4.0
25.1.8937393
The text was updated successfully, but these errors were encountered: