Skip to content

(1/3) Add NV12 frame format support for windows#682

Open
hexbabe wants to merge 5 commits intopion:masterfrom
hexbabe:add-nv12-support-windows
Open

(1/3) Add NV12 frame format support for windows#682
hexbabe wants to merge 5 commits intopion:masterfrom
hexbabe:add-nv12-support-windows

Conversation

@hexbabe
Copy link
Contributor

@hexbabe hexbabe commented Feb 10, 2026

Description

Implements the most used webcam frame format, NV12, alongside preserving existing YUY2 support for windows.

Manual Testing

Fixes Michael's windows machine integrated webcam via d52fa53. It is now able to be detected and streamed from.

Reference issue

Partially addresses #95
Inspired by the inactive PR: #657

Note

I agree with the issue that we should eventually migrate to mediafoundation, but these PRs are the least we can do to get DirectShow implementation working as for now

@hexbabe hexbabe marked this pull request as ready for review February 10, 2026 20:15
@hexbabe hexbabe changed the title Add NV12 support Add NV12 frame format support for windows Feb 10, 2026
@codecov
Copy link

codecov bot commented Feb 10, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 42.13%. Comparing base (932e23a) to head (254a5fe).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #682   +/-   ##
=======================================
  Coverage   42.13%   42.13%           
=======================================
  Files          86       86           
  Lines        5186     5186           
=======================================
  Hits         2185     2185           
  Misses       2839     2839           
  Partials      162      162           

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@hexbabe hexbabe marked this pull request as draft February 10, 2026 20:24
…tion to FORMAT_VideoInfo. This change allows for better compatibility with various video formats by correctly retrieving width, height, and compression details from both format types (NV12 and YUY2)
@hexbabe hexbabe force-pushed the add-nv12-support-windows branch from 07f7683 to d52fa53 Compare February 10, 2026 22:16
@hexbabe hexbabe changed the title Add NV12 frame format support for windows (1/3) Add NV12 frame format support for windows Feb 11, 2026
@hexbabe hexbabe marked this pull request as ready for review February 11, 2026 18:31
@hexbabe hexbabe requested review from JoTurk and philipch07 February 11, 2026 18:35
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.

1 participant

Comments