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
2.08k stars 93 forks source link

[Video] Video Component split audio from video #1116

Open ShihChun-H opened 1 week ago

ShihChun-H commented 1 week ago

Issue Description

Current State

Why We Want to Change?

Proposed Change

Recipe proposal

"TASK_EXTRACT_AUSIOS": {
"instillShortDescription": "Extract audios from a video",
"input": {
"description": "Parameters to consider for extracting from the video",
"instillEditOnNodeFields": [c
"audio",
],
"instillUIOrder": 0,
"properties": {
"video": {
"description": "The input video",
"instillAcceptFormats": [
"video/",
"application/octet-stream"
],
"instillUIOrder": 0,
"instillUpstreamTypes": [
"reference"
],
"title": "Video",
"type": "binary"
},
"time-windows": {
"description": "Time windows for extracting videos in the format [[start time, end time], …], where the time is in the format hh:mm:ss",
"instillAcceptFormats": [
"array:array:string"
],
"instillUIOrder": 1,
"instillUpstreamTypes": [
"reference",
"value"
],
"title": "Time windows",
"type": "array"
},
},
"required": [
"video",
"time-windows"
],
"title": "Input",
"type": "object"
},
"output": {
"instillUIOrder": 1,
"properties": {
"audios": {
"description": "Extracted audios",
"instillFormat": "array:audio/",
"instillUIOrder": 0,
"items": {
"type": "binary",
"title": "Audio"
},
"title": "Audios",
"type": "array"
}
},
"required": [
"audios"
],
"title": "Output",
"type": "object"
}
}

Rules for the Component Hackathon


Component Contribution Guideline | Documentation | Official Go Tutorial

Fustigate8933 commented 3 hours ago

I'm interested in working on this one

ShihChun-H commented 3 hours ago

Hi @Fustigate8933, the issue has been assigned to you 🙌🏻