Probe
Analyzes media files to extract detailed information about format, streams, codecs, duration, bitrate, resolution, and other metadata. This node uses FFprobe under the hood to inspect media files without processing them.
Common Properties
- Name - The custom name of the node.
- Color - The custom color of the node.
- Delay Before (sec) - Waits in seconds before executing the node.
- Delay After (sec) - Waits in seconds after executing node.
- Continue On Error - Automation will continue regardless of any error. The default value is false.
info
If the ContinueOnError property is true, no error is caught when the project is executed, even if a Catch node is used.
Inputs
- File Path - Path to the media file to analyze. Must be a local file path (not a URL).
Options
This node does not have any configurable options.
Output
- info - Object containing comprehensive media file information in JSON format. The structure includes:
- format - Container format information
filename- Input file pathformat_name- Format name (e.g., "mov,mp4,m4a,3gp,3g2,mj2")format_long_name- Human-readable format descriptionduration- Total duration in secondssize- File size in bytesbit_rate- Overall bitratetags- Metadata tags (title, artist, date, etc.)
- streams - Array of stream information
index- Stream indexcodec_type- Type: "video", "audio", "subtitle", "data"codec_name- Codec name (e.g., "h264", "aac")codec_long_name- Human-readable codec descriptionwidth- Video width in pixels (video streams only)height- Video height in pixels (video streams only)duration- Stream duration in secondsbit_rate- Stream bitratesample_rate- Audio sample rate (audio streams only)channels- Number of audio channels (audio streams only)tags- Stream-specific metadata
- format - Container format information
How It Works
The Probe node uses FFprobe to analyze media files and extract detailed information. When executed, the node:
- Validates that the file path is provided
- Checks that the file exists and is not a directory
- Executes FFprobe with JSON output format
- Parses the JSON response
- Returns the complete media information as an object
This operation is read-only and does not modify the file. It's fast and lightweight compared to media processing operations.
Example Output Structure
{
"format": {
"filename": "/path/to/video.mp4",
"format_name": "mov,mp4,m4a,3gp,3g2,mj2",
"format_long_name": "QuickTime / MOV",
"duration": "120.500000",
"size": "15728640",
"bit_rate": "1044480",
"tags": {
"major_brand": "isom",
"minor_version": "512",
"compatible_brands": "isomiso2avc1mp41",
"encoder": "Lavf58.45.100"
}
},
"streams": [
{
"index": 0,
"codec_name": "h264",
"codec_long_name": "H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10",
"codec_type": "video",
"width": 1920,
"height": 1080,
"r_frame_rate": "30/1",
"avg_frame_rate": "30/1",
"duration": "120.500000",
"bit_rate": "913491"
},
{
"index": 1,
"codec_name": "aac",
"codec_long_name": "AAC (Advanced Audio Coding)",
"codec_type": "audio",
"sample_rate": "48000",
"channels": 2,
"channel_layout": "stereo",
"duration": "120.500000",
"bit_rate": "128000"
}
]
}