instill-ai / instill-core

🔮 Instill Core is a full-stack AI infrastructure tool for data, model and pipeline orchestration, designed to streamline every aspect of building versatile AI-first applications
https://www.instill.tech
Other
1.92k stars 81 forks source link

[INS-2135] [Feature] Codec Operator #640

Open donch1989 opened 8 months ago

donch1989 commented 8 months ago

Is There an Existing Issue for This?

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

github-actions[bot] commented 8 months ago

This issue is available for anyone to work on.

:sparkles: Thank you for your contribution! :sparkles: