Skip to main content

BambuLab Printer Video Stream Integration with OBS Studio

This guide describes how to integrate the video stream of a BambuLab printer into OBS Studio on Linux, Windows, and macOS.

1. Preparation in Bambu Studio

Enable Virtual Camera

  • Start Bambu Studio and select your printer.
  • Click on the camera settings icon in the top right corner of the video window.
  • In the popup window that appears, activate the "Go Live" option.

Install Virtual Camera Tool

  • When activating "Go Live" for the first time, you will be prompted to install the virtual camera tool.
  • Follow the installation instructions.
  • After installation, you will find a file named ffmpeg.sdp in the tool's directory.

2. Integration in OBS Studio

Install OBS Studio

  • Download and install the latest version of OBS Studio from the official website.

Add Media Source

  • Start OBS Studio.
  • Add a new Media Source.
  • Uncheck the "Local File" checkbox.
  • In the "Input" field, enter the path to the ffmpeg.sdp file:
    • Windows: file:C:/Users/[YourUsername]/AppData/Roaming/BambuStudio/cameratools/ffmpeg.sdp
    • Linux: file:$HOME/.config/BambuStudio/cameratools/ffmpeg.sdp
    • macOS: file:/Users/[YourUsername]/Library/Application Support/BambuStudio/cameratools/ffmpeg.sdp
  • In the "FFmpeg Options" field, enter: protocol_whitelist=file,udp,rtp.
  • Confirm the settings and wait for the video stream to appear.

3. Alternative Method: VLC Source Integration

If direct integration into OBS doesn't work, VLC can be used as an intermediate solution.

Install VLC Media Player

  • Windows: Download and install VLC Media Player from the official website.
  • Linux: Install via package manager (e.g., sudo apt install vlc or sudo pacman -S vlc).
  • macOS: Download and install VLC from the official website.

Add VLC Video Source in OBS

  • Add a new VLC Video Source in OBS.
  • Add the ffmpeg.sdp file to the playlist.
  • Save the settings.

4. Troubleshooting

If the stream is not displayed:

  • Check if ffmpeg.sdp exists and is readable.
  • Linux: Ensure the file is readable (chmod +r $HOME/.config/BambuStudio/cameratools/ffmpeg.sdp).
  • Windows: Check the file at C:/Users/[YourUsername]/AppData/Roaming/BambuStudio/cameratools/ffmpeg.sdp.
  • macOS: Verify the file path and ensure permissions are set correctly.

With these steps, the video stream of a BambuLab printer can be integrated into OBS Studio across platforms. The procedure may vary slightly depending on the operating system. Additional information can be found in the official BambuLab documentation.