rust_minifb
v4l2loopback
Our great sponsors
rust_minifb | v4l2loopback | |
---|---|---|
8 | 28 | |
953 | 3,523 | |
- | - | |
6.4 | 8.3 | |
17 days ago | 11 days ago | |
Rust | C | |
MIT License | GNU General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
rust_minifb
-
placing pixels
Well, it depends on how you use it; writing to an image buffer isn't much less efficient than writing to any normal buffer (in fact, although displaying your scene to a window efficiently is important, your main bottleneck will be the actual ray tracing loop). You may want to read this article for a practical example of using an ImageBuffer to create and draw a texture with Piston. Other window backends you could use, apart from pixels which was already mentioned in another comment, include minifb and Mini GL, though I haven't personally used them.
-
[Media] Tupper's self-referential formula plotting itself on a framebuffer and more with Rust!
After watching the Numberphile video on this formula, I decided to implement it in Rust for fun. It uses minifb for the window creation + framebuffer.
-
Emulating the Sega Genesis - Part II
Before I could implement the display output, I needed something to draw the images onto. There are quite a few Rust crates available to create a GUI window and update it with 2D graphics. Most of these are of course intended for making games, and also include ways of getting key presses as input, which I'll also need. I looked at Piston, which I've used before on other projects, Macroquad, which also supports web assembly as well as desktop targets, Pixels, which is intended specifically for 2D games, and Minifb, which is also specifically for 2D applications, but is much simpler. I also tried out libretro, which is specifically made for video game emulation, but I found it much more restrictive than the others because of it's narrow focus.
-
Hey Rustaceans! Got an easy question? Ask here (40/2021)!
There's several different approaches you could take, but I'd probably suggest macroquad as the easiest. I've also used minifb for windowing + a drawing library like raqote or tiny-skia.
-
Hello, I want to learn how to make emulators. Where to start and for what architecture to write the first project?
I don't know much about Rust, but I used the C version this library, and I think this is as simple as it gets: Rust MiniFB. Hope this helps
-
inku 0.1.0 – An RGB color backed by a `u32` for simple color manipulation
A very simple color manipulation library backed by a u32. My use-case was for use with minifb which uses a u32 frame buffer. Feedback appreciated.
-
Minimal graphics crate for Rust
If all you need is a pixel/frame buffer I'd suggest either pixels-rs or minifb.
-
Yet another NES emulator in Rust - feedback welcome
In my experience, it really makes no difference what rendering backend you use for something as simple as a NES emulator. The 'pixel_renderer' that i wrote basically does the simplest possible thing i could think of - it takes a pixel buffer in cpu memory, copies it over to the gpu, turns it into a texture and stretches it to cover the entire screen. There seem to be many crates out there that do just this - my choice to roll my own was really one out of curiosity and completionism more than anything.
v4l2loopback
-
Installing v4l2loopback in asahi-linux edge kernel
I am relatively new to linux, so pardon if this is a newbie question. I want to install the v4l2loopback module to 6.3.0-asahi-8-1-edge-ARCH. When I manually compile from https://github.com/umlaeute/v4l2loopback, and attempt to install, I obtain a vermagic and kernel version mismatch. Running modinfo:
-
Is there a way (plugin or something?) to output the gcode viewer to an rtsp stream?
If you want to stream your webcam as an H264 encoded rtsp stream, it can be done with either rtsp-simple-server or V4l2rtspserver And it is possible to stream a linux desktop (and any program that might be open, like your web browser with the gcode viewer running on it) with the V4l2Loopback device and either of the two prgrams above. It is quite an involved process, but it is do-able.
-
VToonify: Controllable High-Resolution Portrait Video Style Transfer
https://github.com/umlaeute/v4l2loopback
Effectively these let an app (eg some VToonify tool) generate content that from the perspective of your live streaming app look like they are from a webcam
-
create a live webcam stream, that can be shared
note: want to get extra fancy and use random sources or have multiple streams use a single webcam source?? check into v4l2loopback -- https://github.com/umlaeute/v4l2loopback
-
[HELP] I would like to know if you can create a virtual camera on Android.
https://www.youtube.com/watch?v=E89XQXrA_tI (which uses this)
-
Fake Cam doesn't work
I'm trying to install Linux-Fake-Background-Webcam, which in turn requires 4l2loopback. Following the 4l2loopback manual, I try the following command to install it:
- Using a Canon EOS camera as a webcam in Debian
-
Using Sony camera (a6500) as a webcam in Ubuntu 20.04 - Working fine
Download the last version bash wget https://github.com/umlaeute/v4l2loopback/archive/refs/tags/v0.12.5.tar.gz
-
Is it possible for Linux mint to use an Android (11) as a webcam?
scrcpy and v4l2loopback works well
- v4l2loopback not working on other kernels
What are some alternatives?
deku - Declarative binary reading and writing: bit-level, symmetric, serialization/deserialization
akvcam - akvcam, virtual camera for Linux
macroquad - Cross-platform game engine in Rust.
pyvirtualcam - 🎥 Send frames to a virtual camera from Python
simd-json - Rust port of simdjson
obs-v4l2sink - obs studio output plugin for Video4Linux2 device
pixels - A tiny hardware-accelerated pixel frame buffer. 🦀
BlackHole - BlackHole is a modern macOS audio loopback driver that allows applications to pass audio to other applications with zero additional latency.
ili9341-rs - A WIP, no_std, generic driver for the ILI9341 (and ILI9340C) TFT LCD display
xdg-desktop-portal-wlr - xdg-desktop-portal backend for wlroots
miniquad - Cross platform rendering in Rust
rust - Empowering everyone to build reliable and efficient software.