This project is a very basic implementation of a wallpaper engine and is currently in development. The only current functionality is to make a star looking animation which can be seen below or to load your own video files (see more details below).
This youtube video will go through how it works and what the next steps are (currently a bit outdated).
The project was made in C++ using SDL2 and FFMPEG.
People who want to contribute can now also make edits to the ideas file if they have any ideas for updates or open an issue
Assuming all required DLLs are available the program now has updated functionality. You can run the program with default settings or by additional command lines (UI and monitor "detection" is still in progress).
-w, --width
: specifies the width of the window. default is 1920 \
-h, --height
: specifies the height of the window. default is 1080 \
--stars
: specifies the number of stars. default is 300 \
--video
: specfies file path to a video file. (NOTE: if video is used this overrides the "star" setting).
Examples: \
./starBG.exe -w 1920 -h 1080 --video ./video.mp4
\
./starBG.exe -w 1920 -h 1080 --stars 1000
\
./starBG.exe
To simplify development on windows, MSYS2 has been used in order to compile this project. The following are required:
pacman -S mingw-w64-x86_64-toolchain
pacman -S mingw-w64-x86_64-SDL2
(pacman -S mingw-w64-x86_64-SDL2_image
)pacman -S mingw-w64-x86_64-ffmpeg
pacman -S make
When all dependencies have been installed, run make
in the root folder. The executable should then be in the debug
folder.
As per https://github.com/darclander/starBackground/issues/10 I realized I should mention the required DLLs for running the executable on windows. To run the application you need:
SDL2.dll
avcodec-60.dll
avdevice-60.dll
avfilter-9.dll
avformat-60.dll
avutil-58.dll
libgcc_s_seh-1.dll
libstdc++-6.dll
libwinpthread-1.dll
postproc-57.dll
swresample-4.dll
swscale-7.dll