---
title: "VideoAsset"
description: "API documentation for VideoAsset"
url: https://developer.disguise.one/python-api/docs/videoasset/
---

# VideoAsset

Base class (inherits properties and methods): _[Resource](/python-api/docs/resource#resource)_

## Properties

#### **audioSampleRate** : _float_

Maximum number of bits per channel

#### **bitDepth** : _int_

Bit depth of the original video (in Bits)

_Options: {0: ‘Unknown’, 1: ‘1 Bit’, 2: ‘2 Bits’, 3: ‘3 Bits’, 4: ‘4 Bits’, 5: ‘5 Bits’, 6: ‘6 Bits’, 7: ‘7 Bits’, 8: ‘8 Bits’, 9: ‘10 Bits’, 10: ‘11 Bits’, 11: ‘12 Bits’, 12: ‘14 Bits’, 13: ‘16 Bits’, 14: ‘24 Bits’, 15: ‘32 Bits’}_

#### **codec** : _str_

Codec of the original video

#### **fps** : _float_

#### **fragments** : _List\[[VideoFragment](/python-api/docs/videofragment#videofragment)\]_

#### **hasAlpha** : _bool_

#### **hasAudio** : _bool_ _(Read-Only)_

#### **nFrames** : _int_

#### **proxyInfo** : _str_ _(Read-Only)_

#### **regionSet** : _[VideoRegionSet](/python-api/docs/videoregionset#videoregionset)_

#### **resolution** : _[Vec2](/python-api/docs/vec2#vec2)_

## Methods

#### **add**(self, file: _[VideoFile](/python-api/docs/videofile#videofile)_, version: _str_, region: _str_, proxyLevel: _int_, replaceFrames: _bool_, iFrame: _int_, force: _bool_) -> _bool_

#### **enableFragment**(self, frag: _[VideoFragment](/python-api/docs/videofragment#videofragment)_, enabled: _bool_)

#### **hasMultipleFragments**(self) -> _bool_

#### **insert**(self, fragment: _[VideoFragment](/python-api/docs/videofragment#videofragment)_)

#### **moveFragment**(self, srcIndex: _int_, destIndex: _int_)

#### **remove**(self, frag: _[VideoFragment](/python-api/docs/videofragment#videofragment)_)

#### **updateFileStatus**(self)

## Static Methods

#### **fileToAssetData**(file: _[VideoFile](/python-api/docs/videofile#videofile)_) -> _[AssetData](/python-api/docs/assetdata#assetdata)_
