在 Microsoft Stream 中设置用于实时流的编码器Set up an encoder for live streaming in Microsoft Stream

若要开始实时流式处理 Microsoft Stream 中的大型事件,您需要一个编码器。To start live streaming a large event on Microsoft Stream, you need an encoder. 编码器 (有时称为实时流式传输或媒体编码器) 可以是在将实时流内容传递给大型查看器组时与录制设备一起使用的软件或硬件。An encoder (sometimes called a live streaming or media encoder) can be either software or hardware that is used together with recording equipment when live streaming content to a large group of viewers.

它是如何运行的?How does it work?

编码器将音频和视频内容从您在实时事件(如相机、麦克风、桌面屏幕捕获等)中使用的各种源获取,将该媒体压缩并转换为合适的数字格式,然后将其发送到 Microsoft Stream,以便 实时流式传输 给观众。An encoder takes audio and video content from various sources you use during a live event such as, camera, microphone, desktop screen capture, etc., compresses and converts that media into a suitable digital format, then sends it to Microsoft Stream for live streaming to your audience.

我应使用哪种编码器?Which encoder should I use?

如果您不确定您的软件或硬件编码器是否将与 Microsoft Stream 无缝配合工作,请继续阅读以查看我们已经测试过的最佳效果。If you're not sure if your software or hardware encoder will work seamlessly with Microsoft Stream, read on to see which ones we've already tested that work best.

提示

我们建议您在开始实时事件之前选择并设置编码器。We recommend you select and set up an encoder well before you begin your live event.

Microsoft 测试的编码器列表List of encoders tested by Microsoft

以下两个列表中的编码器已由 Microsoft 测试为 Microsoft Stream 的实时流。The encoders in the following two lists have been tested by Microsoft for live streaming with Microsoft Stream. 第一个列表是这些编码器的子集,这些编码器已通过产品进行了测试,便于使用和快速安装。The first list is a subset of these encoders, which have been tested with the product for ease of use and quick setup.

流就绪编码器Stream-ready encoders

编码ENCODER 下载WEBSITE 明细DETAILS
Haivision Haivision Makito XHaivision Makito X 使用 Haivision 集线器提供高质量的 HD 视频,这是 RTMP 的一种强大的替代方法Delivers high-quality HD video with Haivision Hub, a powerful alternative to RTMP
Haivision Haivision KBHaivision KB HEV 视频编码器为多达4K 的分辨率提供高质量 ABR 显示器视频级联H.264 and HEV video encoders deliver high-quality ABR video cascades for resolutions up to 4K
切换器 Studio 切换器 StudioSwitcher Studio 将多个 Apple 设备与一个或多个相机同步以进行实时视频捕获和编辑Syncs multiple Apple devices with one or more cameras for real-time video capture and edit
Wirecast WirecastWirecast 包含所有基础知识 + 多相机生产的 Webcasting 软件Webcasting software that covers all the basics + multi-camera production
Wirecast S Wirecast SWirecast S 多媒体生产软件,带有色度键筛选器、高级音频通道混合和本地 Wi-Fi 相机应用程序以供你的手机使用Multimedia production software with chroma key filters, advanced audio channel mixing, and local Wi-Fi camera apps for your phone

其他编码器Additional encoders

若要设置已测试编码器 在预设列表中,请了解如何 手动设置编码器To set up a tested encoder not in the preset list, learn how you can manually set up your encoder.

EncoderEncoder 网站Website DetailsDetails
AWS Elemental AWS Elemental LiveAWS Elemental Live 实时流式传输到连接到 internet 的设备的实时视频和音频录制Real-time video and audio recording for live streaming to internet-connected devices
vMix vMixvMix 控制照相机、视频、音频等的录制、混合和实时流的软件视觉混音器Software vision mixer that controls recording, mixing, and live streaming of cameras, videos, audio, and more
XSplit XSplit 广播XSplit Broadcaster 生成、混合和传递丰富的视频内容,包括用于实时流式处理的 gameplayProduces, mixes, and delivers rich video content, including gameplay for live streaming
FFmpeg FFmpegFFmpeg 用于处理视频、音频和其他多媒体文件和实时流的开放源代码套件Open-source suite of software for handling video, audio, and other multimedia files and live streams
OBS Studio 开放电视台软件Open Broadcaster Software 高性能实时视频/音频捕获和混合—支持所有流式平台等High-performance real-time video/audio capturing and mixing—supporting all streaming platforms, and more
生产卡车 生产卡车Production Truck 从移动 van 或卡车对位置上的事件进行影片和流处理Films and streams events on location from a mobile van or truck

