1. 09 Dec, 2022 4 commits
    • moto's avatar
      Update author and maintainer info (#2911) · eb8b1bda
      moto authored
      Summary: Pull Request resolved: https://github.com/pytorch/audio/pull/2911
      
      Reviewed By: carolineechen
      
      Differential Revision: D41887854
      
      Pulled By: mthrok
      
      fbshipit-source-id: eb91773ec67b4cda2d70733df450956d83742509
      eb8b1bda
    • Moto Hira's avatar
      Fix duplicated memory allocation in StreamWriter (#2906) · 90c456de
      Moto Hira authored
      Summary:
      Pull Request resolved: https://github.com/pytorch/audio/pull/2906
      
      The correct way to create AVFormatContext* for output is to pass an address of an uninitialized *AVFormatContext struct to `avformat_alloc_output_context2` function.
      
      The current code pre-allocates AVFormatContext* with `avformat_alloc_context`, then this allocated object is lost inside of `avformat_alloc_output_context2`.
      
      Reviewed By: xiaohui-zhang
      
      Differential Revision: D41865685
      
      fbshipit-source-id: 9a9dc83b5acfe9b450f191fe716c85ebb5a5d842
      90c456de
    • Moto Hira's avatar
      Fix wrong frame allocation in StreamWriter (#2905) · 3518df48
      Moto Hira authored
      Summary:
      Pull Request resolved: https://github.com/pytorch/audio/pull/2905
      
      In StreamWriter, if the tensor format is different from the encoding format, then a FilterGraph object is automatically inserted to convert the format.
      
      The FilterGraph object operates on AVFrames. The input AVFrame must be allocated by us, but the output AVFrames is filled by FilterGraph, thus no need to allocate it.
      
      Now the output AVFrame is used as input to encoder regardless of whether FilterGraph was inserted. Thus the output AVFrame has to be manually allocated by us when FilterGraph is not used.
      
      The current code flips this condition and incorrectly allocates AVFrame when FilterGraph is present and does not allocate otherwise.
      
      This commit fix that.
      
      Reviewed By: xiaohui-zhang
      
      Differential Revision: D41866198
      
      fbshipit-source-id: 40799c147dc8166a979ecfb58ed8e502539a6aed
      3518df48
    • atalman's avatar
      Toggle on/off ffmpeg test if needed (#2901) · ccda545c
      atalman authored
      Summary:
      Toggle on/off ffmpeg test if needed
      By default it ON, hence should not affect any current tests.
      To toggle ON no change required.
      To toggle OFF use:
      ```
      smoke_test.py --no-ffmpeg
      ```
      
      To be used when calling from builder currently. Since we do not install ffmpeg currently.
      
      Pull Request resolved: https://github.com/pytorch/audio/pull/2901
      
      Reviewed By: carolineechen, mthrok
      
      Differential Revision: D41874976
      
      Pulled By: atalman
      
      fbshipit-source-id: c57b19f37c63a1f476f93a5211550e980e67d9c7
      ccda545c
  2. 08 Dec, 2022 4 commits
  3. 07 Dec, 2022 3 commits
  4. 06 Dec, 2022 1 commit
  5. 04 Dec, 2022 1 commit
  6. 02 Dec, 2022 1 commit
  7. 30 Nov, 2022 2 commits
  8. 29 Nov, 2022 5 commits
  9. 28 Nov, 2022 3 commits
  10. 19 Nov, 2022 1 commit
  11. 18 Nov, 2022 2 commits
  12. 17 Nov, 2022 4 commits
  13. 16 Nov, 2022 2 commits
  14. 15 Nov, 2022 3 commits
  15. 14 Nov, 2022 2 commits
  16. 13 Nov, 2022 1 commit
  17. 11 Nov, 2022 1 commit
    • DanilBaibak's avatar
      Add nova workflow for MacOS and Linux (#2800) · eabf1a13
      DanilBaibak authored
      Summary:
      Added missed build workflows for MacOS and Linux:
      
      - [x] Linux conda
      - [x] MacOS conda
      
      This does not change the existing builds/uploads in CircleCI, and should not break any existing jobs/workflows. This is just to add back workflows for the MacOS and Linux conda builds with Nova.
      
      We will create a workflow (most likely in test-infra) that does this comparison between the binaries to ensure there is parity between the binaries before we start uploading with Nova.
      
      Pull Request resolved: https://github.com/pytorch/audio/pull/2800
      
      Reviewed By: osalpekar
      
      Differential Revision: D41181467
      
      Pulled By: DanilBaibak
      
      fbshipit-source-id: a5c5d4dcfdd778b4045203f6016c20fb42daa01b
      eabf1a13