1 unstable release
0.1.0 | Mar 19, 2023 |
---|
#21 in #height
16KB
112 lines
Vidium
A tool to record video from a headless Chrome/Chromium tab.
Uses the Page.startScreencast Chrome DevTools protocol method.
Installation
cargo install vidium
Usage
vidium encode --url https://google.com --output google.mp4 --width 800 --height 600 --headless=false
Limitations
- No sound support (Chrome screencast limitation)
- Only
.mp4
output is supported (h264, yuv420p)
Future work
- [] Library / binary separation
- [] Allow to control the page with a JS script
Dependencies
~30–48MB
~811K SLoC