您是否有不在上面列表中的编码器?Do you have an encoder that is not in the above list?

不是问题!Not a problem! 有时,您的团队或组织有一个指定的编码器,他们希望您使用该编码器,并希望确保它能够与 Microsoft Stream 进行实时流。Sometimes your team or organization has a designated encoder they want you to use and you want to ensure it is ready to stream live with Microsoft Stream. 如果是这样,你可以了解如何 手动配置你自己的编码器 以将 live 事件流式传输到 Microsoft stream。If so, you can learn how to manually configure your own encoder to stream live events to Microsoft Stream.

设置 Microsoft 流就绪编码器的步骤:To set up a Microsoft Stream-ready encoder:

在安排 live 事件 (阅读创建实时事件) 后,可以在编码器设置选项卡上的 "选择编码器" 下拉列表中查看可用编码器的列表。After you schedule your live event (read Creating live events), you can see the list of available encoders in the Select encoder drop-down list on the Encoder setup tab.

EncoderPicker 下拉列表

上述各个表中提及的每个编码器的设置略有不同。Each encoder mentioned in the respective tables above has a slightly different setup described below.

Haivision Makito X 编码器和 Makito KB 编码器Haivision Makito X Encoder and Makito KB Encoder

如果您具有现有的 Haivision X 或 Makito KB 编码器,则可以从下拉列表中选择相应的选项,然后按照说明列表操作。If you have an existing Haivision X or Makito KB encoder, you can choose the appropriate option from the drop-down list and follow the list of instructions.

  1. 选择 " 启动安装程序 ",创建用于实时流式处理的频道。Select Start setup to create a channel for Live Streaming. 等待安装程序完成。Wait for the setup to be complete. 你将在屏幕上看到 "已 准备好" 连接 邮件。You will see a Ready to connect message on the screen.
  2. 完成后, 下载 包含所有编码参数(包括插入 URL 和事件名称)的预设。After that's complete, download the preset that contains all of the encoding parameters including the ingest URL and event name. 将预设导入编码器并启动编码器。Import the preset into the encoder and start the encoder.
  3. 返回到 Microsoft Stream。Go back to Microsoft Stream. 在编码器中查看预览后,请选择 " 启动事件 " 进入活动状态,以便观众可以看到 live 事件。After you are able to see the preview from the encoder, select Start event to go live so your audience can see the live event.

备注

尚未对 RTMPS 的 Haivision KB 编码器支持进行测试。Haivision KB Encoder support for RTMPS has not been tested yet. Haivision Makito X 编码器不支持 RTMPS。Haivision Makito X Encoder does not support RTMPS. 这两个编码器的下载预设都包含 RTMP 的插入 URL。The downloaded presets for both encoders contain the RTMP ingest URL.

切换器 StudioSwitcher Studio

您可以使用切换器 Studio 开始使用 iPhone 或 iPad 将流式传输到 Microsoft Stream。You can use Switcher Studio to start streaming to Microsoft Stream using iPhone or iPad.

  1. 选择 " 启动安装程序 ",创建用于实时流式处理的频道。Select Start setup to create a channel for Live Streaming. 等待安装程序完成。Wait for the setup to be complete. 你将在屏幕上看到 "已 准备好" 连接 邮件。You will see a Ready to connect message on the screen.

    • 配置 切换器 Studio 将打开 "切换器 Studio" 仪表板,以向你的帐户添加 live 事件。Configure Switcher Studio will open the Switcher Studio dashboard to add the live event to your account.

    备注

    如果尚无切换器 Studio 帐户,则需要创建一个) 。If you don't already have a Switcher Studio account, you will need to create one).

    完成此项后,可以转到 iPhone 或 iPad 上的切换器 Studio 应用,在 "输出" 选项卡中选择 "Microsoft Stream",然后开始流式传输到 Microsoft Stream。When this is complete, you can go to your Switcher Studio app on your iPhone or iPad, select Microsoft Stream in the Output tab and start streaming to Microsoft Stream.

  2. 返回到 Microsoft Stream。Go back to Microsoft Stream. 在编码器中查看预览后,请选择 " 启动事件 " 进入活动状态,以便观众可以看到 live 事件。After you are able to see the preview from the encoder, select Start event to go live so your audience can see the live event.

