dwm-anime-wallpaper

wallpaper animation using bmp file and feh app

Dependences

All you need is feh & ffmpeg

MP4 to BMP

take an mp4 video file (pay attention to the length of the video) and use ffmpeg to generate the bmp files. It is possible to manage the quality and number of frames generated.

Manual convert

File=[absolute path of mp4 file]
BaseFile=$(echo ${File} | sed 's/\.mp4//g')
mkdir ${HOME}/$(xdg-user-dir PICTURES)/dwm-anime-wallpaper/${BaseFile}
ffmpeg -i ${File} -pix_fmt bgr8  ${BaseFile}/${BaseFile}_%04d.bmp

Tools

In the repository you will find a script which does essentially the same thing as the manual chapter work

  • mp4tobmp.sh

mp4tobmp.sh

Launch

Main process

./dwm-anime-wallpaper.sh

Test with arg (to preview a specific foleder)

./dwm-anime-wallpaper.sh [DIR]

Preview

dwm-anime-wallpaper.sh

Description
wallpaper animation using bmp file and feh app
Readme 10 MiB
Languages
Shell 100%