Skip to content

Conversation

a3f
Copy link
Contributor

@a3f a3f commented Jul 28, 2025

Description

This low-cost1 capture dongle supports MJPEG (and YUYV) and supports
up to 3840x2160@18 on USB 3.0 speeds.
When connected over USB 2.0, the highest supported mode is 1920x1080@50
as reported by v4l2-ctl2.

Choose MJPEG to conserve USB bandwidth and add 1920x1080 as default
mode.

  • what do you use the feature for?

See HDMI output of DUT

  • how does labgrid benefit as a testing library from the feature?

We already support a number of Webcams. Low cost HDMI grabbers and pixel perfect capture could allow better automated testing

  • how did you verify the feature works?

Installed manually and tested it out both over USB 3.0 and USB 2.0

  • if hardware is needed for the feature, which hardware is supported and which
    hardware did you test with?

https://www.amazon.de/dp/B08Z3XDYQ7

Checklist

  • PR has been tested

This low-cost[1] capture dongle supports MJPEG (and YUYV) and supports
up to 3840x2160@18 on USB 3.0 speeds.
When connected over USB 2.0, the highest supported mode is 1920x1080@50
as reported by v4l2-ctl[2].

Choose MJPEG to conserve USB bandwidth and add 1920x1080 as default
mode.

While at it, fix a typo two lines down.

[1]: https://www.amazon.de/dp/B08Z3XDYQ7
[2]: https://gist.github.com/a3f/70b1156464caa670a469c86912e4ba9c

Signed-off-by: Ahmad Fatoum <[email protected]>
Copy link

codecov bot commented Jul 28, 2025

Codecov Report

❌ Patch coverage is 0% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 55.6%. Comparing base (881de63) to head (9b7c859).
⚠️ Report is 6 commits behind head on master.
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
labgrid/driver/usbvideodriver.py 0.0% 2 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff            @@
##           master   #1709     +/-   ##
========================================
- Coverage    55.6%   55.6%   -0.1%     
========================================
  Files         172     172             
  Lines       13467   13469      +2     
========================================
  Hits         7495    7495             
- Misses       5972    5974      +2     
Flag Coverage Δ
3.10 55.6% <0.0%> (-0.1%) ⬇️
3.11 55.6% <0.0%> (-0.1%) ⬇️
3.12 55.6% <0.0%> (-0.1%) ⬇️
3.13 55.6% <0.0%> (-0.1%) ⬇️
3.9 55.6% <0.0%> (-0.1%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Bastian-Krause Bastian-Krause merged commit c8f1f41 into labgrid-project:master Jul 30, 2025
9 of 11 checks passed
@a3f a3f deleted the afa/guermok-hdmi-to-usb3 branch July 30, 2025 21:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants