Video Metadata icon

Video Metadata

Extract metadata from video files using FFprobe

Overview

This node extracts video metadata using FFprobe, supporting operations like extracting full metadata, getting video duration, or resolution. It can process videos from binary data or download them from a URL. It's useful for workflows needing video analysis, such as media management, quality control, or content indexing.

Use Case Examples

  1. Extract full metadata from a video file uploaded in a previous node.
  2. Get the duration of a video from a URL to schedule processing tasks.
  3. Retrieve video resolution to ensure content meets platform requirements.

Properties

Name Meaning
Input Mode Determines how the video file is provided: either from binary data of a previous node or by downloading from a URL.
Video URL URL of the video file to analyze, required if input mode is 'Download from URL'.
Binary Property Name of the binary property containing the video file, required if input mode is 'Binary Data'.
Output Property Name Name of the output property where the extracted metadata will be stored.

Output

JSON

  • metadata - Contains the extracted video metadata, duration, or resolution depending on the operation selected.

Dependencies

  • FFprobe (via ffprobe-static) is required to extract video metadata.
  • Node requires ability to download files from URLs if using URL input mode.

Troubleshooting

  • Invalid URL errors occur if the provided video URL is missing or malformed; ensure the URL starts with 'http' or 'https'.
  • File download failures may happen due to network issues or HTTP errors; check URL accessibility and network connection.
  • Errors related to missing binary data occur if the specified binary property does not exist or is empty; verify the binary property name and previous node output.
  • FFprobe execution errors may arise if the video file is corrupted or unsupported; verify the video file integrity and format.

Links

Discussion