CapSoftware / scap

High-performance, cross-platform screen capture library in Rust.
https://crates.io/crates/scap
Other
229 stars 44 forks source link

How to convert to video mp4? #133

Closed svenit closed 3 days ago

svenit commented 5 days ago

In the example, I don't see any code decribe about converting to video mp4?

Brendonovich commented 3 days ago

You'll need to implement this yourself with an encoder (usually libx264) + mp4 muxer, FFmpeg is a pretty common go-to for this and it's what we use in Cap, both as a CLI and via its C apis.