webp - How to build ffmpeg with libwebp for android? -


i need use ffmpeg (v2.8) convert mp4 webp, how build ffmpeg libwebp android ?

i googled, have little information build ffmpeg libwebp.

i try add configuration:

--enable-libwebp  --enable-muxer=webp --enable-encoder=libwebp 

but got following compile error.

error: libwebp not found using pkg-config  if think configure made mistake, make sure using latest version git.  if latest version fails, report problem ffmpeg-user@ffmpeg.org mailing list or irc #ffmpeg on irc.freenode.net. include log file "config.log" produced configure solve problem. 

the config.log is:

check_pkg_config libwebp >= 0.2.0 webp/encode.h webpgetencoderversion false --exists --print-errors libwebp >= 0.2.0 error: libwebp not found using pkg-config 

i solved problem following steps:

  1. build libwebp ndk-build
  2. add *.a , *.h folder, such libwebp-armv7a, under project
  3. link webp without pkg-config

the way @halfelf mentioned in comments pc build, not android mobile platform.


Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -