mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-02-04 06:08:26 +02:00
doc/resampler: extend docs for min_comp and min_hard_comp options
Based on the text from the aresample filter docs.
This commit is contained in:
parent
e06c147581
commit
955c7c7bc6
@ -121,14 +121,19 @@ Set cutoff frequency ratio. Must be a float value between 0 and 1,
|
|||||||
default value is 0.8.
|
default value is 0.8.
|
||||||
|
|
||||||
@item min_comp
|
@item min_comp
|
||||||
Set minimum difference between timestamps and audio data (in seconds)
|
Set the minimum difference between timestamps and audio data (in
|
||||||
below which no timestamp compensation of either kind is applied.
|
seconds) to trigger stretching/squeezing/filling or trimming of the
|
||||||
Default value is @code{FLT_MAX}.
|
data to make it match the timestamps. The default is that
|
||||||
|
stretching/squeezing/filling and trimming is disabled
|
||||||
|
(@option{min_comp} = @code{FLT_MAX}).
|
||||||
|
|
||||||
@item min_hard_comp
|
@item min_hard_comp
|
||||||
Set minimum difference between timestamps and audio data (in seconds)
|
Set the minimum difference between timestamps and audio data (in
|
||||||
to trigger padding/trimming the data. Must be a non-negative double,
|
seconds) to trigger adding/dropping samples to make it match the
|
||||||
default value is 0.1.
|
timestamps. This option effectively is a threshold to select between
|
||||||
|
hard (trim/fill) and soft (squeeze/stretch) compensation. Note that
|
||||||
|
all compensation is by default disabled through @option{min_comp}.
|
||||||
|
The default is 0.1.
|
||||||
|
|
||||||
@item comp_duration
|
@item comp_duration
|
||||||
Set duration (in seconds) over which data is stretched/squeezed to
|
Set duration (in seconds) over which data is stretched/squeezed to
|
||||||
|
Loading…
x
Reference in New Issue
Block a user