Actions9
Compress (Optimize)
AI-generatedSummary
Compresses a media file to reduce its size using FFmpeg BigBoss with selectable preset and CRF quality settings.
Inputs
- mode — Toggle between Simple (easy presets) and BigBoss (granular control) options
- preset — Encoding preset affecting speed vs quality (e.g., ultrafast, superfast, medium, slow, veryslow)
- crf — Constant Rate Factor for quality; 0 is lossless, 23 is default, 51 is worst
- inputSource — Select how the media is provided: Binary Field or File Path
- binaryPropertyName (required) — Name of the binary property that holds the media file
Output shape
a single binary file representing the compressed video
Exactly one output record is returned containing the compressed file; errors are propagated unless continueOnFail is enabled.
Examples
Example 1: Compress an uploaded video using default medium preset and CRF 23
mode: simple, preset: medium, crf: 23, inputSource: binary
Example 2: Compress a file supplied via file path with a slower preset for higher compression
mode: bigboss, preset: slow, crf: 20, inputSource: path
