---
updatedAt: 2025-06-18T15:27:04.000Z
agentTools:
  projectIndex: https://api.encoding.com/llms.txt
---

# Stream Parameters

If no streams are specified, 9 default streams will be created for [advanced\_hls](https://api.encoding.com/page/hls-pro-streams) and 9 default streams will be created for [advanced\_dash/advanced\_mss](https://api.encoding.com/page/dash-mss-streams). The maximum number of available streams is 15

Acceptable parameters from:\
[Video Settings](https://api.encoding.com/reference/output-videosettings)\
[Audio Settings](https://api.encoding.com/reference/output-audiosettings)\
[Other Format Options](https://api.encoding.com/reference/output-other)\
[Watermarking](https://api.encoding.com/reference/features-watermarking)\
[Video Rotation](https://api.encoding.com/reference/features-videorotation)\
[Cropping](https://api.encoding.com/reference/features-cropping)\
[Fading](https://api.encoding.com/reference/features-fading)\
[Video Overlays](https://api.encoding.com/reference/features-video-overlay)\
[Audio Overlays](https://api.encoding.com/reference/features-audio-overlay)\
[Text Overlays](https://api.encoding.com/reference/features-text-overlay)\
[Burn-in Timecode Options](https://api.encoding.com/reference/features-burnin-timecode)\
[Closed Captions](https://api.encoding.com/reference/closed-captions)

| Parameter                                 | Description                                                                                                                                                                                                                                                                                                                 | Allowed Values                                                                                                           | Default Value |
| :---------------------------------------- | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | :----------------------------------------------------------------------------------------------------------------------- | :------------ |
| **still\_image**                          | Specify how to embed a still image in an audio only stream.                                                                                                                                                                                                                                                                 | no, each\_segment, first\_segment                                                                                        | no            |
| **still\_image\_time**                    | Specify the time from the beginning of the video to capture a still image.                                                                                                                                                                                                                                                  | Non-negative number greater than 0.01 or hh:mm:ss.ms.                                                                    | 5             |
| **still\_image\_size**                    | Specify the size of the still image.                                                                                                                                                                                                                                                                                        | WxH where W and H — positive integers.                                                                                   | *none*        |
| **byte\_range**                           | Enable byte-range playlist – do not split mpeg-ts file into segments.                                                                                                                                                                                                                                                       | yes, no                                                                                                                  | no            |
| **add\_iframe\_stream**                   | Add i-frame playlist for this stream (allowed only for video).                                                                                                                                                                                                                                                              | yes, no                                                                                                                  | no            |
| **audio\_only**                           | Enable the creation of audio only segments.                                                                                                                                                                                                                                                                                 | yes, no                                                                                                                  | no            |
| **video\_only**                           | Enable the creation of video only segments.                                                                                                                                                                                                                                                                                 | yes, no                                                                                                                  | no            |
| **group\_id**                             | Specify an alternate group id based on the current stream.                                                                                                                                                                                                                                                                  | String                                                                                                                   | *none*        |
| **use\_group\_id**                        | Specify a group id list to use as alternate for current stream.                                                                                                                                                                                                                                                             | Comma separated group\_id list.                                                                                          | *none*        |
| **base\_name**                            | Specify the customer stream result filename.                                                                                                                                                                                                                                                                                | Valid filename.                                                                                                          | *none*        |
| **playlist\_version**                     | Specify the version of the m3u8 playlist.                                                                                                                                                                                                                                                                                   | Integer(EXT-X-VERSION)                                                                                                   | *none*        |
| **sub\_path**                             | Specify the stream manifest and media file location.                                                                                                                                                                                                                                                                        | Valid URL.                                                                                                               | *none*        |
| **media\_path**                           | Specify the media file location path relative to the sub\_path.                                                                                                                                                                                                                                                             | Valid URL.                                                                                                               | *none*        |
| **add\_to\_manifest**                     | Add to one or several main manifests. If not value is specified it will be added to all main manifests.                                                                                                                                                                                                                     | Comma separated list of manifests.                                                                                       | *none*        |
| **use\_alternate\_id**                    | Add one or several alternate sources. If no value is specified all alternate sources will be added to the stream.                                                                                                                                                                                                           | Integer number. Should be less than **\<alternate\_source />** parameter count.                                          | *none*        |
| **timescale**                             | Specify the fmp4 timescale.                                                                                                                                                                                                                                                                                                 | Non-negative integer.                                                                                                    | *none*        |
| **stream\_title**                         | HLS EXTINF tag's title attribute                                                                                                                                                                                                                                                                                            | String                                                                                                                   | *none*        |
| **pack\_audio\_to\_mpegts**               | Pack audio only stream to MPEG-TS container                                                                                                                                                                                                                                                                                 | yes, no                                                                                                                  | no            |
| **track\_type**                           | Used to map stream and keys from CPIX response. Value should match with cpix:ContentKeyUsageRule\@intendedTrackType. If it's value doesn't match with any ContentKeyUsageRule first key from CPIX response will be used.  <br/>In dash manifest Representations will be grouped to different AdaptationSets by track\_type. | String                                                                                                                   | *none*        |
| **hdcp\_level**                           | HDCP-LEVEL attribute for HLS EXT-X-STREAM-INF tag in master manifest.                                                                                                                                                                                                                                                       | **no** – to not add tag  <br/>**none** – HDCP-LEVEL=NONE  <br/>**0** – HDCP-LEVEL=TYPE-0  <br/>**1** – HDCP-LEVEL=TYPE-1 | no            |
| **align\_audio\_segments\_to\_framerate** | Align audio segment count to framerate value. If it's value same as video framerate value audio and video manifests will have equal segments count.                                                                                                                                                                         | Valid framerate string                                                                                                   | *none*        |
| **additional\_alternate\_id**             | List of additional alternate source ids to be added to HLS Media group.                                                                                                                                                                                                                                                     | Array of integer numbers                                                                                                 | *none*        |
| **get\_from\_manifest**                   | Use data from external manifest                                                                                                                                                                                                                                                                                             | yes, no                                                                                                                  | no            |
| **reorder\_audio\_packets**               | Make audio packets reorder the way that in TS segment, the smallest audio PTS of a segment is greater than or equal to the smallest video PTS of the segment                                                                                                                                                                | yes, no                                                                                                                  | no            |
| **scaler\_lib**                           | Scaler library                                                                                                                                                                                                                                                                                                              | default, zscale                                                                                                          | default       |
| **segment\_extension**                    | Segment file's extension                                                                                                                                                                                                                                                                                                    | string (max length: 4 characters)                                                                                        | m4s           |
| **init\_extension**                       | Initialization file's extension                                                                                                                                                                                                                                                                                             | string (max length: 4 characters)                                                                                        | mp4           |
| **init\_sub\_path**                       | Initialization file's relative path                                                                                                                                                                                                                                                                                         | Valid path                                                                                                               | *none*        |
| **init\_base\_name**                      | Initialization file's name                                                                                                                                                                                                                                                                                                  | Valid filename (without extension)                                                                                       | *none*        |

> 🚧 For byte\_range parameter
>
> The **\<byte\_range />** is available for **advanced\_hls** and **fmp4\_hls** outputs only.

> 🚧 For add\_iframe\_stream parameter
>
> The **\<add\_iframe\_stream />** available only for **advanced\_hls** and  **advanced\_fmp4** output formats.

> 🚧 For media\_path parameter
>
> The **\<media\_path />** feature available only for **advanced\_dash** and **advanced\_mss** output.

> 📘 For use\_alternate\_id parameter
>
> Each alternate source must be added via a separate \*\*\<use\_alternate\_id /> parameter.

> 🚧 For timescale parameter
>
> The **\<timescale />** feature available only for **advanced\_dash**, **fmp4\_hls**, **advanced\_fmp4**, **advanced\_mss** output formats.

> 🚧 For stream\_title parameter
>
> The **\<stream\_title />** feature available only for **advanced\_hls** and **fmp4\_hls** output formats.

> 🚧 For pack\_audio\_to\_mpegts parameter
>
> The **\<pack\_audio\_to\_mpegts />** feature available only for **advanced\_hls** output format.

> 🚧 For align\_audio\_segments\_to\_framerate
>
> The **\<align\_audio\_segments\_to\_framerate />** is only available for **advanced\_hls**, **advanced\_dash**, and **advanced\_fmp4** output formats.
>
> The **\<align\_audio\_segments\_to\_framerate />** only appliable if **\<audio\_only />** set to *yes* in the **\<stream />** block.
>
> For **advanced\_hls** output format media should have **\<multijob\_workflow />** set to *yes*, or **\<pack\_audio\_to\_mpegts  />** set to *yes*.

> 🚧 For additional\_alternate\_id
>
> The **\<additional\_alternate\_id /> parameter is only available for** advanced\_hls **,**&#x66;mp4\_hls **, and HLS manifests of**advanced\_fmp4\*\* output formats.

> 🚧 For get\_from\_manifest
>
> The **\<get\_from\_manifest /> parameter available only if manifest** \<sources /> are specified.

> 🚧 For reorder\_audio\_packets
>
> The **\<reorder\_audio\_packets />** feature is available only for **advanced\_hls** output format.

> 🚧 For sub\_path parameter
>
> These characters will be filtered out: "\\", "\`", "№", "$", "#", "?"