Building a Transcode Topology with TopoEdit
This topic describes how to create a transcoding topology in TopoEdit.
Note
This feature requires Windows 7
To build a transcoding topology
On the File menu, click Render Transcode.
In the Select Media Source dialog box, select the source file for transcoding.
Click Open.
In the Choose Transcode Profile dialog box, select one of the encoding profiles from the drop-down list.
Note
The profiles are loaded from the file TranscodeProfiles.xml.
In the Choose target file dialog, select the name of the output file.
TopoEdit creates the transcode topology and displays the topology nodes in main application window.
Click the Play button on the toolbar to run the media session. Wait for encoding to complete.
TranscodeProfiles.xml
TopoEdit loads the encoding profiles from the file TranscodeProfiles.xml. This file is located in the Bin directory of the Windows SDK.
The file begins with a TedTranscodeProfiles element. Each profile begins with a TedTranscodeProfile element. Each profile consists of a set of values of the format <VALUE_NAME Value="VALUE"/>
. The following values are defined:
Value | Description |
---|---|
AudioAvgBytesPerSecond |
The average bytes per second for the audio stream. Equivalent to the MF_MT_AUDIO_AVG_BYTES_PER_SECOND attribute. |
AudioBitsPerSample |
The number of bits per sample for the audio stream. Equivalent to the MF_MT_AUDIO_BITS_PER_SAMPLE attribute. |
AudioBlockAlignment |
The block alignment for the audio stream. Equivalent to the MF_MT_AUDIO_BLOCK_ALIGNMENT attribute. |
AudioEncodingProfile |
A codec-specific value that defines the audio profile. Equivalent to the MF_TRANSCODE_ENCODINGPROFILE attribute. |
AudioFormat |
The encoded audio subtype. Equivalent to the MF_MT_SUBTYPE attribute. |
AudioNumChannels |
The number of channels in the audio stream. Equivalent to the MF_MT_AUDIO_NUM_CHANNELS attribute. |
AudioSamplesPerSecond |
The sample rate of the audio stream, in samples per second. Equivalent to the MF_MT_AUDIO_SAMPLES_PER_SECOND attribute. |
ContainerType |
The file container type. Equivalent to the MF_TRANSCODE_CONTAINERTYPE attribute. |
ProfileName |
The display name of the profile. |
SkipMetadataTransfer |
Specify 1 if metadata should not be transferred to the output file, or 0 if metadata should be transferred. Equivalent to the MF_TRANSCODE_SKIP_METADATA_TRANSFER attribute. |
VideoBitrate |
The average video bitrate. Equivalent to the MF_MT_AVG_BITRATE attribute. |
VideoEncodeComplexity |
A codec-specific value that defines the encode quality. Equivalent to the MF_TRANSCODE_QUALITYVSSPEED attribute. |
VideoEncodingProfile |
A codec-specific value that defines the video profile. Equivalent to the MF_TRANSCODE_ENCODINGPROFILE attribute. |
VideoFormat |
The encoded video subtype. Equivalent to the MF_MT_SUBTYPE attribute. |
VideoFrameHeight |
The height of the output video. Equivalent to the MF_MT_FRAME_SIZE attribute. |
VideoFrameRateDenominator |
The denominator of the frame rate of the output video. Equivalent to the MF_MT_FRAME_RATE attribute. |
VideoFrameRateNumerator |
The numerator of the frame rate of the output video. Equivalent to the MF_MT_FRAME_RATE attribute. |
VideoFrameWidth |
The width of the output video. Equivalent to the MF_MT_FRAME_SIZE attribute. |
VideoPixelAspectRatioDenominator |
The denominator of the pixel aspect ratio (PAR) of the output video. Equivalent to the MF_MT_PIXEL_ASPECT_RATIO attribute. |
VideoPixelAspectRatioNumerator |
The numerator of the PAR of the output video. Equivalent to the MF_MT_PIXEL_ASPECT_RATIO attribute. |