Video resource type
Namespace: microsoft.graph
Important
APIs under the /beta
version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.
The Video resource groups video-related data items into a single structure.
If a DriveItem has a non-null video facet, the item represents a video file. The properties of the Video resource are populated by extracting metadata from the file.
JSON representation
The following JSON representation shows the resource type.
{
"audioBitsPerSample": 16,
"audioChannels": 1,
"audioFormat": "AAC",
"audioSamplesPerSecond": 44100,
"bitrate": 39101896,
"duration": 8053,
"fourCC": "H264",
"height": 1280,
"width": 720,
"framerate": 2.75
}
Properties
Property | Type | Description |
---|---|---|
audioBitsPerSample | Int32 | Number of audio bits per sample. |
audioChannels | Int32 | Number of audio channels. |
audioFormat | string | Name of the audio format (AAC, MP3, etc.). |
audioSamplesPerSecond | Int32 | Number of audio samples per second. |
bitrate | Int32 | Bit rate of the video in bits per second. |
duration | Int64 | Duration of the file in milliseconds. |
fourCC | string | "Four character code" name of the video format. |
framerate | double | Frame rate of the video. |
height | Int32 | Height of the video, in pixels. |
width | Int32 | Width of the video, in pixels. |
Remarks
For more information about the facets on a DriveItem, see DriveItem.