Actions21
- Editing & Transcode Actions
- Muxing & Concatenate Actions
- Generation Actions
- Analyze Actions
- Audio FX Actions
- Video FX Actions
- Create Actions
Editing & Transcode → Convert Format
AI-generatedSummary
Convert the input media file to a specified output format using FFmpeg.
Inputs
- ffmpegPath — Path to FFmpeg binary (or keep as 'ffmpeg' if in PATH)
- ffprobePath — Path to FFprobe binary (or keep as 'ffprobe' if in PATH)
- inputPath (required) — Path to source media file
- targetFormat (required) — Output container/format
- outputPath — If empty, will use the input filename with a new extension.
- overwrite — Specify whether to overwrite existing files (default is true)
Output shape
a success/failure message including the output file path
If
previewmode is enabled, a success status will be returned along with the path of the new media file.
Examples
Example 1: Convert a video file from MKV to MP4.
Set the inputPath to the MKV file, select MP4 in targetFormat, and leave outputPath empty to convert and save as the same name with .mp4 extension.