-
Notifications
You must be signed in to change notification settings - Fork 61
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
Fix example forward video #22
Conversation
Hi, can you check out the The "fix" or workaround I found is here: |
Sorry, I got confused for a sec here. The master branch already has the "fix", but not for the two examples you fixed here. I'll have a look at this soon - but I can say that the current code was tested on Fedora 33 with the latest v4l2loopback master branch and works fine, even using ffplay. |
Hey, yeah, I just copied the fix from that example to here. It'd be good to understand what's not working about the Thanks for the repo and everything, and merry christmas! |
That's most curious indeed. Anyways, thanks for putting in the effort! |
I consider these examples deprecated and will remove them. The stream_* examples should cover the same usecases. |
Can you open an issue about the non-working v4l2loopback & ffplay setup? Please describe what you've tried so far, which versions you used etc etc. Thanks! |
I just ran some tests on Fedora 33 and was able to reproduce your issue. My v4l2loopback + ffplay setup works again for webcam forwarding using that patch. |
Hi!
These two examples didn't work for me using v4l2loopback. I figured out that this would work after looking at your
stream_forward_mmap.rs
example.The error message I would get is:
Incidentally, when I try the example from
stream_forward_mmap
it appears to work correctly, but if I try and play it withffplay
I'm not able to see anything.I realise this example is quite new, should it be working?
(if it helps, the output I get after running stream_forward from running
ffplay /dev/video2
:and then hanging)