1. 01 Dec, 2020 1 commit
    • Francisco Massa's avatar
      Add option to write audio to video file (#2304) · 1b00af38
      Francisco Massa authored
      
      
      * Add option to write audio to video file
      
      Summary:
      I was trying to use torchvision's `write_video` function and realized there was no option to add in the audio.
      
      Thus, this diff contains the changes necessary such that this is possible. This is my first time trying to contribute to this project, so be as harsh as you need!
      
      Reviewed By: fmassa
      
      Differential Revision: D21480083
      
      fbshipit-source-id: 2e11f2c8728d42f86c94068f75b843793d5a94aa
      
      * Fix typo
      
      * Try fix Windows
      
      * Disable test on Windows
      Co-authored-by: default avatarJoanna Bitton <jbitton@fb.com>
      1b00af38
  2. 18 May, 2020 1 commit
  3. 05 May, 2020 1 commit
  4. 28 Apr, 2020 1 commit
  5. 01 Apr, 2020 1 commit
  6. 28 Jan, 2020 1 commit
  7. 16 Dec, 2019 1 commit
  8. 29 Oct, 2019 1 commit
  9. 23 Oct, 2019 1 commit
    • Francisco Massa's avatar
      Unify video backend (#1514) · 97b53f96
      Francisco Massa authored
      * Unify video backend interfaces
      
      * Remove reference cycle
      
      * Make functions private and enable tests on OSX
      
      * Disable test if video_reader backend not available
      
      * Lint
      
      * Fix import after refactoring
      
      * Fix lint
      97b53f96
  10. 21 Oct, 2019 1 commit
    • F-G Fernandez's avatar
      test: Updated asserts in test_io (#1496) · 371f6c8f
      F-G Fernandez authored
      * test: Updated asserts in test_io
      
      Updated all raw asserts to corresponding unittest.TestCase.assert. See #1483
      
      * test: Fixed test_io
      
      In order to use unittest.TestCase for asserts in temp_video, the object has to be passed itself to temp_video.
      
      * test: Updated asserts to AssertionError
      
      Switched initial raw assert to AssertionError.
      
      * test: Changed AssertionError for ValueError
      371f6c8f
  11. 15 Oct, 2019 1 commit
  12. 12 Oct, 2019 1 commit
  13. 30 Sep, 2019 1 commit
    • Chandresh Kanani's avatar
      modified code of io.read_video and io.read_video_timestamps to intepret pts... · 17e355f7
      Chandresh Kanani authored
      modified code of io.read_video and io.read_video_timestamps to intepret pts values in seconds (#1331)
      
      * modified code of io.read_video and io.read_video_timestamps to interpret pts values in seconds
      
      * changed default value for pts_unit to pts, corrected formatting
      
      * hanndliing both fractions and floats for start_pts and end_pts, added test cases for pts_unit sec
      
      * moved unit conversion logic to _read_from_stream method
      17e355f7
  14. 24 Sep, 2019 1 commit
  15. 09 Sep, 2019 1 commit
    • Francisco Massa's avatar
      Add CircleCI (v2) (#1298) · e4d50039
      Francisco Massa authored
      * [WIP] Add CircleCI for CI
      
      * Make jobs only run on master
      
      * Add initial CI
      
      * [wip] testing if works
      
      * Trying some basic GPU tests
      
      * [WIP] maybe it will work?
      
      * [WIP] One more try
      
      * Pin versions
      
      * Simplify and reuse
      
      * Fix
      
      * [WIP] testing windows
      
      * [WIP] testing windows
      
      * Try windows
      
      * Try Windows
      
      * Try windows
      
      * Try windows
      
      * Try windows
      
      * Try windows
      
      * Try windows
      
      * Try windows
      
      * Windows speedup
      
      * Windows multicores
      
      * Add parallel flags for Windows
      
      * Skip some tests on Windows
      
      * Sync config.yml and config.yml.in
      
      * Regenerate
      
      * Run all tests
      
      * Limit python and cuda version for finding pytorch
      
      * Skip darwin for previous check
      
      * Add description
      
      * Fix logic
      
      * Remove space
      
      * Add CUDA test back
      
      * Add back .travis.yml for now and remove duplicate test
      
      * Add newline
      e4d50039
  16. 07 Aug, 2019 1 commit
  17. 26 Jul, 2019 2 commits
  18. 24 Jul, 2019 1 commit
  19. 19 Jul, 2019 1 commit
    • Francisco Massa's avatar
      Add VideoClips and Kinetics dataset (#1077) · 5d1372c0
      Francisco Massa authored
      * Add VideoClips and Kinetics dataset
      
      * Lint + add back missing line
      
      * Adds ClipSampler following Bruno comment
      
      * Change name following Bruno's suggestion
      
      * Enable specifying a target framerate
      
      * Fix test_io for new interface
      
      * Add comment mentioning drop_last behavior
      
      * Make compute_clips more robust
      
      * Flake8
      
      * Fix for Python2
      5d1372c0
  20. 02 Jul, 2019 1 commit
    • Francisco Massa's avatar
      Adds video reading / saving functionalities (#1039) · d293c4c5
      Francisco Massa authored
      * WIP
      
      * WIP
      
      * Add some documentation
      
      * Improve tests and add GC collection
      
      * [WIP] add timestamp getter
      
      * Bugfixes
      
      * Improvements and travis
      
      * Add audio fine-grained alignment
      
      * More doc
      
      * Remove unecessary file
      
      * Remove comment
      
      * Lazy import av
      
      * Remove hard-coded constants for the test
      
      * Return info stats from read
      
      * Fix for Python-2
      d293c4c5