[FFmpeg-user] Audio resampler (SoX) returns different result
barsnick at gmx.net
Tue Nov 20 13:33:03 EET 2018
On Tue, Nov 20, 2018 at 10:03:48 +0800, 林至善 wrote:
> It works well and it is deterministic. It uses the resampler "swr" I guess,
> but with slightly aliasing in resampled audio.
> I think the 'soxr' is necessary in my case, but I am not sure if I should
> ask for support here or libsxor?
I could now reproduce your issue with a libsoxr enabled ffmpeg. It
appears that libsoxr produces slightly different results each time, as
if rounding arbitrarily. It seems indetermenistic. You should take it
up with libsoxr.
The try native resampler, but with some of the other dither methods
$ ffmpeg -h filter=aresample
and in the "Resampler Options" section of ffmpeg's documentation.
More information about the ffmpeg-user