-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
ffmpeg: enable jni and mediacodec #16680
Conversation
Using mediacodec can crash my Android 11 device into a hard reboot. Not sure it's because of my input video or what using the commands provided in the other issue. It does work for short videos. But expect sacrifice encoding in high quality for shorter time. Next step to check it doesn't break Android 7 and Termux Docker... |
Looks like when ffmpeg is built with mediacodec will break on Termux Docker:
with mediacodec
no mediacodec
|
Seems to work fine (can use other libs, using mediacodec will be errored during runtime) by adding a stub So we dont have to build 2 variants of ffmpeg. But we haven't package |
5652f0d
to
f52d1de
Compare
Enable JNI is a prerequisite to enable mediacodec support
f52d1de
to
90a558e
Compare
Will merge this by tomorrow 12am UTC+8 if no more reviews |
Close #16633