Christopher N. Hesse
Christopher N. Hesse
Some good news - I was able to implement MMAP output streaming today (tested using `v4l2loopback`). My WIP stuff is on the `next` branch if you want to check it...
I just pushed some preliminary multi-planar buffer support to the `next` branch. Could you please change this: https://github.com/raymanfx/libv4l-rs/blob/next/src/output/device.rs#L157 to return `VideoOutputMplane` and see if that makes it work for you?...
Sounds good. Now we need to check whether the actual streaming I/O works with the new code. Did you try writing some H.264 or JPEG frames to that device (by...
Okay, so this will require some more debugging. Can you add some logs to this function: https://github.com/raymanfx/libv4l-rs/blob/next/src/io/mmap/arena.rs#L54 and see where exactly it fails? I just looked at some Raspberry Pi...
Oh .. I see it now. The H.264 decoder device on the Raspberry Pi 4 requires using the `VIDEO_M2M_MPLANE` API, but this crate right now only implements capture and output...
Hi @patrickelectric, I prepared the multi-planar API support a while ago: https://github.com/raymanfx/libv4l-rs/tree/mplane but was not happy with the API at the time. Since it is not required for my projects,...
Hi, We should probably clarify some terms so the things we speak about become less ambiguous. So first of all, when you say: > images are always only generated once...
Could you please check out the `next` branch [1] and see whether that is sufficient for your purposes? If the `next` API of the `Stream` trait is not enough to...
That indicates the userptr buffer mechanism is not available for this hardware / driver combination. There's little we can do about that. Feel free to re-open if you think otherwise.
True, I'll try to tackle this for the next release.