• moto's avatar
    Use custom FFmpeg libraries for torchaudio binary distributions (#2355) · b7624c60
    moto authored
    Summary:
    This commit changes the way torchaudio binary distributions are built.
    
    * For all the binary distributions (conda/pip on Linux/macOS/Windnows), build custom FFmpeg libraries.
    * The custom FFmpeg libraries do not use `--use-gpl` nor `--use-nonfree`, so that they stay LGPL.
    * The custom FFmpeg libraries employ rpath so that the torchaudio binary distributions look for the corresponding FFmpeg libraries installed in the runtime environment.
    * The torchaudio binary build process will use them to bootstrap its build process.
    * The custom FFmpeg libraries are NOT shipped.
    
    This commit also add disclaimer about FFmpeg in README.
    
    Pull Request resolved: https://github.com/pytorch/audio/pull/2355
    
    Reviewed By: nateanl
    
    Differential Revision: D36202087
    
    Pulled By: mthrok
    
    fbshipit-source-id: c30e5222ba190106c897e42f567cac9152dbd8ef
    b7624c60
README.md 8.59 KB