# place.stream.media.defs

- Kind: defs
- Authority: media.stream.place
- Lexicon: 1
- Published by [stream.place](https://lexicon.garden/identity/did:plc:rbvrr34edl5ddpuwcubjiost), not the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:rbvrr34edl5ddpuwcubjiost/place.stream.media.defs)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:rbvrr34edl5ddpuwcubjiost/place.stream.media.defs/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:rbvrr34edl5ddpuwcubjiost/place.stream.media.defs/analytics)

## #muxlTrack (`place.stream.media.defs#muxlTrack`)

Type: object

A track backed by a MUXL container

### Properties

- `blob` (string, required): BLAKE-3 content hash (BDASL CID) of the source video segment.
- `language` (string): Language of the track, if applicable.
- `mediaType` (string, required): Type of the track: video, audio, or text.
- `signingKey` (string · did): did:key of the ephemeral key that C2PA-signed this track's segments. The private key is discarded once the track is produced, so it can only ever have signed this content.
- `size` (integer): Size in bytes of the source video segment.
- `trackId` (string, required): ID of the track within the MUXL container. 1-indexed for MP4 reasons.

## #sourceClip (`place.stream.media.defs#sourceClip`)

Type: object

An object representing that this video's source is a clip from another video.

### Properties

- `end` (integer, required): End time of the clip in milliseconds.
- `start` (integer, required): Start time of the clip in milliseconds.
- `video` (string · at-uri, required): AT URI of the video we're clipping.

## #sourceTracks (`place.stream.media.defs#sourceTracks`)

Type: object

A collection of tracks representing the canonical source of a video.

### Properties

- `tracks` (array, required): The canonical list of tracks specifying the source of a video.
  - `items` (ref)
    - Reference: `com.atproto.repo.strongRef`

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "muxlTrack": {
      "description": "A track backed by a MUXL container",
      "properties": {
        "blob": {
          "description": "BLAKE-3 content hash (BDASL CID) of the source video segment.",
          "type": "string"
        },
        "language": {
          "description": "Language of the track, if applicable.",
          "type": "string"
        },
        "mediaType": {
          "description": "Type of the track: video, audio, or text.",
          "type": "string"
        },
        "signingKey": {
          "description": "did:key of the ephemeral key that C2PA-signed this track's segments. The private key is discarded once the track is produced, so it can only ever have signed this content.",
          "format": "did",
          "type": "string"
        },
        "size": {
          "description": "Size in bytes of the source video segment.",
          "type": "integer"
        },
        "trackId": {
          "description": "ID of the track within the MUXL container. 1-indexed for MP4 reasons.",
          "type": "string"
        }
      },
      "required": [
        "blob",
        "trackId",
        "mediaType"
      ],
      "type": "object"
    },
    "sourceClip": {
      "description": "An object representing that this video's source is a clip from another video.",
      "properties": {
        "end": {
          "description": "End time of the clip in milliseconds.",
          "type": "integer"
        },
        "start": {
          "description": "Start time of the clip in milliseconds.",
          "type": "integer"
        },
        "video": {
          "description": "AT URI of the video we're clipping.",
          "format": "at-uri",
          "type": "string"
        }
      },
      "required": [
        "video",
        "start",
        "end"
      ],
      "type": "object"
    },
    "sourceTracks": {
      "description": "A collection of tracks representing the canonical source of a video.",
      "properties": {
        "tracks": {
          "description": "The canonical list of tracks specifying the source of a video.",
          "items": {
            "ref": "com.atproto.repo.strongRef",
            "type": "ref"
          },
          "type": "array"
        }
      },
      "required": [
        "tracks"
      ],
      "type": "object"
    }
  },
  "id": "place.stream.media.defs",
  "lexicon": 1
}
```