备注

切换器 Studio 使用 RTMP 的插入 URL。Switcher Studio uses the RTMP ingest URL.

WirecastWirecast

如果您是 Wirecast 的现有用户,可以从下拉列表中选择此选项,将实时流发送到 Microsoft Stream。If you are an existing user of Wirecast, you can choose this option from the drop-down list to send a live stream to Microsoft Stream. 请注意,你将需要 Wirecast 版本10或更高版本。Note that you will need Wirecast version 10 or later.

  1. 选择 " 启动安装程序 ",创建用于实时流式处理的频道。Select Start setup to create a channel for Live Streaming. 等待安装程序完成。Wait for the setup to be complete. 你将在屏幕上看到 "已 准备好" 连接 邮件。You will see a Ready to connect message on the screen.
    • 启动 编码器将在您的计算机上启动预配置了正确的编码参数的 Wirecast 应用程序,并为该实时事件插入 URL。Launch encoder will launch the Wirecast app on your machine pre-configured with the correct encoding parameters and ingest URL for that live event. 准备就绪后,单击 Wirecast 应用中的流图标以启动到 Microsoft Stream 的流式传输。When ready click the Stream icon in the Wirecast app to start streaming to Microsoft Stream.
  2. 返回到 Microsoft Stream。Go back to Microsoft Stream. 在编码器中查看预览后,请选择 " 启动事件 " 进入活动状态,以便观众可以看到 live 事件。After you are able to see the preview from the encoder, select Start event to go live so your audience can see the live event.

备注

将启动 Wirecast 应用程序,并预配置 RTMPS 插入 URL。The Wirecast app is launched with the RTMPS ingest URL pre-configured.

Wirecast SWirecast S

如果您刚开始使用流式处理,可以通过从下拉列表中选择来尝试 Wirecast S。If you are new to streaming, you can try Wirecast S by choosing that from the drop-down list. Wirecast 专为 Microsoft Stream 而构建。Wirecast S is built specifically for Microsoft Stream.

  1. 选择 " 启动安装程序 ",创建用于实时流式处理的频道。Select Start setup to create a channel for Live Streaming. 等待安装程序完成。Wait for the setup to be complete. 你将在屏幕上看到 "已 准备好" 连接 邮件。You will see a Ready to connect message on the screen.
    • 启动 编码器将启动您的计算机上使用正确的编码参数预配置的 Wirecast S 应用程序,并插入该实时事件的 URL。Launch encoder will launch the Wirecast S app on your machine pre-configured with the correct encoding parameters and ingest URL for that live event. 通过在 Wirecast S 安装程序屏幕中选择该选项,可以选择自动启动到 Microsoft Stream 的流式传输。You can choose to automatically start streaming to Microsoft Stream by selecting that option in the Wirecast S setup screen.
  2. 返回到 Microsoft Stream。Go back to Microsoft Stream. 在编码器中查看预览后,请选择 " 启动事件 " 进入活动状态,以便观众可以看到 live 事件。After you are able to see the preview from the encoder, select Start event to go live so your audience can see the live event.

备注

将启动 Wirecast 应用程序,并预配置 RTMPS 插入 URL。The Wirecast app is launched with the RTMPS ingest URL pre-configured.

另请参阅See also

实时编码器配置Live encoder configuration

Microsoft 365 Live 事件帮助Microsoft 365 Live Events Assistance