FFvideoLiveWallpaper icon indicating copy to clipboard operation
FFvideoLiveWallpaper copied to clipboard

Use almost any video as the wallpaper, thanks to the FFmpeg project.

Compiling FFMPEG

I included pre-compiled binaries with this project but just in case you need to compile your own, here are the instructions:

  1. Download NDK 5. It's now archived. As of 10/2013, this link works:
  • http://dl.google.com/android/ndk/android-ndk-r5-linux-x86.tar.bz2
  • I'm not sure where to find versions for Windows or Mac
  • Make sure that you install it to $HOME/android-ndk.
  1. Download a version of FFmpeg that works with this project. We're using bambuser's. Download client version 1.3.7 to 1.3.10.
  2. Extract the archive.
  3. Copy extract.sh and the ffmpeg-*.tar.gz file into the JNI/ffmpeg-android folder.
  4. Run extract.sh
  5. Change build.sh to your liking. Hint: run configure --help from ffmpeg to find options to enable or disable.
  • Make sure to enable the file protocol. You need that to open files on the phone.
  • Enabling the non-free codecs gives more supported formats but it may not be compatible for the license of your project.
  1. Rerun build.sh.
  2. Run clean-build.sh.

See also: http://ikaruga2.wordpress.com/2011/06/15/video-live-wallpaper-part-1/