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 /doc | |
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 'doc')
-rw-r--r-- | doc/ffplay.texi | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/ffplay.texi b/doc/ffplay.texi index 5dd860b846..93f77eeece 100644 --- a/doc/ffplay.texi +++ b/doc/ffplay.texi @@ -196,6 +196,18 @@ will produce a thread pool with this many threads available for parallel processing. The default is 0 which means that the thread count will be determined by the number of available CPUs. +@item -enable_vulkan +Use vulkan renderer rather than SDL builtin renderer. Depends on libplacebo. + +@item -vulkan_params + +Vulkan configuration using a list of @var{key}=@var{value} pairs separated by +":". + +@item -hwaccel +Use HW accelerated decoding. Enable this option will enable vulkan renderer +automatically. + @end table @section While playing |