[FFmpeg-devel] [PATCH v6] fftools/ffplay: add hwaccel decoding support
Zhao Zhili
quinkblack at foxmail.com
Sun Nov 12 17:25:37 EET 2023
> -----Original Message-----
> From: Zhao Zhili <quinkblack at foxmail.com>
> Sent: 2023年11月9日 21:06
> To: FFmpeg development discussions and patches <ffmpeg-devel at ffmpeg.org>
> Subject: Re: [FFmpeg-devel] [PATCH v6] fftools/ffplay: add hwaccel decoding support
>
> Ping. v6 didn’t changed much compare to v5.
>
> > On Nov 8, 2023, at 00:45, Zhao Zhili <quinkblack at foxmail.com> wrote:
> >
> > From: Zhao Zhili <zhilizhao at tencent.com>
> >
> > Add vulkan renderer via libplacebo.
> >
> > Simple usage:
> > $ ffplay -hwaccel vulkan foo.mp4
> >
> > Use cuda to vulkan map:
> > $ ffplay -hwaccel cuda foo.mp4
> >
> > Create vulkan instance by libplacebo, and enable debug:
> > $ ffplay -hwaccel vulkan \
> > -vulkan_params create_by_placebo=1:debug=1 foo.mp4
> > ---
> > v6:
> > 1. check PL_API_VER >= 278
> > 2. check hwctx->get_proc_addr against SDL_Vulkan_GetVkGetInstanceProcAddr()
> >
> > v5:
> > 1. add vulkan_params option.
> > 2. vulkan instance can be create by hwcontext or libplacebo.
> >
> > v4: add more optional extensions
> > v3: shared vulkan instance between libplacebo and hwcontext
> >
> > configure | 2 +-
> > doc/ffplay.texi | 12 +
> > fftools/Makefile | 2 +
> > fftools/ffplay.c | 96 ++++-
> > fftools/ffplay_renderer.c | 824 ++++++++++++++++++++++++++++++++++++++
> > fftools/ffplay_renderer.h | 41 ++
> > 6 files changed, 971 insertions(+), 6 deletions(-)
> > create mode 100644 fftools/ffplay_renderer.c
> > create mode 100644 fftools/ffplay_renderer.h
I'm planning to push this week if no objection.
More information about the ffmpeg-devel
mailing list