1. 18 Sep, 2023 1 commit
  2. 11 Jan, 2023 1 commit
  3. 21 Oct, 2022 1 commit
    • Joao Gomes's avatar
      Read video from memory newapi (#6771) · 06ad05fa
      Joao Gomes authored
      * add tensor as optional param
      
      * add init from memory
      
      * fix bug
      
      * fix bug
      
      * first working version
      
      * apply formatting and add tests
      
      * simplify tests
      
      * fix tests
      
      * fix wrong variable name
      
      * add path as optional parameter
      
      * add src as optional
      
      * address pr comments
      
      * Fix warning messages
      
      * address pr comments
      
      * make tests stricter
      
      * Revert "make tests stricter"
      
      This reverts commit 6c92e94e8372f381c9496c9f885c2c71b6a4356b.
      06ad05fa
  4. 27 Jul, 2022 1 commit
  5. 21 Dec, 2021 1 commit
    • Kai Zhang's avatar
      Log io usage (#5038) · da7680f0
      Kai Zhang authored
      * add api usage log for io
      
      * cover VideoReader
      
      * cover c++ APIs
      
      * add api usage log for io
      
      * cover VideoReader
      
      * cover c++ APIs
      
      * add _cpp suffix to c++ APIs
      
      * use new API and change cpp format
      
      * remove _cpp suffix
      
      * adopt new API
      
      * lint
      da7680f0
  6. 14 Dec, 2021 1 commit
  7. 03 Nov, 2021 1 commit
    • Bruno Korbar's avatar
      Fast seek implementation (#3179) · 4ccef06c
      Bruno Korbar authored
      
      
      * modify processPacket to support fast seek
      
      * add fastSeek to ProcessPacket decoder definition
      
      * add fastseek flag to DecoderParametersStruct
      
      * add fastseek flag to the process packet call
      
      * no default params in C++ implementation
      
      * enable flag in C++ implementation
      
      * make order of parameters more normal
      
      * register new seek with python api
      
      * [somewhat broken] test suite for keyframes using pyav
      
      * revert " changes
      
      * add type annotations to init
      
      * Adding tests
      
      * linter
      
      * Flake doesn't show up :|
      
      * Change from unitest to pytest syntax
      
      * add return type
      Co-authored-by: default avatarPrabhat Roy <prabhatroy@fb.com>
      4ccef06c
  8. 18 Oct, 2021 1 commit
  9. 31 Mar, 2021 1 commit
  10. 24 Mar, 2021 1 commit
  11. 10 Mar, 2021 1 commit
  12. 12 Feb, 2021 1 commit
  13. 28 Jan, 2021 1 commit
    • Vasilis Vryniotis's avatar
      Restructure the video/video_reader C++ codebase (#3311) · e95a3d22
      Vasilis Vryniotis authored
      * Moving registration of video methods in Video.cpp and removing unnecessary includes.
      
      * Rename files according to cpp styles.
      
      * Adding namespaces and moving private methods to anonymous namespaces.
      
      * Syncing method names.
      
      * Fixing minor issues.
      e95a3d22
  14. 22 Jan, 2021 1 commit
  15. 10 Dec, 2020 1 commit
    • Vasilis Vryniotis's avatar
      Restructuring C++ project: (#3146) · 7d831a2f
      Vasilis Vryniotis authored
      Summary:
      * Reduce unnecessary header inclusions in models and io.
      
      * Move autocast to separate folder and hide autograd implementation in an anonymous namespace.
      
      * Moving files in subfolders.
      
      Reviewed By: fmassa
      
      Differential Revision: D25461523
      
      fbshipit-source-id: 756eeb6848aacaa474de4825ed4c1045d17e2cea
      7d831a2f
  16. 16 Nov, 2020 1 commit
  17. 30 Oct, 2020 1 commit
    • vfdev's avatar
      Fixes #2932 (#2937) · c9d9e67e
      vfdev authored
      - Replaced tuple creation by one acceptable by majority of compilers
      c9d9e67e
  18. 14 Oct, 2020 1 commit
    • Edgar Andrés Margffoy Tuay's avatar
      Fix wheel relocation issues (#2777) · 4db3dc6d
      Edgar Andrés Margffoy Tuay authored
      
      
      * [DEBUG] Check wheel relocation issues
      
      * Call delocate on Mac
      
      * Use yum instead of conda
      
      * Do not copy ffmpeg dylibs
      
      * Linux dry run
      
      * Do not download FFmpeg on Mac
      
      * Install bzip2
      
      * Restore FFmpeg on Windows
      
      * Remove ffmpeg temporarily
      
      * Do not remove dependencies
      
      * Disable FFmpeg temporarily on Linux wheels
      
      * Test relocation in Linux
      
      * Add docstring
      
      * Call relocation script
      
      * Minor error correction
      
      * Import auditwheel only on Linux
      
      * Restore ffmpeg again on Windows
      
      * Return *device
      
      * Try fix Windows
      
      * Fix clang-format
      
      * Start windows patchwork
      
      * Copy all DLLs
      
      * Disable FFmpeg on Windows for now
      
      * Bugfix
      Co-authored-by: default avatarFrancisco Massa <fvsmassa@gmail.com>
      4db3dc6d
  19. 13 Oct, 2020 1 commit
    • vfdev's avatar
      Added rois shape check in C++ (#2794) · b8e93084
      vfdev authored
      * Added rois shape check in C++
      
      * Fixes code formatting
      
      * Remove accidental include
      
      * - Updated code according to the review
      - Replaced old AT_ASSERT/ERROR by new TORCH_CHECK
      b8e93084
  20. 07 Oct, 2020 1 commit
    • Bruno Korbar's avatar
      (WIP) Initial implementation of the new videoReader API (#2683) · 87c78641
      Bruno Korbar authored
      
      
      * adding base files
      
      * setup modification to actually build the thing
      
      * video api constructor registration
      
      * FAIL metadata
      
      * FAIL update for QS
      
      * revert
      
      * debugging with Victor
      
      * adding base files
      
      * setup modification to actually build the thing
      
      * video api constructor registration
      
      * FAIL metadata
      
      * FAIL update for QS
      
      * revert
      
      * debugging with Victor
      
      * metadata registration works
      
      * API build next
      
      * test
      
      * Merge change
      
      * formatting parameters to avoid the segfault
      
      * next now works on a video
      
      * make size of the output tensor format dependent
      
      * Make next work on audio stream only as well
      
      * refactoring the _setCurrentStream param
      
      * Fixing the last frame return and sensor
      
      * todo docs
      
      * Formatting
      
      * cleanup and comments
      
      * introducing new tests for the API
      
      * cleanup
      
      * Comment out unnecesary format (will add following FFMPEG fix)
      
      * Reformat parsing function
      
      * removing the seek bug `get_decoder_params`
      
      * Removing unnecessary code/variables
      
      * enforce RGB24 as a reading format (will crash before ffmpeg fix)
      
      * permute the dimensions to return (RGB x H x W)
      
      * Changing the return type to std::tuple<torch::Tensor, double> as opposed to tensor list
      
      * Adjusting tests for the new return type
      
      * remove unnecessary jitter
      
      * clangangangang
      
      * Metadata return changes (#1)
      
      * remove implicit calls to set a current stream (#2)
      
      * Adding new tests to check the accuracy of the seek
      
      * cleanup debugging statements
      
      * adding base files
      
      * setup modification to actually build the thing
      
      * video api constructor registration
      
      * FAIL metadata
      
      * FAIL update for QS
      
      * revert
      
      * debugging with Victor
      
      * adding base files
      
      * video api constructor registration
      
      * FAIL metadata
      
      * FAIL update for QS
      
      * revert
      
      * debugging with Victor
      
      * metadata registration works
      
      * API build next
      
      * test
      
      * Merge change
      
      * formatting parameters to avoid the segfault
      
      * next now works on a video
      
      * make size of the output tensor format dependent
      
      * Make next work on audio stream only as well
      
      * refactoring the _setCurrentStream param
      
      * Fixing the last frame return and sensor
      
      * todo docs
      
      * Formatting
      
      * cleanup and comments
      
      * introducing new tests for the API
      
      * cleanup
      
      * Comment out unnecesary format (will add following FFMPEG fix)
      
      * Reformat parsing function
      
      * removing the seek bug `get_decoder_params`
      
      * Removing unnecessary code/variables
      
      * enforce RGB24 as a reading format (will crash before ffmpeg fix)
      
      * permute the dimensions to return (RGB x H x W)
      
      * Changing the return type to std::tuple<torch::Tensor, double> as opposed to tensor list
      
      * Adjusting tests for the new return type
      
      * remove unnecessary jitter
      
      * clangangangang
      
      * Metadata return changes (#1)
      
      * remove implicit calls to set a current stream (#2)
      
      * Adding new tests to check the accuracy of the seek
      
      * cleanup debugging statements
      
      * Addressing PR comments
      
      * addressing Francisco's comments
      
      * CLANG build formatting
      
      * Updated testing to test against pyav for the video tensor reads
      
      * Formatting
      
      * remove pyav from pip deps and add it to conda build
      
      * add pyav and ffmeped to conda builds
      
      * Formatting?
      
      * Setting up linter once and for all hopefully
      
      * Testing pyav
      
      * Fix to 8.0.0
      
      * Try 6.2.0
      
      * See what happens with av from pip
      
      * Remove FFMPEG blocker
      
      * What is going on?
      
      * More tests
      
      * Forgot something
      
      * unblocker
      
      * Check if cache is messing up with things
      
      * Now try with different ffmpeg
      
      * Now try with different ffmpeg
      
      * Testing pyav
      
      * Fix to 8.0.0
      
      * Try 6.2.0
      
      * See what happens with av from pip
      
      * What is going on?
      
      * More tests
      
      * Forgot something
      
      * Check if cache is messing up with things
      
      * Now try with different ffmpeg
      
      * Now try with different ffmpeg
      
      * Do not install av
      
      * Test with ffmpeg 4.2
      
      * clean up video tests
      
      * cleaning up the tests a bit to better test partial reading
      
      * arrgh linter
      
      * Forgot the av test
      
      * forgot av test
      
      * checkout build files from master
      
      * revert circleci
      
      * addressing Franciscos comments
      
      * addressing Franciscos comments
      
      * Ignore ffmpeg in travis
      Co-authored-by: default avatarFrancisco Massa <fvsmassa@gmail.com>
      Co-authored-by: default avatarEdgar Andrés Margffoy Tuay <andfoy@gmail.com>
      87c78641