ffkit_transcode
Convert media files to a different format, codec, or resolution. Specify input and output paths, then adjust quality, bitrate, frame rate, or resolution for the transcoded file.
Instructions
Transcode a media file to a different format, codec, or resolution. The output container is inferred from the file extension.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| crf | No | Constant Rate Factor (lower = higher quality). | |
| fps | No | Output frame rate. | |
| preset | No | Encoder preset (e.g. 'fast', 'medium', 'slow'). | |
| bitrate | No | Target bitrate (e.g. '2M', '500k'). | |
| input_path | Yes | Source file path. | |
| resolution | No | Output resolution as WxH (e.g. '1280x720'). | |
| audio_codec | No | Audio codec (e.g. 'aac', 'libopus'). | |
| output_path | Yes | Destination file path (.mp4, .webm, .mkv, etc.). | |
| video_codec | No | Video codec (e.g. 'libx264', 'libx265', 'libvpx-vp9'). |