MediaTranscoder.MediaTranscoder constructor

Applies to Windows and Windows Phone

Creates a new instance of the MediaTranscoder class.

Syntax


var mediaTranscoder = new Windows.Media.Transcoding.MediaTranscoder();

Parameters

This constructor has no parameters.

Examples

The following example creates a new MediaTranscoder object.


...
var profile = Windows.Media.MediaProperties.MediaEncodingProfile.createMp4(
    Windows.Media.MediaProperties.VideoEncodingQuality.hd720p);

var transcoder = new Windows.Media.Transcoding.MediaTranscoder();
transcoder.trimStartTime = 1000;
transcoder.trimStopTime = 9000;
...


Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.Media.Transcoding
Windows::Media::Transcoding [C++]

Metadata

Windows.winmd

See also

MediaTranscoder

 

 

Show:
© 2014 Microsoft