---
updatedAt: 2026-02-04T10:45:16.000Z
agentTools:
  siteIndex: https://developer.bitmovin.com/llms.txt
  projectIndex: https://developer.bitmovin.com/encoding/llms.txt
---

# Automatic Shutdown Options

The Automatic Shutdown feature in Bitmovin’s Live Encoding configuration allows users to manage encoding termination automatically, helping to control costs and resource usage. This feature is accessible in Step 7/7 of the Create New Live Encoding wizard.

# Overview

Automatic Shutdown offers three shutdown options to suit different scenarios

1. **Planned Automatic Shutdown**\
   Automatically stops the encoding based on a predefined schedule. Users can set the duration in minutes or hours, after which the encoding will terminate. This is useful for scheduled broadcasts where the end time is known.
2. **Stop Encoding if No Input is Detected After Startup**\
   If no input signal is received within a specified time after starting the encoding, it will automatically shut down. This option helps avoid unnecessary encoding if there’s an issue with the input source.
3. **Stop Encoding if Input Signal Disconnects and Doesn’t Reconnect**\
   This option stops the encoding if the input signal is lost and fails to reconnect within a set period. It’s beneficial for scenarios where a consistent input stream is required, helping avoid resource usage during extended downtime.

[block:image]
{
  "images": [
    {
      "image": [
        "https://files.readme.io/593cbcb5ac9199c2cdde6baffc8b00066164fee5b08f8e0656d4f9864d471d0f-Automatic_Shutdown_Options.png",
        "",
        ""
      ],
      "align": "center",
      "sizing": "500px",
      "border": true
    }
  ]
}
[/block]

# How to Use

1. Navigate to **Step 7/7** in the **Create New Live Encoding** wizard.
2. Use the toggles to enable/disable the three shutdown options.
3. Enter the desired duration in minutes, hours or days for each option.
4. The encoding will automatically shut down when the specified time is reached.

> 📘 Demo Inputs
>
> If the Bitmovin Demo Input is used, the **Planned Automatic Shutdown** feature is automatically enabled by default and cannot be disabled. This ensures that resources are protected when using demo content for testing.

# Using the Bitmovin API

We provide the following API endpoints to configure the `autoShutdownConfiguration` feature for Live Encoding. See [autoShutdownConfiguration documentation](https://developer.bitmovin.com/encoding/reference/postencodingencodingslivechannelstartbyencodingid)

* `bytesReadTimeoutSeconds`Shuts down the live stream automatically if no input is detected within the specified number of seconds (minimum value: 30 seconds).
* `streamTimeoutMinutes`Ends the live stream automatically after it has been running for the specified number of minutes (minimum value: 5 minutes).
* `waitingForFirstConnectTimeoutMinutes`Terminates the live stream if no input connection is established within the specified number of minutes (minimum value: 5 minutes).