microsoft / microsoft/Windows-Camera

Adding a Video Effect to the camera stream

Open
#69 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
261
Forks
81
PR merge metrics
No merged PRs in 30d

Description

Hi , I want to modify the HWMediaSource/HWMediaStream such that the samples are processed with a custom MFT based Video Effect. I built out and installed a UMDF driver based on HWMediaSource. I also have a custom MFT implemented as a separate DLL project which I am then enumerating in my IMFMediaStream class(using the CLSID and MFT category). I tested that My effect is enumerated and registered properly. But my attempt at the approach is still not adding any Video Effect to the stream when I launch the camera. I followed this PR for reference on how to include IMFTransform attribute and call the MFT functions in IMFMediaStream class. Any leads on the implementation and how to get it working?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by comparing the HWMediaSource and HWMediaStream implementation with the referenced commit, fee76f2c. Trace how the custom MFT is enumerated and how IMFTransform attributes and MFT calls are handled in IMFMediaStream. Done means the installed custom video effect is applied to samples when the camera launches.

Written by the indexing model from the issue text.

Assessment

Domain
audio-video-rtc, operating-systems
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.