... | ... | @@ -10,7 +10,7 @@ av.open(..., hwaccel=dict(type='CUDA', device='/dev/gpu0', ...)) # more options |
|
|
av.open(..., hwaccel=('CUDA', '/dev/gpu0')) # shortcut for type and driver
|
|
|
```
|
|
|
|
|
|
There are a few options:
|
|
|
There are a few options (look in `vendor/ffmpeg-4.2//libavutil/hwcontext_*.c`):
|
|
|
- `vaapi`: `connection_type`, `kernel_driver`, and `driver`;
|
|
|
- `qsv`: `child_device` (and maybe forwards `kernel_driver` and `driver` to `vaapi`??);
|
|
|
- `d3d11va`: `debug`.
|
... | ... | |