1. 06 Jun, 2024 1 commit
  2. 29 May, 2024 1 commit
  3. 08 May, 2024 1 commit
  4. 17 Mar, 2024 1 commit
  5. 13 Mar, 2024 1 commit
  6. 05 Mar, 2024 1 commit
  7. 20 Dec, 2023 1 commit
  8. 20 Nov, 2023 1 commit
  9. 21 Aug, 2023 1 commit
  10. 30 Jan, 2023 1 commit
  11. 11 Jan, 2023 1 commit
  12. 29 Nov, 2022 1 commit
  13. 25 Nov, 2022 1 commit
  14. 21 Nov, 2022 1 commit
    • Joao Gomes's avatar
      [FBcode->GH] Cherrypick bkorbar pyavapi (#6963) · c00b9531
      Joao Gomes authored
      
      
      * [fbsync] Bkorbar/pyavapi (#6943)
      
      Summary:
      * Test: add backend parameter
      
      * VideoReader object now works on backend
      
      * Frame reading now passes
      
      * Keyframe seek now passes
      
      * Pyav backend now supports metadata
      
      * changes in test to reflect GPU decoder change
      
      * Linter?
      
      * Test GPU output
      
      * Addressing Joao's comments
      
      * lint
      
      * lint
      
      * Revert "Test GPU output"
      
      This reverts commit f62e955d7dc81bcb23b40d58ea75413b9b62e76d.
      
      * lint?
      
      * lint
      
      * lint
      
      * Address issues in build?
      
      * hopefully doc fix
      
      * Arrgh
      
      * arrgh
      
      * fix typos
      
      * fix input options
      
      * remove read from memory option in pyav
      
      * skip read from mem test for gpu and pyab be
      
      * fix test
      
      * remove unused import
      
      * Hack to get reading from memory work with pyav
      
      * patch audio test
      
      * gallery change in a hope that docs won't break
      
      * check video decoder inside io
      
      * adding missing lib loading code
      
      * remove unused input
      
      Reviewed By: YosuaMichael
      
      Differential Revision: D41376278
      
      fbshipit-source-id: 1575f63a524227e69187990d88973fc50f705217
      Co-authored-by: default avatarBruno Korbar <bkorbar@quansight.com>
      Co-authored-by: default avatarJoao Gomes <jdsgomes@fb.com>
      
      * cherrypick chages made during fbsync
      Co-authored-by: default avatarJoao Gomes <jdsgomes@meta.com>
      Co-authored-by: default avatarBruno Korbar <bkorbar@quansight.com>
      c00b9531
  15. 17 Nov, 2022 1 commit
    • Bruno Korbar's avatar
      Bkorbar/pyavapi (#6943) · d710f3d1
      Bruno Korbar authored
      
      
      * Test: add backend parameter
      
      * VideoReader object now works on backend
      
      * Frame reading now passes
      
      * Keyframe seek now passes
      
      * Pyav backend now supports metadata
      
      * changes in test to reflect GPU decoder change
      
      * Linter?
      
      * Test GPU output
      
      * Addressing Joao's comments
      
      * lint
      
      * lint
      
      * Revert "Test GPU output"
      
      This reverts commit f62e955d7dc81bcb23b40d58ea75413b9b62e76d.
      
      * lint?
      
      * lint
      
      * lint
      
      * Address issues in build?
      
      * hopefully doc fix
      
      * Arrgh
      
      * arrgh
      
      * fix typos
      
      * fix input options
      
      * remove read from memory option in pyav
      
      * skip read from mem test for gpu and pyab be
      
      * fix test
      
      * remove unused import
      
      * Hack to get reading from memory work with pyav
      
      * patch audio test
      
      * gallery change in a hope that docs won't break
      
      * check video decoder inside io
      
      * adding missing lib loading code
      
      * remove unused input
      Co-authored-by: default avatarBruno Korbar <bkorbar@quansight.com>
      Co-authored-by: default avatarJoao Gomes <jdsgomes@fb.com>
      d710f3d1
  16. 04 Nov, 2022 1 commit
  17. 31 Oct, 2022 1 commit
    • Bruno Korbar's avatar
      Pyav backend for VideoReader API (#6598) · 2e833520
      Bruno Korbar authored
      
      
      * Test: add backend parameter
      
      * VideoReader object now works on backend
      
      * Frame reading now passes
      
      * Keyframe seek now passes
      
      * Pyav backend now supports metadata
      
      * changes in test to reflect GPU decoder change
      
      * Linter?
      
      * Test GPU output
      
      * Addressing Joao's comments
      
      * lint
      
      * lint
      
      * Revert "Test GPU output"
      
      This reverts commit f62e955d7dc81bcb23b40d58ea75413b9b62e76d.
      
      * lint?
      
      * lint
      
      * lint
      
      * Address issues in build?
      
      * hopefully doc fix
      
      * Arrgh
      
      * arrgh
      
      * fix typos
      
      * fix input options
      
      * remove read from memory option in pyav
      
      * skip read from mem test for gpu and pyab be
      
      * fix test
      
      * remove unused import
      
      * Hack to get reading from memory work with pyav
      
      * patch audio test
      Co-authored-by: default avatarBruno Korbar <bkorbar@quansight.com>
      Co-authored-by: default avatarJoao Gomes <jdsgomes@fb.com>
      2e833520
  18. 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
  19. 04 Oct, 2022 1 commit
    • Joao Gomes's avatar
      fix bug in output format for pyav (#6672) · d427f365
      Joao Gomes authored
      * fix bug in output format for pyav
      
      * add read from memory with constructor overload
      
      * Revert "add read from memory with constructor overload"
      
      This reverts commit 14cbbab239165be05096fd6cbb88cb0448502436.
      
      * run ufmt
      d427f365
  20. 23 Sep, 2022 1 commit
  21. 22 Jul, 2022 1 commit
  22. 14 Jun, 2022 1 commit
  23. 23 May, 2022 1 commit
  24. 20 May, 2022 1 commit
  25. 01 Apr, 2022 1 commit
  26. 15 Mar, 2022 1 commit
  27. 01 Mar, 2022 2 commits
  28. 25 Feb, 2022 2 commits
  29. 24 Jan, 2022 2 commits
  30. 19 Jan, 2022 1 commit
  31. 10 Jan, 2022 1 commit
  32. 30 Dec, 2021 1 commit
    • Prabhat Roy's avatar
      Add video GPU decoder (#5019) · 64d21d12
      Prabhat Roy authored
      
      
      * [WIP] Add video GPU decoder
      
      * Expose use_dev_frame to python class and handle it internally
      
      * Fixed invalid argument CUDA error
      
      * Fixed empty and missing frames
      
      * Free remaining frames in the queue
      
      * Added nv12 to yuv420 conversion support for host frames
      
      * Added unit test and cleaned up code
      
      * Use CUDA_HOME inside if
      
      * Undo commented out code
      
      * Add Readme
      
      * Remove output_format and use_device_frame optional arguments from the VideoReader API
      
      * Cleaned up init()
      
      * Fix warnings
      
      * Fix python linter errors
      
      * Fix linter issues in setup.py
      
      * clang-format
      
      * Make reformat private
      
      * Member function naming
      
      * Add comments
      
      * Variable renaming
      
      * Code cleanup
      
      * Make return type of decode() void
      
      * Replace printing errors with throwing runtime_error
      
      * Replaced runtime_error with TORCH_CHECK in demuxer.h
      
      * Use CUDAGuard instead of cudaSetDevice
      
      * Remove printf
      
      * Use Tensor instead of uint8* and remove cuMemAlloc/cuMemFree
      
      * Use TORCH_CHECK instead of runtime_error
      
      * Use TORCHVISION_INCLUDE and TORCHVISION_LIBRARY to pass video codec location
      
      * Include ffmpeg_include_dir
      
      * Remove space
      
      * Removed use of runtime_error
      
      * Update Readme
      
      * Check for bsf.h
      
      * Change struct initialisation style
      
      * Clean-up get_operating_point
      
      * Make variable naming convention uniform
      
      * Move checking for bsf.h around
      
      * Fix linter error
      Co-authored-by: default avatarFrancisco Massa <fvsmassa@gmail.com>
      64d21d12
  33. 27 Dec, 2021 1 commit
  34. 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
  35. 13 Dec, 2021 1 commit
  36. 05 Dec, 2021 1 commit
  37. 17 Nov, 2021 1 commit
    • F-G Fernandez's avatar
      Added typing annotations to io/_video_opts (#4173) · 29e0f66a
      F-G Fernandez authored
      
      
      * style: Added typing annotations
      
      * style: Fixed lint
      
      * style: Fixed typing
      
      * chore: Updated mypy.ini
      
      * style: Fixed typing
      
      * chore: Updated mypy.ini
      
      * style: Fixed typing compatibility with jit
      
      * style: Fixed typing
      
      * style: Fixed typing
      
      * style: Fixed missing import
      
      * style: Fixed typing of __iter__
      
      * style: Fixed typing
      
      * style: Fixed lint
      
      * style: Finished typing
      
      * style: ufmt the file
      
      * style: Removed unnecessary typing
      
      * style: Fixed typing of iterator
      Co-authored-by: default avatarPhilip Meier <github.pmeier@posteo.de>
      Co-authored-by: default avatarPrabhat Roy <prabhatroy@fb.com>
      29e0f66a