Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • P PyAV
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 37
    • Issues 37
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 26
    • Merge requests 26
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • PyAV
  • PyAV
  • Wiki
  • TODO HWAccel

TODO HWAccel · Changes

Page history
Updated TODO HWAccel (markdown) authored Oct 29, 2019 by Mike Boers's avatar Mike Boers
Hide whitespace changes
Inline Side-by-side
TODO-HWAccel.md
View page @ 539be1ce
...@@ -6,7 +6,7 @@ I like the idea of the `hwaccel` param to `av.open` to allow for some magic, e.g ...@@ -6,7 +6,7 @@ I like the idea of the `hwaccel` param to `av.open` to allow for some magic, e.g
av.open(..., hwaccel=True or 'auto') # automatically set up what it can. av.open(..., hwaccel=True or 'auto') # automatically set up what it can.
av.open(..., hwaccel='CUDA') # use cuda with default options av.open(..., hwaccel='CUDA') # use cuda with default options
av.open(..., hwaccel='/dev/gpu0') # use whatever device type with the given device av.open(..., hwaccel='/dev/gpu0') # use whatever device type with the given device
av.open(..., hwaccel=dict(type='CUDA', device='/dev/gpu0', ...)) # more options av.open(..., hwaccel=dict(device_type='CUDA', device='/dev/gpu0', ...)) # more options
av.open(..., hwaccel=('CUDA', '/dev/gpu0')) # shortcut for type and driver av.open(..., hwaccel=('CUDA', '/dev/gpu0')) # shortcut for type and driver
``` ```
......
Clone repository
  • GitHub Actions
  • Home
  • TODO Filters
  • TODO HWAccel
  • TODO _unsorted
  • TODO docs
  • TODO general
  • TODO time