diff options
author | Zhao Zhili <zhilizhao@tencent.com> | 2023-11-08 00:45:04 +0800 |
---|---|---|
committer | Zhao Zhili <zhilizhao@tencent.com> | 2023-11-15 01:20:11 +0800 |
commit | a1a6a328f0f58af23c174828775754b28ac64b2d (patch) | |
tree | 82e3d4d8a1aa979732178b9453292d04e55ac43b /fftools/Makefile | |
parent | 889a022cceea88072e3b9716af3d7c795728f5c5 (diff) | |
download | ffmpeg-a1a6a328f0f58af23c174828775754b28ac64b2d.tar.gz |
fftools/ffplay: add hwaccel decoding support
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
Signed-off-by: Zhao Zhili <zhilizhao@tencent.com>
Diffstat (limited to 'fftools/Makefile')
-rw-r--r-- | fftools/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fftools/Makefile b/fftools/Makefile index 56820e6bc8..3c763e3db9 100644 --- a/fftools/Makefile +++ b/fftools/Makefile @@ -22,6 +22,8 @@ OBJS-ffmpeg += \ fftools/sync_queue.o \ fftools/thread_queue.o \ +OBJS-ffplay += fftools/ffplay_renderer.o + define DOFFTOOL OBJS-$(1) += fftools/cmdutils.o fftools/opt_common.o fftools/$(1).o $(OBJS-$(1)-yes) ifdef HAVE_GNU_WINDRES |