> ## Documentation Index
> Fetch the complete documentation index at: https://docs.pixeltable.com/llms.txt
> Use this file to discover all available pages before exploring further.

# CodecContextMetadata

> <a href="https://github.com/pixeltable/pixeltable/blob/main/pixeltable/functions/util.py#L41" id="viewSource" target="_blank" rel="noopener noreferrer"><img src="https://img.shields.io/badge/View%20Source%20on%20Github-blue?logo=github&labelColor=gray" alt="View Source on GitHub" style={{ display: 'inline', margin: '0px' }} noZoom /></a>

# <span style={{ 'color': 'gray' }}>class</span>  pixeltable.functions.CodecContextMetadata

Metadata about a stream's codec.

## <span style={{ 'color': 'gray' }}>attr</span>  channels

```
channels: int | None
```

Number of audio channels. Present only for audio streams.

## <span style={{ 'color': 'gray' }}>attr</span>  codec\_tag

```
codec_tag: str
```

Four-character codec tag, unicode-escaped.

## <span style={{ 'color': 'gray' }}>attr</span>  name

```
name: str
```

Codec name (e.g. `'h264'`, `'aac'`).

## <span style={{ 'color': 'gray' }}>attr</span>  pix\_fmt

```
pix_fmt: str | None
```

Pixel format (e.g. `'yuv420p'`). Present only for video streams.

## <span style={{ 'color': 'gray' }}>attr</span>  profile

```
profile: str | None
```

Codec profile (e.g. `'High'`, `'LC'`), or `None` if unavailable.
