您引用的论坛帖子是Azure 媒体服务早期预览版中非常古老的帖子。那里提到的任务预设不再可用。从我在其余文档中可以看到的是,支持 H.264 基线配置文件,但目前没有将输入视频编码为 H.264 基线的任务预设。H.264 编解码器预设包括高和主要配置文件。
您正确地看到当前没有针对基线配置文件的单个任务预设。
但是 Windows Azure 媒体服务是一只隐藏的野兽!我写了一篇关于 Azure 媒体服务的文章,它没有记录也没有得到官方支持 -剪辑或修剪你的视频文件。
你的挑战有点有趣,因为它之前似乎得到了支持,但在 GA 之后退出了。关注我的博客,因为我可能很快就会为您的需求提供“任务预设”!
更新
您可以使用自定义任务预设创建 H.264 基线配置文件视频。将此 XML 字符串用作Windows Azure 媒体编码器的任务预设:
<?xml version="1.0" encoding="utf-16"?>
<!--Created with Expression Encoder version 4.0.4276.0-->
<Preset
  Version="4.0">
  <Job />
  <MediaFile
    WindowsMediaProfileLanguage="en-US"
    VideoResizeMode="Letterbox">
    <OutputFormat>
      <MP4OutputFormat
        StreamCompatibility="Standard">
        <VideoProfile>
          <BaselineH264VideoProfile
            RDOptimizationMode="Speed"
            HadamardTransform="False"
            SubBlockMotionSearchMode="Speed"
            MultiReferenceMotionSearchMode="Speed"
            ReferenceBFrames="True"
            AdaptiveBFrames="True"
            SceneChangeDetector="True"
            FastIntraDecisions="False"
            FastInterDecisions="False"
            SubPixelMode="Quarter"
            SliceCount="0"
            KeyFrameDistance="00:00:05"
            InLoopFilter="True"
            MEPartitionLevel="EightByEight"
            ReferenceFrames="4"
            SearchRange="32"
            AutoFit="True"
            Force16Pixels="False"
            FrameRate="0"
            SeparateFilesPerStream="True"
            SmoothStreaming="False"
            NumberOfEncoderThreads="0">
            <Streams
              AutoSize="False"
              FreezeSort="False">
              <StreamInfo>
                <Bitrate>
                  <ConstantBitrate
                    Bitrate="4000"
                    IsTwoPass="False"
                    BufferWindow="00:00:04" />
                </Bitrate>
              </StreamInfo>
            </Streams>
          </BaselineH264VideoProfile>
        </VideoProfile>
        <AudioProfile>
          <AacAudioProfile
            Level="AacLC"
            Codec="AAC"
            Channels="2"
            BitsPerSample="16"
            SamplesPerSecond="44100">
            <Bitrate>
              <ConstantBitrate
                Bitrate="160"
                IsTwoPass="False"
                BufferWindow="00:00:00" />
            </Bitrate>
          </AacAudioProfile>
        </AudioProfile>
      </MP4OutputFormat>
    </OutputFormat>
  </MediaFile>
</Preset>
查看此博客文章以获取更多信息。