Skip to content

ko1N/memflow-mirror

Repository files navigation

memflow-mirror

work in progress framebuffer mirror based on memflow.

Installation

Compile the guest-agent on Windows with:

cargo build --release --bin mirror-guest --all-features

Then run the mirror-guest.exe from the target/release/ directory.

In case you encounter a No such file or directory error from the build.rs script make sure to install the dependencies of the winres crate.

Run the mirror tool with:

cargo run --release --bin mirror --all-features -- -vv

It is recommended to use the memflow-kvm connector as it currently has the best performance.

Setup

With memflow inventory

When running the mirror tool with the default features the memflow inventory will be used. Since this project depends on memflow/next it is necessary to install memflow-win32 and a connector. The simplest method currently is to use the memflowup tool which has an interactive installation mode:

curl --proto '=https' --tlsv1.2 -sSf https://sh.memflow.io | sh

Then follow the on-screen-instructions.

Using mirror as a library

memflow-mirror can also be used as a library / crate in your own projects. Simply add the appropiate entry to your Cargo.toml:

[dependencies]
...
mirror = { git = "https://github.com/ko1N/memflow-mirror", branch = "master" }
...

A full example can be found in the examples folder.

Demo

mirror demo

Screenshots

screenshot screenshot

Credits

dxgcap by bryal

obs-rs by not-matthias

License

Licensed under MIT License, see LICENSE.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, shall be licensed as above, without any additional terms or conditions.

About

dxgi & obs based screen mirroring for kvm, qemu & more

Resources

License

Stars

Watchers

Forks

Packages

No packages published