diff options
author | Eugene Lyapustin <unishifft@gmail.com> | 2019-08-15 03:56:12 +0300 |
---|---|---|
committer | Kieran Kunhya <kierank@obe.tv> | 2019-08-19 09:06:27 +0100 |
commit | d044252aac77867271db3809ceda9bd07fdb3e43 (patch) | |
tree | d588357a851e93d310055207718ca1a1b6a84d50 /doc/filters.texi | |
parent | b26094e217d4d7cb9947d25f01c04badb8ba62dd (diff) | |
download | ffmpeg-d044252aac77867271db3809ceda9bd07fdb3e43.tar.gz |
avfilter/vf_v360: add padding option for cubemap
Signed-off-by: Eugene Lyapustin <unishifft@gmail.com>
Diffstat (limited to 'doc/filters.texi')
-rw-r--r-- | doc/filters.texi | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/doc/filters.texi b/doc/filters.texi index 7b03520ffa..599cb7a6f6 100644 --- a/doc/filters.texi +++ b/doc/filters.texi @@ -17917,6 +17917,20 @@ Cubemap with 3x2/6x1 layout. Format specific options: @table @option +@item in_pad +@item out_pad +Set padding proprtion for the input/output cubemap. Values in decimals. + +Example values: +@table @samp +@item 0 +No padding. +@item 0.01 +1% of face is padding. For example, with 1920x1280 resolution face size would be 640x640 and padding would be 3 pixels from each side. (640 * 0.01 = 6 pixels) +@end table + +Default value is @b{@samp{0}}. + @item in_forder @item out_forder Set order of faces for the input/output cubemap. Choose one direction for each position. @@ -18017,9 +18031,9 @@ Flip the output video horizontally/vertically/in-depth. Boolean values. @itemize @item -Convert equirectangular video to cubemap with 3x2 layout using bicubic interpolation: +Convert equirectangular video to cubemap with 3x2 layout and 1% padding using bicubic interpolation: @example -ffmpeg -i input.mkv -vf v360=e:c3x2:cubic output.mkv +ffmpeg -i input.mkv -vf v360=e:c3x2:cubic:out_pad=0.01 output.mkv @end example @item Extract back view of Equi-Angular Cubemap: |