Actions21
Compress to Size
AI-generatedSummary
Compress video to approximate target size by calculating video bitrate from input duration, target size, and audio bitrate
Inputs
- binaryPropertyName — Name of the binary property containing the input file
- outputBinaryPropertyName — Name of the binary property to store the output file
- targetSizeMB (required) — Target output file size in megabytes (approximate)
- compressAudioBitrate — Audio bitrate to use
- compressOutputFormat — Output file format
- additionalOptions — Additional encoding options, including timeout, enableLogging, and encodingPreset
Output shape
binary property with JSON metadata
Output file stored in outputBinaryPropertyName. JSON metadata includes operation, inputFilename, outputFilename, and size in bytes.