FFmpeg Advanced

Process video and audio using FFmpeg with advanced and preset capabilities

Get Metadata (Analysis)

AI-generated

Summary

Probe the input media file with ffprobe and return JSON analysis of streams and format.

Inputs

  • inputSource — How to provide the input media. 'binary' reads from a binary property; 'path' uses a file path string. Default: 'binary'. Shown for operations including 'metadata'.
  • inputPath — Full absolute path to the media file. Required when inputSource is 'path'. Shown when inputSource is 'path' and operation includes 'metadata'.
  • binaryPropertyName — Name of the binary property containing the media file. Default: 'data'. Shown when inputSource is 'binary'.
  • saveToFile — Declared boolean (default: false); however, the source execution flow for this operation uses 'continue' after ffprobe, so saveToFile, filePath, and fileName are not applied. The JSON analysis is returned directly.
  • filePath — Not applied for this operation; output is returned as JSON, not a saved file.
  • fileName — Not applied for this operation; output is returned as JSON, not a saved file.

Output shape

array

Each item contains: json (ffprobe metadata JSON from ffprobe), binary (original binary data from the input item, unchanged). The source skips further FFmpeg processing via 'continue' after metadata extraction.

Examples

Example 1: Using binary input source (default)

Set inputSource to 'binary' (default). Ensure the incoming item has a binary property named 'data' (or configure binaryPropertyName accordingly). The node will invoke ffprobe and return the analysis JSON along with the original binary data.

Example 2: Using file path input source

Set inputSource to 'path' and provide inputPath with a valid file path. The node will verify the file exists at runtime, invoke ffprobe, and return the analysis JSON with unchanged binary data.

Discussion