| three different types of decoding behavior
| are supported
|
| 0: do temporal jittering to sample
| a random clip from the video
|
| 1: uniformly sample multiple clips
| from the video;
|
| 2: sample a clip from a given starting
| frame
|
| 3: for xray video service
|
| Four different types of optical flow
| algorithms supported;
|
| BroxOpticalFlow doesn’t have a CPU
| version;
|
| DensePyrLKOpticalFlow only has sparse
| CPU version;
|
| Define different types of optical flow
| data type
|
| 0: original two channel optical flow
|
| 1: three channel optical flow with
| magnitude as the third channel
|
| 2: two channel optical flow + one channel
| gray
|
| 3: two channel optical flow + three
| channel rgb
|
| enum to specify 3 special fps sampling
| behaviors: 0: disable fps sampling,
| no frame sampled at all
|
| -1: unlimited fps sampling, will sample
| at native video fps
|
| -2: disable fps sampling, but will get
| the frame at specific timestamp
|
| three different types of resolution
| when decoding the video
|
| 0: resize to width x height and ignore
| the aspect ratio;
|
| 1: resize to short_edge and keep the
| aspect ratio;
|
| 2: using the original resolution of
| the video; if resolution is smaller
| than crop_size x crop_size, resize
| to crop_size and keep the aspect ratio;
|
| 3: for xray video service
|