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.15k stars 107 forks source link

[Video] Video Component split audio from video #1116

Open ShihChun-H opened 1 month ago

ShihChun-H commented 1 month ago

Issue Description

Current State

Why We Want to Change?

Proposed Change

Recipe proposal

"TASK_EXTRACT_AUDIOS": {
"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 1 month ago

I'm interested in working on this one

ShihChun-H commented 1 month ago

Hi @Fustigate8933, the issue has been assigned to you ๐Ÿ™Œ๐Ÿป

ShihChun-H commented 1 month ago

Hi @Fustigate8933, I'm following up to check on any progress made regarding this issue. Could you please provide an update? Thanks ๐Ÿ™

kuroxx commented 1 month ago

Hey @Fustigate8933 how's it going? If you have any progress update please let me know otherwise I will de-assign this issue from you soon so others have a chance to attempt it, thanks ๐Ÿ™

Anish0203 commented 1 month ago

Hi @kuroxx I would like to give a try. Can I please work on this issue? Thanks!

kuroxx commented 1 month ago

Hey @Anish0203 sounds great! I have assigned the issue to you ๐Ÿค Happy Hacking!

Anish0203 commented 3 weeks ago

Hi @kuroxx , as discussed over discord, I'm unable to set up the project locally due to resource constraints. Could you please unassign me? Sorry for any disturbance caused. Would love to contribute to Instill AI in future. PS: I had tried a few pipelines in Instill Cloud and really loved the seamless feature of video summarizer. Here is the output of one of the videos that I had uploaded: { "key_insights": [ "Character Interaction: The scene involves two superheroes, indicating a moment of interaction or confrontation.", "Urban Setting: The backdrop of skyscrapers suggests a major city, possibly New York.", "Emotional Tone: The seated character appears contemplative or distressed, while the hovering character seems to be approaching or communicating." ], "locations": [ "New York City", "Metropolis-like urban areas" ], "summary": "The images capture a dramatic encounter between two superheroes set against the backdrop of a bustling cityscape. One hero is seated on a ledge, seemingly deep in thought or distress, while the other hovers nearby, possibly engaging in a conversation or confrontation. The urban environment, characterized by towering skyscrapers, hints at a major city like New York, adding to the intensity and scale of the scene.", "tags": [ "Superheroes", "Cityscape", "Interaction", "Urban environment", "Contemplation" ], "title": "Superhero Encounter in the City" }

kuroxx commented 3 weeks ago

@Anish0203 no worries at all and thank you for letting me know!! Love that you tried Instill Cloud and enjoyed the experience - can't wait to see what you build next! Happy hacking ๐ŸŽƒ

The task has been unassigned now, thank you for trying though ๐Ÿค