summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorNiklas Haas <git@haasn.dev>2023-05-10 14:42:22 +0200
committerNiklas Haas <git@haasn.dev>2023-05-14 11:21:43 +0200
commit30c71ef98e6b0d3b5d303388a81676a5bd963227 (patch)
tree3cd00effb32fc018fe1d9ec69dccf2f7baf9f9bb /doc
parent02f3b9312a99c4ea58211b1ee3d1cb41d04255b8 (diff)
downloadffmpeg-30c71ef98e6b0d3b5d303388a81676a5bd963227.tar.gz
lavfi/vf_libplacebo: add frame_mixer option
Fairly straightforward. We just need to modify the scaler handling code slightly to support looking at a different list of filter presets.
Diffstat (limited to 'doc')
-rw-r--r--doc/filters.texi31
1 files changed, 31 insertions, 0 deletions
diff --git a/doc/filters.texi b/doc/filters.texi
index 70bb0996d3..9ada73bab0 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -16177,6 +16177,31 @@ Cubic BC spline with parameters recommended by Mitchell and Netravali. Very
little ringing.
@end table
+@item frame_mixer
+Controls the kernel used for mixing frames temporally. The default value is
+@code{none}, which disables frame mixing. For a full list of possible values,
+pass @code{help} to this option. The most important values are:
+@table @samp
+@item none
+Disables frame mixing, giving a result equivalent to "nearest neighbour"
+semantics.
+
+@item oversample
+Oversamples the input video to create a "Smooth Motion"-type effect: if an
+output frame would exactly fall on the transition between two video frames, it
+is blended according to the relative overlap. This is the recommended option
+whenever preserving the original subjective appearance is desired.
+
+@item mitchell_clamp
+Larger filter kernel that smoothly interpolates multiple frames in a manner
+designed to eliminate ringing and other artefacts as much as possible. This is
+the recommended option wherever maximum visual smoothness is desired.
+
+@item linear
+Linear blend/fade between frames. Especially useful for constructing e.g.
+slideshows.
+@end table
+
@item lut_entries
Configures the size of scaler LUTs, ranging from @code{1} to @code{256}. The
default of @code{0} will pick libplacebo's internal default, typically
@@ -16535,6 +16560,12 @@ libplacebo=w=1920:h=1080:force_original_aspect_ratio=decrease:normalize_sar=true
@end example
@item
+Interpolate low FPS / VFR input to smoothed constant 60 fps output:
+@example
+libplacebo=fps=60:frame_mixer=mitchell_clamp
+@end example
+
+@item
Convert input to standard sRGB JPEG:
@example
libplacebo=format=yuv420p:colorspace=bt470bg:color_primaries=bt709:color_trc=iec61966-2-1:range=pc