다음을 통해 공유


Transcoding (XAML)

[ This article is for Windows 8.x and Windows Phone 8.x developers writing Windows Runtime apps. If you’re developing for Windows 10, see the latest documentation ]

This section describes how to use the Windows.Media.Transcoding API to transcode audio and video files in your Windows Runtime app using C++, C#, or Visual Basic.

Transcoding is the conversion of a digital media file, such as a video or audio file, from one format to another. For example, you could convert a media file from one encoding to another. Convert a media file from one resolution to another, in which case you may or may not keep the same encoding. Or trim a media file, in which case you may or may not keep the same encoding and resolution.

For samples that use transcoding in a Windows Runtime app using C++, C#, or Visual Basic, see Transcoding media sample.

For an example of using a custom decoder, see the Media extension sample.

In this section

Topic Description

Quickstart: transcoding video files

You can use the Windows.Media.Transcoding API to transcode a video files from one format to another.

How to trim a video file

The MediaTranscoder object can be used to trim a media file.

 

Roadmaps

Roadmap for Windows Runtime apps using C# and Visual Basic

Roadmap for Windows Runtime apps using C++

Designing UX for apps

Samples

Transcoding media sample

Media extension sample

Real-Time communication sample

Reference

Windows.Media

Windows.Media.MediaProperties

Windows.Media.Transcoding

Other resources

Supported audio and video formats

Optimize media resources