Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ossystems/easysplash
EasySplash - tool for animated bootsplash screens
https://github.com/ossystems/easysplash
boot embedded-linux gstreamer splashscreen
Last synced: 30 days ago
JSON representation
EasySplash - tool for animated bootsplash screens
- Host: GitHub
- URL: https://github.com/ossystems/easysplash
- Owner: OSSystems
- License: apache-2.0
- Created: 2020-02-29T22:35:00.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-06-06T12:29:48.000Z (over 1 year ago)
- Last Synced: 2024-08-21T21:27:16.033Z (4 months ago)
- Topics: boot, embedded-linux, gstreamer, splashscreen
- Language: Rust
- Homepage:
- Size: 1.83 MB
- Stars: 67
- Watchers: 7
- Forks: 12
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE-APACHE-2.0
Awesome Lists containing this project
README
EasySplash
==========EasySplash is an application that runs early the OS boot for showing graphical animation while the
boot process itself happens in the background.The app is built on Rust and binds to GStreamer, so it can run in any backend that supports both.
It can also be used for debugging and testing new animations on the desktop before deploying it to
embedded devices.For example, the below is the animation that has been in use for O.S. Systems' demo images:
![O.S. Systems demo boot animation](https://github.com/OSSystems/easysplash/raw/master/doc/demo-animation.gif)
There are two animation [examples](https://github.com/OSSystems/EasySplash/tree/master/data), which may be used as reference:
* [O.S. Systems glowing logo](https://github.com/OSSystems/EasySplash/tree/master/data/glowing-logo/)
* [O.S. Systems demo boot animation](https://github.com/OSSystems/EasySplash/tree/master/data/ossystems-demo/)Requirements
------------* Rust 1.66.0 or newer
* GStreamer (tested with 1.16)Running EasySplash
------------------This is the help screen of EasySplash when ran with the -h argument:
Usage: easysplash []
EasySplash offers a convenient boot splash for Embedded Linux devices,
focusing of simplicity and easy to use.Options:
--help display usage informationCommands:
open open the render with the specific animation
client control the render from the user spaceBoot parameters:
easysplash.enable If you want to skip the EasySplash on system boot set up
this to "0".Animation format
----------------EasySplash accepts animations in a directory which layout must be like this:
animation.toml
part1.mp4
part2.mp4
part3.mp4The names of the animation files can be chosen freely. Only the animation manifest file, named
`animation.toml`, needs to always be named as shown.The `animation.toml` file uses the [TOML](https://github.com/toml-lang/toml) format and intends to
define the animation. Below is a full example, for reference:[[part]]
file = "part1.mp4"
mode = "complete"[[part]]
file = "part2.mp4"
mode = "complete"
repeat = 1[[part]]
file = "part3.mp4"
mode = "interruptable"The animation view port is always rendered on the center of screen. The parts are defined using
`[[part]]`. The parts are inserted in the order encountered. For every part, following options are
available:- `file`: specifies the file to use for the part (required).
- `mode`: is `complete`, `interruptable` or `forever`. (optional)
- `complete` means the part must be played completely, even if somebody requested EasySplash to
stop (default).
- `interruptable` means it can be stopped immediately.
- `forever` means it will be looping forever and can be interrupted.
- `repeat`: defines how many times a part is replayed before moving to next. (optional)License
-------EasySplash is licensed under either of
* Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or
http://www.apache.org/licenses/LICENSE-2.0)
* MIT license ([LICENSE-MIT](LICENSE-MIT) or
http://opensource.org/licenses/MIT)at your option.
Contribution
------------Any kinds of contributions are welcome as a pull request.
Unless you explicitly state otherwise, any contribution intentionally submitted
for inclusion in EasySplash by you, as defined in the Apache-2.0 license, shall
be dual licensed as above, without any additional terms or conditions.