instill-core icon indicating copy to clipboard operation
instill-core copied to clipboard

[INS-2135] [Feature] Codec Operator

Open donch1989 opened this issue 2 years ago • 1 comments
trafficstars

Is There an Existing Issue for This?

  • [X] I have searched the existing issues

Project

Instill VDP

Is your Proposal Related to a Problem?

For image, video and audio, they have a lot of kinds of codec format, e.g. jpg, png, h264, h265, wmv, mp3, aac.

Each connector have different codec requirement for its input/output, we need to have a convertor to handle the format conversion in order to let two components with different codec requirements can be connected.

Describe Your Proposed Solution

We can implement a Codec Operator to handle the conversion. For example, we can setup a Operator with configuration like this

{
  "input": {
    "input_format": "jpg",
    "output_format": "png",
    "input_data": "{ start.image }"
  }
}

Highlight the Benefits

No response

Anything Else?

No response

INS-2135

donch1989 avatar Sep 26 '23 15:09 donch1989