-
Notifications
You must be signed in to change notification settings - Fork 538
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[feature request] Support V4L2_MEMORY_DMABUF #501
Comments
WIP a POC to implement this feature. Will submit PR for review soon. |
Something new on this? |
Sorry for late reply. It may need ~3 week to cleanup for experiment usage. |
Would be great, can't await to test! |
afaic the lack of support for |
Yeah, it would be great to have it because of #128 |
Did someone try daijh expbuf-dmabuf? I had no luck with it, error compiling in yocto with kernel 5.15.94 v4l2loopback.c:3593:28: error: storage size of 'map' isn't known |
I am glad to hear that you are interested in the expbuf-dmabuf repo. It required significant changes to the original v4l2loopback code, making it difficult to backport. May I know how you plan to use expbuf-dmabuf? |
@daijh |
Could you share if any GStreamer command? I could do some experiment on it. |
hi @daijh, I'm currently use your version of v4l2loopback expbuf-dmabuf with gstreamer. I can't use this pipeline to use as producer like in the wiki: gst-launch-1.0 videotestsrc ! v4l2sink device=/dev/video1 . Maybe it only support vma ? Thanks. |
Is there a simpler way to do this via |
I'll start a branch and work on this for a bit; seems like a good challenge. I'll poach a lot of inspiration from "udmabuf" as I sort through the |
Ask V4L2_MEMORY_DMABUF feature support in v4l2loopback. It could be helpful for hardware accelerator usage, e.g. GL and HW encoder.
The text was updated successfully, but these errors were encountered: