Wechat video account cooperates with OBS to pull stream and push stream to open live broadcast

background

The company has a requirement to realize the simultaneous live broadcast of external video streams, so I deliberately studied the operation steps of OBS software combined with WeChat video account live broadcast.

1. OBS software configuration

(1) Configuration pull flow

  1. Start the OBS software - click "+" - choose to add "media source"
    insert image description here

  2. create source name
    insert image description here

  3. Cancel the local file - fill in the streaming address - modify the network buffer to 5MB (recommended)
    insert image description here

  4. Test whether the pull flow is normal
    insert image description here

(2) Configure streaming

  1. Click "Settings" - Streaming - Select "Custom" - Enter the server (streaming address) and streaming key.
    The streaming address and streaming key come from the live broadcast settings of the WeChat video account
    insert image description here
  2. Click "Output" - select "Simple" for the output mode - the video bit rate is 2500Kbps.
    insert image description here
  3. Click "Video" - base (canvas) resolution 1920X1080 - output (scaled) resolution 1280X720.
    insert image description here
  4. Click "Start streaming" to start live streaming to the WeChat video account.
    insert image description here

2. Wechat video number configuration

  1. Access Video Account Assistant
    link: URL: https://channels.weixin.qq.com/login.html
    insert image description here
  2. Live broadcast management - Initiate live broadcast
    (1) You can set "test live broadcast" for testing, and you can set a whitelist of viewing users for test live broadcast.
    (2) You can set the live broadcast cover image and theme introduction
    insert image description here
  3. Streaming configuration - streaming address and streaming key (requires corresponding settings in OBS streaming configuration)
    Click "Start Live", and the live broadcast of the WeChat video account will start.
    insert image description here
  4. Live Previews - Create live previews.
    insert image description here

Guess you like

Origin blog.csdn.net/shijin741231/article/details/131603305