Closed Hlongyu closed 6 months ago
Did I misunderstand something? I thought this library could render any format of FFmpeg frames, including hardware frames.
Of course not, libplacebo does not have header file support for hardware-related APIs.
I checked the MPV source code and found that need to call the hardware map.
Edited: Add link https://github.com/mpv-player/mpv/blob/master/video/out/hwdec/hwdec_cuda.c
VAAPI needs DMABUF support:
compile log https://github.com/haasn/libplacebo/issues/268
It's seem all hw_pix_fmt failed with desc->nb_componetns == 0.
Did I misunderstand something? I thought this library could render any format of FFmpeg frames, including hardware frames.