Video Metadata
The video metadata extractor enriches document metadata with specific information about input videos, such as their duration, resolution, bitrate, codec, and more. Those metadata can then be later used by subsequent middlewares in the pipeline, or stored in a database.
🎥 Extracting Metadata
To use this middleware, you import it in your CDK stack and instantiate it as part of a pipeline.
📄 Output
The video metadata extraction middleware does not modify or alter source videos in any way. It instead enriches the metadata of their document with captured information. Below is an example of metadata captured using this middleware.
💁 Click to expand example
🏗️ Architecture
This middleware runs within a Lambda compute based on the ARM64 architecture, and packages libraries to extract the metadata of videos.
🏷️ Properties
Supported Inputs
Mime Type | Description |
---|---|
video/mpeg | MPEG video. |
video/mp4 | MP4 video. |
video/x-m4v | M4V video. |
video/quicktime | QuickTime video. |
video/x-msvideo | AVI video. |
video/x-matroska | Matroska video. |
video/MP2T | MPEG-2 transport stream video. |
video/x-ms-wmv | Windows Media Video. |
video/x-flv | Flash video. |
Supported Outputs
This middleware supports as outputs the same types as the supported inputs.
Supported Compute Types
Type | Description |
---|---|
CPU | This middleware only supports CPU compute. |
📖 Examples
- Metadata Extraction Pipeline - Builds a simple metadata extraction pipeline.