You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Feature Request: Expose libswresample options in AudioResampler #2262
This works well for basic resampling, but it does not appear to expose the underlying SwrContext options that control resampling quality/speed tradeoffs. In FFmpeg these include options such as:
filter_size
phase_shift
linear_interp
cutoff
dither_method
resampler=swr|soxr
precision # for soxr
cheby # for soxr
This matters for audio/ML and archival/media-processing use cases where resampling quality, determinism, and backend choice are important. In particular, FFmpeg’s libswresample can use the SoX resampler via resampler=soxr when FFmpeg is built with SoXr support, but there does not seem to be a direct way to request that through AudioResampler.
Activity
Expose libswresample options in AudioResampler