> ## Documentation Index
> Fetch the complete documentation index at: https://docs.audiopod.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Media converter best practices

> Choosing an output format, audio and video quality settings, trimming and loudness.

How to get the file you need from the AudioPod Media Converter: choose the format for where the file is going, keep quality settings simple, and trim before you convert.

## Choose the output format

Set `output_format`. Pick it for where the file will be used.

| You need | Use |
| - | - |
| Editing, mastering, archiving | `wav`, `flac` or `aiff` |
| Sharing, podcasts, the web | `mp3`, `m4a` or `aac` |
| Small files for voice | `ogg` |
| Video for most players | `mp4` |
| Video for the web | `webm` |

Also supported: `wma`, `avi`, `mkv`, `mov`, `wmv`, `flv`, `m4v`, `3gp`, `ogv`. An unsupported format is refused with `422` before a job is created. `GET /api/v1/media-converter/formats` lists everything.

* WAV and AIFF output is 16-bit. To keep a 24-bit master at full depth, use FLAC.
* Converting a lossy file (MP3, AAC) to WAV or FLAC does not bring back lost quality. It only makes the file bigger.

## Extract audio from video

Choose an audio `output_format`, for example `mp3` or `wav`, and the video track is dropped. `audio_only: true` does the same with any format.

## Audio quality

* `audio_quality`: `low`, `medium`, `high` or `very_high` sets the bitrate. `high` suits most speech and music.
* `audio_bitrate` (in kbps) sets it exactly and overrides `audio_quality`.
* `sample_rate` (Hz) and `channels` (1 = mono, 2 = stereo) apply to audio outputs only. For a single voice, mono halves the size of an uncompressed file.
* Never set a bitrate or sample rate above the source. It makes the file bigger, not better.

## Video quality

* `video_quality`: `240p`, `360p`, `480p`, `720p`, `1080p`, `1440p` or `2160p` sets the height and keeps the aspect ratio.
* `width` and `height` set an exact size. Give just one to keep the aspect ratio.
* `video_bitrate` (kbps) and `framerate` (fps) are also available.
* Don't pick a size taller than the source. It upscales without adding detail.

## Trim before you convert

* Set `start_time` and `end_time`, or `start_time` and `duration`, in seconds. If you send both `end_time` and `duration`, `duration` wins.
* You are charged for the part you keep, not the whole file.
* `end_time` must be after `start_time`, and a `start_time` past the end of the file is refused.

Do: `start_time=90, end_time=150` to cut a one-minute clip.
Don't: convert a two-hour file and then cut a minute from it.

## Other options

* `normalize_audio: true` evens out loudness to a standard broadcast level (about -24 LUFS). There is no option to choose a different target.
* `remove_metadata: true` strips tags such as title, artist and recording details.
* `fast_mode: true` encodes video faster, at the cost of a larger file.

## Inputs and limits

* Upload a `file` or pass an `input_url` (one or the other, not both).
* Uploads up to 1 GB. On the Free plan, a job can be up to 30 minutes and 500 MB. Paid plans allow longer files; see [audiopod.ai/pricing](https://audiopod.ai/pricing).
* `POST /api/v1/media-converter/bulk-convert` converts up to 20 links with the same settings.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.