Commit ba4aa656 authored by Clément Bœsch's avatar Clément Bœsch

doc/filters: move "aformat" before "amerge".

parent 42b2908d
...@@ -140,6 +140,32 @@ aconvert=u8:auto ...@@ -140,6 +140,32 @@ aconvert=u8:auto
@end example @end example
@end itemize @end itemize
@section aformat
Convert the input audio to one of the specified formats. The framework will
negotiate the most appropriate format to minimize conversions.
The filter accepts the following named parameters:
@table @option
@item sample_fmts
A comma-separated list of requested sample formats.
@item sample_rates
A comma-separated list of requested sample rates.
@item channel_layouts
A comma-separated list of requested channel layouts.
@end table
If a parameter is omitted, all values are allowed.
For example to force the output to either unsigned 8-bit or signed 16-bit stereo:
@example
aformat=sample_fmts\=u8\,s16:channel_layouts\=stereo
@end example
@section amerge @section amerge
Merge two audio streams into a single multi-channel stream. Merge two audio streams into a single multi-channel stream.
...@@ -190,32 +216,6 @@ amovie=input.mkv:si=5 [a5]; ...@@ -190,32 +216,6 @@ amovie=input.mkv:si=5 [a5];
[x3][a5] amerge" -c:a pcm_s16le output.mkv [x3][a5] amerge" -c:a pcm_s16le output.mkv
@end example @end example
@section aformat
Convert the input audio to one of the specified formats. The framework will
negotiate the most appropriate format to minimize conversions.
The filter accepts the following named parameters:
@table @option
@item sample_fmts
A comma-separated list of requested sample formats.
@item sample_rates
A comma-separated list of requested sample rates.
@item channel_layouts
A comma-separated list of requested channel layouts.
@end table
If a parameter is omitted, all values are allowed.
For example to force the output to either unsigned 8-bit or signed 16-bit stereo:
@example
aformat=sample_fmts\=u8\,s16:channel_layouts\=stereo
@end example
@section anull @section anull
Pass the audio source unchanged to the output. Pass the audio source unchanged to the output.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment