Commit 472d5a5
committed
ffmpeg: Introduce 'cuda' hwaccel and deprecate 'cuvid'
We want to switch to using the generic hwaccel codepath but doing that
introduces a requirement to pass '-hwaccel_output_format cuda' on the
command line to turn on full transcoding.
That breaks compatibility, so we'd rather deprecate than cut over
directly.
But this change doesn't seem to be working. I can specify one of
the two hwaccels but the 'cuda' one doesn't seem to work. The context
does not get shared between the decoder and encoder. If I reverse
the declaration order of the two hwaccels, then 'cuda' works and
'cuvid' does not (cuvid_init isn't even called). I assume this is
related to having both of them say they handle the same pix_fmt.1 parent 1edbf5e commit 472d5a5
3 files changed
+9
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| 70 | + | |
70 | 71 | | |
71 | 72 | | |
72 | 73 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
36 | 42 | | |
37 | 43 | | |
38 | 44 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
| 96 | + | |
| 97 | + | |
96 | 98 | | |
97 | 99 | | |
98 | 100 | | |
| |||
0 commit comments