... | ... | @@ -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='CUDA') # use cuda with default options
|
|
|
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
|
|
|
```
|
|
|
|
... | ... | |