[FFmpeg-devel] [PATCH v2 2/2] fftools/ffplay: add hwaccel decoding support

Lynne dev at lynne.ee
Thu Oct 19 06:31:46 EEST 2023


Oct 18, 2023, 18:55 by quinkblack at foxmail.com:

> From: Zhao Zhili <zhilizhao at tencent.com>
>
> ---
>  fftools/ffplay.c          |  30 ++++++++++
>  fftools/ffplay_renderer.c | 117 ++++++++++++++++++++++++++++++++++++++
>  2 files changed, 147 insertions(+)
>

This patch doesn't look correct, libplacebo and lavc have to
share the same Vulkan device.
Either create a hwcontext vulkan device and import it into libplacebo,
which you would then use for decoding, or use libplacebo's context and
initialize a lavu hwcontext from it.


More information about the ffmpeg-devel mailing list