1. 26 Oct, 2023 1 commit
  2. 24 Oct, 2023 1 commit
  3. 11 Oct, 2023 1 commit
  4. 09 Oct, 2023 1 commit
  5. 05 Jul, 2023 1 commit
  6. 03 Jun, 2023 1 commit
  7. 02 Jun, 2023 1 commit
  8. 01 Jun, 2023 1 commit
    • moto's avatar
      Use dlopen for FFmpeg (#3353) · b14ced1a
      moto authored
      Summary:
      This commit changes the way FFmpeg extension is built and used.
      Instead of linking (LGPL) FFmpeg libraries to torchaudio at build time,
      It uses dlopen to search and link them at run time.
      
      For dlopen-ing, we use PyTorch's `at::DynamicLibrary` class, which provides
      portable wrapper.
      
      Pull Request resolved: https://github.com/pytorch/audio/pull/3353
      
      Differential Revision: D46059199
      
      Pulled By: mthrok
      
      fbshipit-source-id: 4493a5fd8a4c802178d20276522f5334d637307d
      b14ced1a
  9. 27 Mar, 2023 1 commit
    • Moto Hira's avatar
      Refactor the initialization of EncodeProcess (#3205) · 4eac61a3
      Moto Hira authored
      Summary:
      Pull Request resolved: https://github.com/pytorch/audio/pull/3205
      
      This commit refactors the initialization of EncodeProcess.
      
      Interface-wise, the signature of the constructor of EncodeProcess
      has made simpler just to take rvalues of its components, and the
      initialization of the components have been moved to helper functions.
      
      Implementat-wise, the order that the components are initialized is
      revised, and the source of initialization parameters is also revised.
      
      For example, the original implementation first creates AVCodecContext,
      and passes it around to create the other components. This relied on
      an assumption that parameters AVCodecContext has (such as image size
      and sample rate) are same as the source data. This is not always right,
      and as we will introduce custom filter graph and allow on-the-fly
      transform of rates and dimensions, it will become even less correct.
      
      The new initialization constructs source AVFrame, TensorConverter and
      FilterGraph from source attributes. This makes it easy to introduce
      on-the-fly transform.
      
      Reviewed By: nateanl
      
      Differential Revision: D44360650
      
      fbshipit-source-id: bf0e77dc1a5a40fc8e9870c50d07339d812762e8
      4eac61a3
  10. 27 Feb, 2023 1 commit