-
Notifications
You must be signed in to change notification settings - Fork 5
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
add video support to warp-blink-wrtc #272
Comments
I investigated using the H.264 codec to encode frames captured by OpenCV (which happen to be in BGR format). Implementations available were x264 and openh264. The former worked excellent but is GPL licensed. The latter only supports inputs in YUV420 format, which severely degrades image quality. The Alliance for Open Software has released a free AV1 codec which looks promising. I will try that next. |
got the AOM version of the AV1 codec working in the branch |
This probably needs to go on hold until @jkelleyrtp figures out how we will be sending video to Dioxus. It may be possible to send the WebRTC stream directly to Dioxus/the webview. If that doesn't work, I believe that Blink would need to provide an HTTP endpoint (for an RTP server) for the |
I was looking into adding opencv to the various installers and learned that when statically linking, it can take 0.5GB. It's probably worth investigating using nohkwa for camera capture instead of OpenCV. |
nokhwa didn't work but eye-rs works well. |
tentative task list as of Dec 2023
Some work was done in the branch
feat/blink-video
. OpenCV makes it easy to capture video frames. The next step is to test passing them through a codec. After that, sending the data over WebRTC should be trivial.Getting the video to display in a Dioxus app may be a different story. Jon is hopeful that an RTP stream can be sent to the webview.
The text was updated successfully, but these errors were encountered: