Skip to content

FindVideo

Chaunte W. Lacewell edited this page Aug 26, 2022 · 1 revision

FindVideo Command

Works in a similar manner as FindEntity with the exception of returning video blobs and allowing the possibility of applying operations before returning those video blobs.

Parameters

  • [optional] _ref: for reference
  • [optional] codec: indicates the codec to be transcoded.
  • [optional] container: indicates the container used for the video file
  • [optional] unique: [True or False]. Indicates whether a single element is expected to match that condition.

Blocks

Example

{
  "FindVideo": {
      "constraints" : {
          "name" : ["==", "The God Father"},
      },
      "operations": [
          {
              "type": "resize",
              "w": 200,
              "h": 200,
          },
          {
              "type": "threshold",
              "value": 155,
          }
      ]
  }
}
Clone this wiki locally