Skip to content

Instantly share code, notes, and snippets.

@zacck-zz
Created December 5, 2016 11:35
Show Gist options
  • Save zacck-zz/666b6a08cbb49a26a98c237c467b4988 to your computer and use it in GitHub Desktop.
Save zacck-zz/666b6a08cbb49a26a98c237c467b4988 to your computer and use it in GitHub Desktop.
Filter transform
Transforms equirectangular input video to the other format.
Inputs:
#0: default (video)
Outputs:
#0: default (video)
transform AVOptions:
w <string> ..FV.... Output video width (default "0")
width <string> ..FV.... Output video width (default "0")
h <string> ..FV.... Output video height (default "0")
height <string> ..FV.... Output video height (default "0")
cube_edge_length <int> ..FV.... Length of a cube edge (for cubic transform, overrides w and h, default 0 for off) (from 0 to 16384) (default 0)
max_cube_edge_length <int> ..FV.... Max length of a cube edge (for cubic transform, overrides w, h, and cube_edge_length, default 0 for off) (from 0 to 16384) (default 0)
input_stereo_format <int> ..FV.... Input video stereo format (from 0 to 3) (default GUESS)
TB ..FV....
LR ..FV....
MONO ..FV....
GUESS ..FV....
tb ..FV....
lr ..FV....
mono ..FV....
guess ..FV....
output_layout <int> ..FV.... Output video layout format (from 0 to 8) (default CUBEMAP_32)
CUBEMAP ..FV....
CUBEMAP_32 ..FV....
CUBEMAP_180 ..FV....
PLANE_POLES ..FV....
PLANE_POLES_6 ..FV....
PLANE_POLES_CUBEMAP ..FV....
PLANE_CUBEMAP ..FV....
PLANE_CUBEMAP_32 ..FV....
FLAT_FIXED ..FV....
cubemap ..FV....
cubemap_32 ..FV....
cubemap_180 ..FV....
plane_poles ..FV....
plane_poles_6 ..FV....
plane_poles_cubemap ..FV....
plane_cubemap ..FV....
plane_cubemap_32 ..FV....
flat_fixed ..FV....
vflip <int> ..FV.... Output video 2nd eye vertical flip (true, false) (from 0 to 1) (default false)
false ..FV....
true ..FV....
main_plane_ratio <float> ..FV.... Output video main plain ratio for PLANE_POLES format (0.88888) (from 0 to 1) (default 0.888889)
expand_coef <float> ..FV.... Expansion coeffiecient for each face in cubemap (default 1.01) (from 0 to 10) (default 1.01)
w_subdivisions <int> ..FV.... Number of horizontal per-pixel subdivisions for better downsampling (default 8) (from 1 to 8) (default 8)
h_subdivisions <int> ..FV.... Number of vertical per-pixel subdivisions for better downsampling (default 8) (from 1 to 8) (default 8)
yaw <float> ..FV.... View orientation for flat_fixed projection, degrees (from -360 to 360) (default 0)
pitch <float> ..FV.... View orientation for flat_fixed projection, degrees (from -90 to 90) (default 0)
hfov <float> ..FV.... Horizontal field of view for flat_fixed projection, degrees (default 120) (from -360 to 360) (default 120)
vfov <float> ..FV.... Vertical field of view for flat_fixed projection, degrees (default 110) (from -180 to 180) (default 110)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment