| Crates.io | bootanimation-tools |
| lib.rs | bootanimation-tools |
| version | 0.1.1 |
| created_at | 2025-11-05 17:16:32.485339+00 |
| updated_at | 2025-11-08 07:21:31.461102+00 |
| description | CLI utility to convert between Android bootanimations and videos |
| homepage | https://github.com/rhythmcache/Video-to-BootAnimation-Creator-Script |
| repository | https://github.com/rhythmcache/Video-to-BootAnimation-Creator-Script |
| max_upload_size | |
| id | 1918275 |
| size | 91,683 |
Tools to convert videos to Android bootanimations and vice versa. Available as both interactive Bash scripts and CLI binaries.
vid2boot - Convert any video to bootanimation.zipboot2vid - Convert bootanimation.zip to MP4 videobash <(curl -sSL https://raw.githubusercontent.com/rhythmcache/Video-to-BootAnimation-Creator-Script/main/cbootanim.sh)
Or download and run:
curl -sSL https://raw.githubusercontent.com/rhythmcache/Video-to-BootAnimation-Creator-Script/main/cbootanim.sh -o cbootanim.sh
chmod +x cbootanim.sh
./cbootanim.sh
bash <(curl -sSL https://raw.githubusercontent.com/rhythmcache/Video-to-BootAnimation-Creator-Script/main/install.sh)
After installation, use vid2boot or boot2vid commands.
Since Termux doesn't have yt-dlp in repositories, run this first for YouTube support:
termux-setup-storage && pkg install -y openssl-tool python && pip install yt-dlp
cargo install bootanimation-tools
Requirements:
export FFMPEG_PATH=/path/to/ffmpeg
Or on Windows:
set FFMPEG_PATH=C:\path\to\ffmpeg.exe
bootanimation.zip from the created Magisk module if neededRequirements (auto-installed by script):
# Basic usage
vid2boot -i input.mp4 -o bootanimation.zip
# Custom resolution and FPS
vid2boot -i input.mp4 -o bootanimation.zip -W 1080 -H 1920 -f 30
# With audio support
vid2boot -i input.mp4 -o bootanimation.zip --with-audio
# Loop infinitely
vid2boot -i input.mp4 -o bootanimation.zip -l loop-infinite
# PNG format with background color
vid2boot -i input.mp4 -o bootanimation.zip --format png -b "#000000"
Options:
-i, --input - Input video file (required)-o, --output - Output bootanimation.zip path (required)-W, --width - Output width (optional, uses video width if not specified)-H, --height - Output height (optional, uses video height if not specified)-f, --fps - Frame rate (optional, uses video fps if not specified)-l, --loop-mode - Loop behavior: stop-on-boot, play-full, or loop-infinite (default: stop-on-boot)--with-audio - Include audio in bootanimation--max-frames - Maximum frames per part (default: 400)--format - Image format: jpg or png (default: jpg)-b, --background - Background color in hex format (e.g., #FFFFFF)# Basic usage
boot2vid -i bootanimation.zip -o output.mp4
# Include audio if available
boot2vid -i bootanimation.zip -o output.mp4 --with-audio
Options:
-i, --input - Input bootanimation.zip file (required)-o, --output - Output MP4 file (required)--with-audio - Include audio from bootanimation if availableNote: CLI binaries are non-interactive and require all arguments to be provided via command-line flags.
bootanimation.zip format/system/product/media or /system/media/This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.