Delivery formats
A project’s audio comes back as WAV (44.1 kHz, 16-bit, mono) unless you choose a smaller format. The compressed file
replaces the WAV in the delivery: the zip, each output’s link, the manifest and anything sent to
Drive or Dropbox. Compressing is free. Video stays as it is: a video’s _pw_vs file comes back
as video, and only its audio edit (_pw_ae, which is audio) is compressed.
Choosing a format
Section titled “Choosing a format”Set settings.outputFormat when you create the project, or on a draft:
{ "name": "Episode 12", "settings": { "outputFormat": { "format": "mp3", "bitrateKbps": 128 } }, "files": [{ "fileName": "episode-12.wav" }]}format | File | |
|---|---|---|
wav | .wav | Uncompressed, as before. No bitrate. |
mp3 | .mp3 | Plays everywhere; what most podcast hosts ask for. |
aac | .m4a | Better sound than MP3 at the same bitrate. |
opus | .opus | The smallest files for the sound; some editors and hosts don’t take it. |
flac | .flac | Lossless: the same audio as the WAV, usually about half the size. No bitrate. |
Every output is mono, so bitrates are mono ones. The formats and bitrates on offer, in the order we list them, are in
GET /v1/output-settings (below); they can change. Leave bitrateKbps out and the format’s default is used (the
option with "default": true). A format or bitrate that isn’t offered is 400 invalid_output_format.
The project shows what it will be delivered as, WAV said out loud:
"settings": { "mergeOutput": false, "outputFormat": { "format": "wav", "bitrateKbps": null } }With a format chosen, each delivered audio file has its extension: <name>_pw_vs.mp3 and <name>_pw_ae.mp3, and
kind stays audio. To get another format of a completed project, process it again
with a different outputFormat.
How big the download can get
Section titled “How big the download can get”estimatedOutputBytes on a project is the most its download can come to in its format, once every file’s length is
known (null before). It’s an upper bound: cleanup trims silence, so the real download is usually smaller. FLAC
can’t be predicted exactly, so its estimate is typical rather than a ceiling.
To compare formats before choosing, multiply each option’s bytesPerSecond by the audio’s length, once per audio file
the project delivers (each track, or one for a merged project, and again for the audio edit).
Defaults
Section titled “Defaults”Leave outputFormat out and the project follows its show, then the account:
- a show’s
defaults.outputFormatapplies to its projects (Shows and usage); - the account’s default is in
GET /v1/output-settings.
GET /v1/output-settings (account:read)PATCH /v1/output-settings (owners and admins) {"defaultOutputFormat": {"format": "mp3", "bitrateKbps": 96}}{ "defaultOutputFormat": { "format": "wav", "bitrateKbps": null }, "formats": [ { "format": "wav", "bitrateKbps": null, "label": "WAV", "extension": ".wav", "lossless": true, "approximate": false, "default": false, "bytesPerSecond": 88200.0 }, { "format": "mp3", "bitrateKbps": 128, "label": "MP3 128 kbps", "extension": ".mp3", "lossless": false, "approximate": false, "default": true, "bytesPerSecond": 16000.0 } ]}Send {"format": "wav"} to make WAV the default, or to have one project delivered as WAV whatever its show’s or
account’s default says. A default naming a format that’s no longer offered delivers WAV. A project keeps the format
it was created with, even if that format is later taken off the list.