Changes between Version 2 and Version 3 of FFmpeg and the SoX Resampler


Ignore:
Timestamp:
Feb 7, 2013, 4:04:33 PM (3 years ago)
Author:
robs
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • FFmpeg and the SoX Resampler

    v2 v3  
    1 From December 2012, FFmpeg supports high-quality audio resampling using the SoX Resampler library ('libsoxr'). 
     1With FFmpeg version 1.1 comes the option of high-quality audio resampling using [http://soxr.sourceforge.net The SoX Resampler library] ('libsoxr'). 
    22 
    3 To build FFmpeg with libsoxr, it must first be installed. On unix-like systems, it may be available as an installable package from your OS provider; otherwise, libsoxr should be installed from source code downloaded from http://sourceforge.net/projects/soxr -- either a versioned tar-file, or a git 'clone'.  Once downloaded (and unpacked, in the case of a tar file), it should be built and installed according to the instructions in the INSTALL file (included in the source distribution). 
     3To build FFmpeg with libsoxr, it must first be installed. On unix-like systems, it may be available as an installable package from your OS provider; otherwise, libsoxr should be installed from source code downloaded from [http://sourceforge.net/projects/soxr/ here]—either a versioned tar-file, or a git 'clone'.  Once downloaded (and unpacked, in the case of a tar file), it should be built and installed according to the instructions in the INSTALL file (included in the source distribution). 
    44 
    5 With libsoxr installed, ./configure --enable-libsoxr configures FFmpeg to use libsoxr. 
     5With libsoxr installed, '''`./configure --enable-libsoxr`''' instructs the FFmpeg build system to use libsoxr. 
    66 
    7 To invoke ffmpeg with the SoX Resampler, the option '-af aresample=resampler=soxr' should be given; e.g. 
     7To invoke ffmpeg with the SoX Resampler, the option '''`-af aresample=resampler=soxr`''' should be given; e.g. 
    88 
     9{{{ 
    910ffmpeg -i my-48000.wav -af aresample=resampler=soxr -ar 44100 my-44100.wav 
    10  
    11 In case of need to change the default resampling bit precision or preserved bandwidth, see the ffmpeg manual page 'ffmpeg-resampler'. 
     11}}} 
     12Further options may be given to change the default resampling bit precision and preserved bandwidth—see the manual page [http://ffmpeg.org/ffmpeg-resampler.html ffmpeg-resampler] for details.