Actions21
- Editing & Transcode Actions
- Muxing & Concatenate Actions
- Generation Actions
- Analyze Actions
- Audio FX Actions
- Video FX Actions
- Create Actions
Editing & Transcode → Resize
AI-generatedSummary
Resize video dimensions to specified width and height using FFmpeg.
Inputs
- ffmpegPath — Path to FFmpeg binary (default is 'ffmpeg').
- ffprobePath — Path to FFprobe binary (default is 'ffprobe').
- resizeInput (required) — Path to the input video file to resize.
- resizeW — Desired width in pixels (set to 0 for auto).
- resizeH — Desired height in pixels (set to 0 for auto).
- resizeOutput (required) — Path where the resized video will be saved.
- resizeOverwrite — Overwrite the existing output file if true (default is true).
Output shape
no body — success/failure only
The operation will succeed if resizing is successful, and return a success status. If errors occur, they will be handled according to the workflow's error settings.
Examples
Example 1: Resize a video to a width of 1280 pixels and a height of 720 pixels
Set resizeInput to '/path/to/input.mp4', resizeW to 1280, resizeH to 720, and resizeOutput to '/path/to/output.mp4'.