Actions9
Custom Command
AI-generatedSummary
Execute a custom FFmpeg command on the supplied media and return the processed result.
Inputs
- contactNotice — Notification displayed to the user
- mode — Toggle between Simple (easy presets) and BigBoss (granular control) options
- inputSource — Select how the input media is provided (binary field or file path)
- inputPath — File path to the media file
- binaryPropertyName (required) — The name of the binary property containing the media file
- customArgs — Custom FFmpeg arguments to pass to the command
- outputExtension — Extension for the output file (e.g., mp4, webm)
Output shape
a list of items
Each item contains a JSON payload and a binary file; the binary may be empty on failure
Examples
Example 1: Re-encode a binary file from a previous node to H.265 and output as MP4
Set inputSource to binary, binaryPropertyName to data, customArgs to '-c:v libx265 -preset slow', outputExtension to 'mp4'
Example 2: Extract audio from a file path and return as MP3
Set inputSource to path, inputPath to '/path/to/video.mp4', customArgs to '-vn -q:a 0 -ac 2 -b:a 192k output.mp3', outputExtension to 'mp3'
Example 3: Run a custom FFmpeg preset to compress video with specific CRF
Set inputSource to binary, binaryPropertyName to data, customArgs to '-c:v libx264 -crf 28 -preset medium', outputExtension to 'mp4'
