A video playable PDF viewer built for presentations.
bewegtbild
let's your images move.
Warning
Under construction, but usable!
# View a PDF
bewegtbild test.pdf
# View a PDF + video configuration when and where to play videos, GIFs, ...
bewegtbild test.pdf -c ~/foo_config.json
# PDF + video configuration, updates when configuration changes (helps to write config)
bewegtbild test.pdf -c ~/foo_config.json --reload
Example configuration
[
{
"video_path": "./test_other.gif",
"slide_num": [3, 7],
"pos": ["70%", "70%"],
"size": ["20%", "20%"]
},
{
"video_path": "./test.mkv",
"slide_num": 5,
"pos": ["40%", "50%"],
"size": ["40%", "40%"]
},
{
"video_path": "./test.mkv",
"slide_num": 3,
"pos": ["0%", "10%"],
"size": ["100%", "100%"]
}
]
This installation requires a pre-built library.
Download and extract the version pdfium/6541 of pdfium-binaries under pdfium/linux-x64
.
git clone https://github.com/tfachmann/bewegtbild/tree/main
cd bewegtbild
mkdir pdfium
cd pdfium
mkdir linux-x64
# download and extract libpdfium.so (or libpdfium.a) here
# visit https://github.com/bblanchon/pdfium-binaries/releases/tag/chromium%2F6541
# or build it yourself
cargo build --release
If a static library libpdfium.a
is provided, use this instead. Note that pdfium-binaries does not provided static libraries. To use a libpdfium.a
, one must build pdfium from source.
cargo build --release --features static
- fast, no lags
- full PDF support -- via pdfium-render
- full video format support (GIF, mp4, mkv, ...) -- via egui-video
- native (linux)
- web
- easy installation (!hard because of pdfium)
- minimal features
- vim-like navigation
- presenter support
- play (loop) videos
- videos spanning multiple slides
- pause videos
- configurable hotkeys
- easy incorporation of videos (no code)
- via configuration
- via python launcher script (supported
dataclass
)
- built-in support for presentations built with
typst
(polylux?)