1. 05 Jan, 2022 1 commit
    • moto's avatar
      Update ffmpeg discovery logic (#2124) · d8a65450
      moto authored
      Summary:
      Update ffmpeg discovery logic
      
      Previously the build process used pkg-config to locate
      an installation of ffmpeg, which does not work well Windows/CentOS.
      
      This commit update the discovery process to use the custom
      FindFFMPEG.cmake adopted from Kitware/VTK repository with addition of
      conda environment.
      
       The custom discovery logic can support Windows and CentOS.
      
      Pull Request resolved: https://github.com/pytorch/audio/pull/2124
      
      Reviewed By: carolineechen
      
      Differential Revision: D33429564
      
      Pulled By: mthrok
      
      fbshipit-source-id: 6cb50c1d8c58f51e0f3f3af5c5b541aa3a699bba
      d8a65450
  2. 04 Jan, 2022 1 commit
    • moto's avatar
      Adopt FindFFMPEG.cmake (#2125) · 6a470649
      moto authored
      Summary:
      Preparation for updating the build process of ffmpeg-related feature
      to support Windows.
      
      Checking-in FindFFMPEG.cmake from Kitware/VTK repo without modification
      so that later it's easy to follow our modification on it with git tool.
      
      Pull Request resolved: https://github.com/pytorch/audio/pull/2125
      
      Reviewed By: carolineechen
      
      Differential Revision: D33405408
      
      Pulled By: mthrok
      
      fbshipit-source-id: 5faea8940d2dfcf0b2f647eda3754f713d21fcd1
      6a470649