mirror of https://git.ffmpeg.org/ffmpeg.git
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.
This commit is contained in:
parent
4fa691b761
commit
54126920fc
|
@ -16369,6 +16369,12 @@ since otherwise the VRAM roundtrip will more than offset any expected speedup.
|
||||||
@example
|
@example
|
||||||
ffmpeg -export_side_data +film_grain ... -vf libplacebo=apply_filmgrain=true
|
ffmpeg -export_side_data +film_grain ... -vf libplacebo=apply_filmgrain=true
|
||||||
@end example
|
@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
|
@end itemize
|
||||||
|
|
||||||
@section libvmaf
|
@section libvmaf
|
||||||
|
|
Loading…
Reference in New Issue