You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/media-services/video-indexer/scenes-shots-keyframes.md
+64-1Lines changed: 64 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,10 +34,72 @@ Video Indexer determines when a shot changes in the video based on visual cues,
34
34
35
35
Selects the frame(s) that best represent the shot. Keyframes are the representative frames selected from the entire video based on aesthetic properties (for example, contrast and stableness). Video Indexer retrieves a list of keyframe IDs as part of the shot's metadata, based on which customers can extract the keyframe thumbnail.
36
36
37
-
Keyframes are associated with shots in the output JSON.
37
+
### Extracting Keyframes
38
+
39
+
To extract high-resolution keyframes for your video, you must first upload and index the video.
To extract keyframes using the Video Indexer website, upload and index your video. Once the indexing job is complete, click on the **Download** button and select **Artifacts (ZIP)**. This will download the artifacts folder to your computer.
Unzip and open the folder. In the *_KeyframeThumbnail* folder, and you will find all of the keyframes that were extracted from your video.
50
+
51
+
#### With the Video Indexer API
52
+
53
+
To get keyframes using the Video Indexer API, upload and index your video using the [Upload Video](https://api-portal.videoindexer.ai/docs/services/Operations/operations/Upload-Video?) call. Once the indexing job is complete, call [Get Video Index](https://api-portal.videoindexer.ai/docs/services/Operations/operations/Get-Video-Index?). This will give you all of the insights that Video Indexer extracted from your content in a JSON file.
54
+
55
+
You will get a list of keyframe IDs as part of each shot's metadata.
You will now need to run each of these keyframe IDs on the [Get Thumbnails](https://api-portal.videoindexer.ai/docs/services/Operations/operations/Get-Video-Thumbnail?) call. This will download each of the keyframe images to your computer.
38
98
39
99
## Editorial shot type detection
40
100
101
+
Keyframes are associated with shots in the output JSON.
102
+
41
103
The shot type associated with an individual shot in the insights JSON represents its editorial type. You may find these shot type characteristics useful when editing videos into clips, trailers, or when searching for a specific style of keyframe for artistic purposes. The different types are determined based on analysis of the first keyframe of each shot. Shots are identified by the scale, size, and location of the faces appearing in their first keyframe.
42
104
43
105
The shot size and scale are determined based on the distance between the camera and the faces appearing in the frame. Using these properties, Video Indexer detects the following shot types:
@@ -60,6 +122,7 @@ Additional characteristics:
60
122
* Two shots: shows two persons’ faces of medium size.
61
123
* Multiple faces: more than two persons.
62
124
125
+
63
126
## Next steps
64
127
65
128
[Examine the Video Indexer output produced by the API](video-indexer-output-json-v2.md#scenes)
0 commit comments