List of Windows 10 (developer preview) UWP Audio, Video, Camera and Graphics samples


[Update: Fixed broken links]

Hello again my fellow media development enthusiasts. It is that time once again. Windows 10 UWP apps are more media capable than ever before. My previous lists of Media centric samples for Windows 8 & 8.1 were popular and hopefully helpful so I wanted to make sure to continue the tradition. In this edition I've also included samples for some of the new D2D technologies that can interoperate with the Media stack. While this list may not be extensive hopefully it is as least close. If you find any other samples that I’ve missed please let me know.

Category

Sample

Description

Playback

Adaptive
  Streaming

How to create and use an AdaptiveMediaSource to playback HLS and DASH content over HTTP.

Background
  Audio

This sample demonstrates how to use the Background Media Player and playback lists to create a collection of songs that can continue to play even when the app is no longer in the foreground.

System
  Media Transport Controls

This sample demonstrate how to register and handle media transport events for hardware and software buttons using the  SystemMediaTransportControls .

Video
  Playback

This sample demonstrates how to create apps that take advantage of many media platform features.

Custom
  Media Transport Controls

This sample shows how to create customized media transport controls for the Media Element in your XAML Windows App.

Create & Edit

Audio
  Creation

This sample shows how to use the APIs in the Windows.Media.Audio namespace to create audio graphs for audio routing, mixing, and processing scenarios.

Media
  Editing

 

GetPreviewFrame

This sample applies an end-to-end approach to demonstrate how to write a camera application using the Windows.Media.Capture API in conjunction with the DisplayInformation API to acquire preview frames from the camera stream for further processing.

Media Casting

Basic
  Media Casting

Demonstrates how to send a piece of media content from one device to another. Exercises the Windows.Media.Casting API set.

Screen
  Casting

This sample demonstrates how to combine different casting technologies into a single user experience.

Camera

Camera
  Profile

This sample demonstrates a new extension to Windows.Media.Capture.MediaCaptureInitializationSettings API.

Universal
  Camera

This sample applies an end-to-end approach to demonstrate how to write a camera application using the Windows.Media.Capture API in conjunction with orientation sensors to cover the functions that most camera apps will require.

Graphics & Effects

Composition
  Visual

The sample shows how to construct and walk a simple tree of Visuals to change opacity without using any XAML, WWA, or DirectX.

Direct2D
  Custom Effects

This sample demonstrates how to implement custom Direct2D effects using HLSL pixel, vertex, and compute shaders.

Direct2D
  Gradient Mesh

This sample demonstrates how to instantiate and render a gradient mesh in Direct2D.

Misc.

Face
  Detection

This sample applies an end-to-end approach to demonstrate how to write a camera application using the Windows.Media.Capture API in conjunction with orientation sensors to cover the functions that most camera apps will require.

File
  and Folder Thumbnail

This sample shows how to retrieve thumbnails for files and folders. It uses Windows.Storage.FileProperties.

Library
  Management

Demonstrates how to get a list of the folders in a user's library and how to let users add and remove folders from that list. This samples uses Windows.Storage.StorageLibrary.

Music Device Control

MIDI

This sample demonstrates how to use the Windows.Devices.Midi API in a Windows Runtime app.

 

Skip to main content