diff options
| author | Barry Golden <[email protected]> | 2019-08-18 11:14:36 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2019-08-18 11:14:36 -0700 |
| commit | 00f43cb02d2ee88d93f73b7d6289bc30116c459a (patch) | |
| tree | 38db7c6c93edc4aa821d87993e0a3cf58a53fbc1 /general/SimpleMediaSource | |
| parent | a9201e13bd23243f928c6789760eac2ccd08934f (diff) | |
* Update ReadMe.md
* Update README.md
Diffstat (limited to 'general/SimpleMediaSource')
| -rw-r--r-- | general/SimpleMediaSource/README.md | 42 | ||||
| -rw-r--r-- | general/SimpleMediaSource/general-SimpleMediaSource.yaml | 11 |
2 files changed, 25 insertions, 28 deletions
diff --git a/general/SimpleMediaSource/README.md b/general/SimpleMediaSource/README.md index ca8e85da..aaac70c3 100644 --- a/general/SimpleMediaSource/README.md +++ b/general/SimpleMediaSource/README.md @@ -1,33 +1,41 @@ +--- +page_type: sample +description: "Demonstrates how to write a custom media source and driver package." +languages: +- cpp +products: +- windows +- windows-wdk +--- + <!--- - name: SimpleMediaSource Sample + name: SimpleMediaSource sample platform: UMDF2 language: cpp - category: general + category: general description: Demonstrates how to write a custom media source and driver package. - samplefwlink: + samplefwlink: ---> -SimpleMediaSource Sample -======================== -This sample demonstrates how to create a custom media source and driver package that can be installed as a Camera and produce frames. +# SimpleMediaSource sample + +This sample demonstrates how to create a custom media source and driver package that can be installed as a camera and produce frames. -This sample has accompanying documentation here: https://docs.microsoft.com/en-us/windows-hardware/drivers/stream/frame-server-custom-media-source +For more information, see the accompanying documentation at [Frame Server Custom Media Source](https://docs.microsoft.com/windows-hardware/drivers/stream/frame-server-custom-media-source). +## Contents -Contents --------- -MediaSource - COM DLL project for the custom media source -SimpleMediaSourceDriver - UMDF driver install package +- MediaSource - COM DLL project for the custom media source +- SimpleMediaSourceDriver - UMDF driver install package -Installation ------------------- +## Installation 1. Build the solution. -2. Navigate to the output folder, e.g. Windows-driver-samples\general\SimpleMediaSource\x64\Release, and the driver package will be in a directory also called SimpleMediaSourceDriver. Check that the folder has `SimpleMediaSource.dll`, `simplemediasourcedriver.cat`, `SimpleMediaSourceDriver.dll`, and `SimpleMediaSourceDriver.inf`. +1. Navigate to the output folder, e.g. Windows-driver-samples\general\SimpleMediaSource\x64\Release, and the driver package will be in a directory also called SimpleMediaSourceDriver. Check that the folder has `SimpleMediaSource.dll`, `simplemediasourcedriver.cat`, `SimpleMediaSourceDriver.dll`, and `SimpleMediaSourceDriver.inf`. -3. Deploy the driver package with +1. Deploy the driver package with the following command: -`devcon dp_add SimpleMediaSourceDriver.inf` + `devcon dp_add SimpleMediaSourceDriver.inf` -4. In Device Manager, locate **SimpleMediaSource Capture Source**, under the Camera category. Open the Microsoft Camera App, switch cameras if necessary until the camera is streaming from the SimpleMediaSource. You should see a scrolling black and white gradient.
\ No newline at end of file +1. In Device Manager, locate **SimpleMediaSource Capture Source**, under the Camera category. Open the Microsoft Camera App, switch cameras if necessary until the camera is streaming from the SimpleMediaSource. You should see a scrolling black and white gradient. diff --git a/general/SimpleMediaSource/general-SimpleMediaSource.yaml b/general/SimpleMediaSource/general-SimpleMediaSource.yaml deleted file mode 100644 index de462279..00000000 --- a/general/SimpleMediaSource/general-SimpleMediaSource.yaml +++ /dev/null @@ -1,11 +0,0 @@ -### YamlMime:Sample -sample: -- name: SimpleMediaSource Sample - description: Demonstrates how to write a custom media source and driver package. - generateZip: true - author: windows-driver-samples - languages: -- cpp - technologies: -- windows -- windows-wdk |
