Skip to content

Latest commit

 

History

History
47 lines (28 loc) · 1.62 KB

sink-writer.md

File metadata and controls

47 lines (28 loc) · 1.62 KB
description ms.assetid title ms.topic ms.date
The sink writer is a component for encoding audio or video files.
23AF25B8-B94C-48BC-83D8-5863ACFFD4CA
Sink Writer
article
05/31/2018

Sink Writer

The sink writer is a component for encoding audio or video files.

The following diagram shows, at a high level, how an application uses the sink writer to encode and audio/video file.

a diagram that shows the sink writer.

The sink writer hosts a media sink and optionally one or more encoders. The encoders convert uncompressed audio or video data to encoded bitstreams. The media sink outputs the bitstreams to a file. The sink writer performs the following tasks:

  • Loads the media sink.
  • Finds and loads the encoders.
  • Manages the data flow to the encoders and the media sink.

The application passes audio/video data to the sink writer as input. It does not matter how the application obtains or generates the input data. One option is to use the Source Reader, as shown in the following diagram. However, the sink writer does not require the use of the source reader. These two components are independent.

a diagram that shows the source reader and sink writer.

In this section

Related topics

Encoding and File Authoring

Overview of Encoding in Media Foundation