Ffmpeg
AI-generatedOverview
This node integrates ffmpeg and ffprobe tools to transform or analyze media files. It allows users to specify commands for media processing, such as converting video formats, extracting audio, or probing media file information. Common scenarios include video editing, format conversion, and media metadata extraction.
Use Case Examples
- Converting a video file from one format to another using ffmpeg command.
- Extracting media file metadata using ffprobe for analysis or validation.
Properties
| Name | Meaning |
|---|---|
| Tool | Selects the tool to use, either ffmpeg for media transformation or ffprobe for media analysis. |
| Output File Name | Specifies the name of the output file when using ffmpeg. |
| Output Binary | Defines the binary field name to store the output data when using ffmpeg. |
| Input Binary Fields | Comma-separated list of binary field names to use as inputs. If empty, the first binary field is used. Placeholders like {input}, {input1}, {input2} can be used in the command to reference these inputs. |
| Command | The ffmpeg or ffprobe command to execute. Use placeholders {input}, {input1}, {input2}, etc. for input files and {output} for the ffmpeg output file. |
Output
JSON
any- Output data from the executed ffmpeg or ffprobe command, typically media file data or metadata.
Dependencies
- ffmpeg and ffprobe command line tools must be available in the environment where the node runs.
Troubleshooting
- Ensure ffmpeg and ffprobe are installed and accessible in the system PATH.
- Verify the command syntax and placeholders are correct to avoid execution errors.
- Check that input binary fields specified exist and contain valid media data.
- Common errors include command execution failures due to invalid parameters or missing input files.
Links
- FFmpeg Documentation - Official documentation for ffmpeg command line tool.
- FFprobe Documentation - Official documentation for ffprobe media analysis tool.