Audio encoding presets
Audio encoding presets are to specify commonly used encoding parameters for 🤖/audio/encode.
These are supported if you were to specify
ffmpeg_stack: "v5.0.0"
in your Assembly Instructions.
The recommended version is: v6.0.0
Name | Format | Audio codec | Audio bitrate | Audio frequency | Video codec | Video bitrate | Video resolution |
---|---|---|---|---|---|---|---|
aac | mp4 | libfdk_aac | 128000 | 44100 | |||
alac | ipod | alac | 128000 | 44100 | |||
audio/aac | mp4 | libfdk_aac | vbr | 48000 | vbr | ||
audio/alac | m4a | alac | 128000 | 44100 | |||
audio/flac | flac | flac | 128000 | 44100 | |||
audio/mp3 | mp3 | libmp3lame | 128000 | 44100 | |||
audio/ogg | ogg | libvorbis | |||||
dash/128k-audio | mp4 | libfdk_aac | 128000 | 44100 | |||
dash/256k-audio | mp4 | libfdk_aac | 256000 | 44100 | |||
dash/32k-audio | mp4 | libfdk_aac | 32000 | 44100 | |||
dash/64k-audio | mp4 | libfdk_aac | 64000 | 44100 | |||
dash-128k-audio | mp4 | libfdk_aac | 128000 | 44100 | |||
dash-256k-audio | mp4 | libfdk_aac | 256000 | 44100 | |||
dash-32k-audio | mp4 | libfdk_aac | 32000 | 44100 | |||
dash-64k-audio | mp4 | libfdk_aac | 64000 | 44100 | |||
empty | |||||||
flac | flac | 128000 | 44100 | ||||
gif | gif | 480x270 | |||||
mp3 | mp3 | libmp3lame | 128000 | 44100 | |||
ogg | ogg | libvorbis | |||||
opus | ogg | libopus | 128000 | 48000 | |||
speech | wav | pcm_s16le | 16000 | ||||
wav | wav | pcm_s16le |
You can override any preset's setting, such as a file's bitrate, or even the file's
format & codecs via a Robot's
ffmpeg
parameter.
The hls/
and dash/
presets are intended for use with
🤖/video/encode
to encode multiple video bitrates to be combined into an adaptive live stream using
🤖/video/adaptive. Note
that the hls-
and dash-
presets (with hyphen -
)
are deprecated and will be removed in a future version.
These are supported if you were to specify
ffmpeg_stack: "v6.0.0"
in your Assembly Instructions.
The recommended version is: v6.0.0
Name | Format | Audio codec | Audio bitrate | Audio frequency | Video codec | Video bitrate | Video resolution |
---|---|---|---|---|---|---|---|
aac | mp4 | libfdk_aac | 128000 | 44100 | |||
alac | ipod | alac | 128000 | 44100 | |||
audio/aac | mp4 | libfdk_aac | vbr | 48000 | vbr | ||
audio/alac | m4a | alac | 128000 | 44100 | |||
audio/flac | flac | flac | 128000 | 44100 | |||
audio/mp3 | mp3 | libmp3lame | 128000 | 44100 | |||
audio/ogg | ogg | libvorbis | |||||
dash/128k-audio | mp4 | libfdk_aac | 128000 | 44100 | |||
dash/256k-audio | mp4 | libfdk_aac | 256000 | 44100 | |||
dash/32k-audio | mp4 | libfdk_aac | 32000 | 44100 | |||
dash/64k-audio | mp4 | libfdk_aac | 64000 | 44100 | |||
dash-128k-audio | mp4 | libfdk_aac | 128000 | 44100 | |||
dash-256k-audio | mp4 | libfdk_aac | 256000 | 44100 | |||
dash-32k-audio | mp4 | libfdk_aac | 32000 | 44100 | |||
dash-64k-audio | mp4 | libfdk_aac | 64000 | 44100 | |||
empty | |||||||
flac | flac | 128000 | 44100 | ||||
gif | gif | 480x270 | |||||
hg-transformers-audio | f32le | 16000 | |||||
mp3 | mp3 | libmp3lame | 128000 | 44100 | |||
ogg | ogg | libvorbis | |||||
opus | ogg | libopus | 128000 | 48000 | |||
speech | wav | pcm_s16le | 16000 | ||||
wav | wav | pcm_s16le |
You can override any preset's setting, such as a file's bitrate, or even the file's
format & codecs via a Robot's
ffmpeg
parameter.
The hls/
and dash/
presets are intended for use with
🤖/video/encode
to encode multiple video bitrates to be combined into an adaptive live stream using
🤖/video/adaptive. Note
that the hls-
and dash-
presets (with hyphen -
)
are deprecated and will be removed in a future version.