Vikit-ai / sdk

Vikit.ai SDK let you develop easily video generators leveraging generative AI and other AI models.
https://vikit.ai
Apache License 2.0
50 stars 7 forks source link

Including subtitle text in the video #123

Open elysoly opened 3 months ago

elysoly commented 3 months ago

Is your feature request related to a problem? Please describe. I would like to have the subtitle text added to the video. This feature is particularly interesting for social media videos

Describe the solution you'd like For example, when we create a prompt video with or without narration, I want the text to appear on the bottom of the video.

Describe alternatives you've considered We can do it using moviepy library I think

jeffmac-aix commented 3 months ago

Working however we observe a slight mismatch of a few milliseconds between the video length and the subtitle text

NaveenRagunathan commented 2 months ago

@jeffmac-aix this is the issue which we were discussing during the call.

jeffmac-aix commented 2 months ago

Thanks Naveen!

On Fri, 6 Sept 2024 at 16:51, Naveen @.***> wrote:

@jeffmac-aix https://github.com/jeffmac-aix this is the issue which we were discussing during the call.

— Reply to this email directly, view it on GitHub https://github.com/Vikit-ai/sdk/issues/123#issuecomment-2334234572, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANVXUOPW4NCZFUC3S2WL74TZVG6QFAVCNFSM6AAAAABMJUO5QWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMZUGIZTINJXGI . You are receiving this because you were mentioned.Message ID: @.***>

jeffmac-aix commented 2 months ago

@elysoly isnt'it already fixed?

elysoly commented 1 month ago

I didn’t get time to work on it, I don't know if things have evolved on @NaveenRagunathan side?

jeffmac-aix commented 2 weeks ago

Here we might consider developing an additional generic test which checks the video and audio length perfectly match, using ffmpeg or a wrapper (like moviepy)