diff options
author | Niklas Haas <git@haasn.dev> | 2023-04-22 21:30:48 +0200 |
---|---|---|
committer | Niklas Haas <git@haasn.dev> | 2023-04-26 15:36:10 +0200 |
commit | 54126920fcbf4dd2021fedac143f83e9dc419a5f (patch) | |
tree | 9940eb28e4b5ef8d9689254d8ea7733316fe3d3d /doc | |
parent | 4fa691b761202f5e1d71f15f3645fa4ee6e1ff84 (diff) | |
download | ffmpeg-54126920fcbf4dd2021fedac143f83e9dc419a5f.tar.gz |
doc/filters/libplacebo: add vaapi interop example
Some testing revealed this to be a very efficient and reliable method of
ingesting GPU frames into libplacebo, so it's a good idea to give as an
example.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/filters.texi | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/filters.texi b/doc/filters.texi index 011b1bbc62..5dde79919a 100644 --- a/doc/filters.texi +++ b/doc/filters.texi @@ -16369,6 +16369,12 @@ since otherwise the VRAM roundtrip will more than offset any expected speedup. @example ffmpeg -export_side_data +film_grain ... -vf libplacebo=apply_filmgrain=true @end example + +@item +Interop with VAAPI hwdec to avoid round-tripping through RAM: +@example +ffmpeg -init_hw_device vulkan -hwaccel vaapi -hwaccel_output_format vaapi ... -vf libplacebo +@end example @end itemize @section libvmaf |