[FFmpeg-trac] #10047(undetermined:new): av1_nvenc bugs
FFmpeg
trac at avcodec.org
Sun Nov 20 20:33:17 EET 2022
#10047: av1_nvenc bugs
-------------------------------------+-------------------------------------
Reporter: Jacky | Owner: (none)
Koning |
Type: defect | Status: new
Priority: normal | Component:
| undetermined
Version: unspecified | Resolution:
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Comment (by James):
Regarding the second part, it's not a bug. The nvenc wrapper supports
yuv444p as input but not necessarily for all encoders and not necessarily
with your GPU. If you get "YUV444P not supported" it's because your GPU
returned an error when queried about NV_ENC_CAPS_SUPPORT_YUV444_ENCODE for
the current encoder (av1). It might work with h264 or hevc.
testsrc generates rgb24, but since nvenc doesn't support it, a scaler is
autoinserted to convert it to the closest supported format, in this case
yuv444p, which is then rejected by your GPU. You're better passing the
encoder the format you want and know it supports instead of relying on
autoinserted scalers somewhere in the filterchain. For AV1, use cuda
(decoders using nvdec/cuda hwaccel output it), d3d11 (same for d3d11va
hwaccel decoders), or yuv420p. With your command line example above,
"testsrc,format=yuv420p" will do it.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/10047#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list