caydey / ffshare

An android app to compress image, video and audio files through ffmpeg before sharing them
GNU General Public License v3.0
615 stars 30 forks source link

Mediacodec support #111

Open MaixGit opened 1 month ago

MaixGit commented 1 month ago

Describe the bug The hardware accelerated mediacodec(s) seem to be missing from the build, as ffmpeg doesn't find either the h264 or hevc encoder when specified in the custom options.

Settings applied Clean install with "-vcodec h264_mediacodec" as the custom video codec.

App Logs This is with a clean install, so the only relevant bit is that it doesn't recognise the encoder image

File used Any file.

Maybe I'm reading into it a bit too much, but on the Android.sh page of ffmpeg-kit's wiki, the libraries build flag has a different format: image

vs the one in the ffmpeg build log from the app logs:

image

Apologies if I've missed something, but I can't get it working.