# Stream


## Fields

| Field                                                                | Type                                                                 | Required                                                             | Description                                                          | Example                                                              |
| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- |
| `Id`                                                                 | *long*                                                               | :heavy_check_mark:                                                   | Unique stream identifier.                                            | 1002625                                                              |
| `StreamType`                                                         | *int*                                                                | :heavy_check_mark:                                                   | Stream type (1=video, 2=audio, 3=subtitle).                          | 1                                                                    |
| `Default`                                                            | *bool*                                                               | :heavy_minus_sign:                                                   | Indicates if this stream is default.                                 | true                                                                 |
| `Codec`                                                              | *string*                                                             | :heavy_check_mark:                                                   | Codec used by the stream.                                            | hevc                                                                 |
| `Index`                                                              | *int*                                                                | :heavy_check_mark:                                                   | Index of the stream.                                                 | 0                                                                    |
| `Bitrate`                                                            | *int*                                                                | :heavy_minus_sign:                                                   | Bitrate of the stream.                                               | 24743                                                                |
| `Language`                                                           | *string*                                                             | :heavy_minus_sign:                                                   | Language of the stream.                                              | English                                                              |
| `LanguageTag`                                                        | *string*                                                             | :heavy_minus_sign:                                                   | Language tag (e.g., en).                                             | en                                                                   |
| `LanguageCode`                                                       | *string*                                                             | :heavy_minus_sign:                                                   | ISO language code.                                                   | eng                                                                  |
| `HeaderCompression`                                                  | *bool*                                                               | :heavy_minus_sign:                                                   | Indicates whether header compression is enabled.                     | true                                                                 |
| `DOVIBLCompatID`                                                     | *int*                                                                | :heavy_minus_sign:                                                   | Dolby Vision BL compatibility ID.                                    | 1                                                                    |
| `DOVIBLPresent`                                                      | *bool*                                                               | :heavy_minus_sign:                                                   | Indicates if Dolby Vision BL is present.                             | true                                                                 |
| `DOVIELPresent`                                                      | *bool*                                                               | :heavy_minus_sign:                                                   | Indicates if Dolby Vision EL is present.                             | false                                                                |
| `DOVILevel`                                                          | *int*                                                                | :heavy_minus_sign:                                                   | Dolby Vision level.                                                  | 6                                                                    |
| `DOVIPresent`                                                        | *bool*                                                               | :heavy_minus_sign:                                                   | Indicates if Dolby Vision is present.                                | true                                                                 |
| `DOVIProfile`                                                        | *int*                                                                | :heavy_minus_sign:                                                   | Dolby Vision profile.                                                | 8                                                                    |
| `DOVIRPUPresent`                                                     | *bool*                                                               | :heavy_minus_sign:                                                   | Indicates if Dolby Vision RPU is present.                            | true                                                                 |
| `DOVIVersion`                                                        | *string*                                                             | :heavy_minus_sign:                                                   | Dolby Vision version.                                                | 1.0                                                                  |
| `BitDepth`                                                           | *int*                                                                | :heavy_minus_sign:                                                   | Bit depth of the video stream.                                       | 10                                                                   |
| `ChromaLocation`                                                     | *string*                                                             | :heavy_minus_sign:                                                   | Chroma sample location.                                              | topleft                                                              |
| `ChromaSubsampling`                                                  | *string*                                                             | :heavy_minus_sign:                                                   | Chroma subsampling format.                                           | 4:2:0                                                                |
| `CodedHeight`                                                        | *int*                                                                | :heavy_minus_sign:                                                   | Coded video height.                                                  | 1608                                                                 |
| `CodedWidth`                                                         | *int*                                                                | :heavy_minus_sign:                                                   | Coded video width.                                                   | 3840                                                                 |
| `ClosedCaptions`                                                     | *bool*                                                               | :heavy_minus_sign:                                                   | N/A                                                                  | true                                                                 |
| `ColorPrimaries`                                                     | *string*                                                             | :heavy_minus_sign:                                                   | Color primaries used.                                                | bt2020                                                               |
| `ColorRange`                                                         | *string*                                                             | :heavy_minus_sign:                                                   | Color range (e.g., tv).                                              | tv                                                                   |
| `ColorSpace`                                                         | *string*                                                             | :heavy_minus_sign:                                                   | Color space.                                                         | bt2020nc                                                             |
| `ColorTrc`                                                           | *string*                                                             | :heavy_minus_sign:                                                   | Color transfer characteristics.                                      | smpte2084                                                            |
| `FrameRate`                                                          | *float*                                                              | :heavy_minus_sign:                                                   | Frame rate of the stream.                                            | 23.976                                                               |
| `Height`                                                             | *int*                                                                | :heavy_minus_sign:                                                   | Height of the video stream.                                          | 1602                                                                 |
| `Level`                                                              | *int*                                                                | :heavy_minus_sign:                                                   | Video level.                                                         | 150                                                                  |
| `Original`                                                           | *bool*                                                               | :heavy_minus_sign:                                                   | Indicates if this is the original stream.                            | true                                                                 |
| `HasScalingMatrix`                                                   | *bool*                                                               | :heavy_minus_sign:                                                   | N/A                                                                  | false                                                                |
| `Profile`                                                            | *string*                                                             | :heavy_minus_sign:                                                   | Video profile.                                                       | main 10                                                              |
| `ScanType`                                                           | *string*                                                             | :heavy_minus_sign:                                                   | N/A                                                                  | progressive                                                          |
| `EmbeddedInVideo`                                                    | *string*                                                             | :heavy_minus_sign:                                                   | N/A                                                                  | progressive                                                          |
| `RefFrames`                                                          | *int*                                                                | :heavy_minus_sign:                                                   | Number of reference frames.                                          | 1                                                                    |
| `Width`                                                              | *int*                                                                | :heavy_minus_sign:                                                   | Width of the video stream.                                           | 3840                                                                 |
| `DisplayTitle`                                                       | *string*                                                             | :heavy_check_mark:                                                   | Display title for the stream.                                        | 4K DoVi/HDR10 (HEVC Main 10)                                         |
| `ExtendedDisplayTitle`                                               | *string*                                                             | :heavy_check_mark:                                                   | Extended display title for the stream.                               | 4K DoVi/HDR10 (HEVC Main 10)                                         |
| `Selected`                                                           | *bool*                                                               | :heavy_minus_sign:                                                   | Indicates if this stream is selected (applicable for audio streams). | true                                                                 |
| `Forced`                                                             | *bool*                                                               | :heavy_minus_sign:                                                   | N/A                                                                  | true                                                                 |
| `Channels`                                                           | *int*                                                                | :heavy_minus_sign:                                                   | Number of audio channels (for audio streams).                        | 6                                                                    |
| `AudioChannelLayout`                                                 | *string*                                                             | :heavy_minus_sign:                                                   | Audio channel layout.                                                | 5.1(side)                                                            |
| `SamplingRate`                                                       | *int*                                                                | :heavy_minus_sign:                                                   | Sampling rate for the audio stream.                                  | 48000                                                                |
| `CanAutoSync`                                                        | *bool*                                                               | :heavy_minus_sign:                                                   | Indicates if the stream can auto-sync.                               | false                                                                |
| `HearingImpaired`                                                    | *bool*                                                               | :heavy_minus_sign:                                                   | Indicates if the stream is for the hearing impaired.                 | true                                                                 |
| `Dub`                                                                | *bool*                                                               | :heavy_minus_sign:                                                   | Indicates if the stream is a dub.                                    | true                                                                 |
| `Title`                                                              | *string*                                                             | :heavy_minus_sign:                                                   | Optional title for the stream (e.g., language variant).              | SDH                                                                  |