instill-core
instill-core copied to clipboard
[INS-2135] [Feature] Codec Operator
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