[FFmpeg-cvslog] doc/resampler: add exact_rational option

Muhammad Faiz git at videolan.org
Mon Jun 13 08:17:59 CEST 2016


ffmpeg | branch: master | Muhammad Faiz <mfcc64 at gmail.com> | Mon Jun 13 13:12:05 2016 +0700| [0b8dcb3349a235c069214f1b3afeba7634050f1a] | committer: Muhammad Faiz

doc/resampler: add exact_rational option

Signed-off-by: Muhammad Faiz <mfcc64 at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=0b8dcb3349a235c069214f1b3afeba7634050f1a
---

 doc/resampler.texi |    9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/doc/resampler.texi b/doc/resampler.texi
index cb7d536..d72677c 100644
--- a/doc/resampler.texi
+++ b/doc/resampler.texi
@@ -120,8 +120,8 @@ select the native SW Resampler; filter options precision and cheby are not
 applicable in this case.
 @item soxr
 select the SoX Resampler (where available); compensation, and filter options
-filter_size, phase_shift, filter_type & kaiser_beta, are not applicable in this
-case.
+filter_size, phase_shift, exact_rational, filter_type & kaiser_beta, are not
+applicable in this case.
 @end table
 
 @item filter_size
@@ -134,6 +134,11 @@ the interval [0,30].
 @item linear_interp
 Use linear interpolation if set to 1, default value is 0.
 
+ at item exact_rational
+For swr only, when enabled, try to use exact phase_count based on input and
+output sample rate. However, if it is larger than @code{1 << phase_shift},
+the phase_count will be @code{1 << phase_shift} as fallback. Default is disabled.
+
 @item cutoff
 Set cutoff frequency (swr: 6dB point; soxr: 0dB point) ratio; must be a float
 value between 0 and 1.  Default value is 0.97 with swr, and 0.91 with soxr



More information about the ffmpeg-cvslog mailing list