Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

krishna8723's avatar

How to make a software that change the text and images of particular video clip?

I am new on video projects so please help me by providing some suggestions or any idea. I am using Laravel as backend.

0 likes
4 replies
krishna8723's avatar

I am trying to make the site similar to https://app.storie.co (short clips are already there and we can change image and text on that clip after submitting for rendering) so do you have any idea that how we can achieve this.

Cronix's avatar
Cronix
Best Answer
Level 67

You'll have to learn ffmpeg, as Bobby mentioned. It's very powerful, and very complex as it can do many things with audio/video.

You can add text/graphics as overlays to videos, or grab a frame from a video to make a thumbnail, and many more things (converting between formats, which is something else you'll probably want to do so you only have to serve one type of video instead of whatever format it was originally uploaded in). You won't find much info on this site about it. It goes way beyond what most people do, so you'll find more info if you search more generally on google for "ffmpeg" or

Here's the main FFMpeg library: https://www.ffmpeg.org/

Here's the official php wrapper for it (not necessary, but easier if you aren't comfortable executing cli programs from php): https://github.com/PHP-FFMpeg/PHP-FFMpeg

Here's a laravel wrapper for it (again, not necessary - now you're using ffmpeg cli + php-ffmpeg wrapper + laravel wrapper): https://github.com/pascalbaljetmedia/laravel-ffmpeg

The more layers you use, the harder it is to maintain as now you're dealing with/relying on 3 packages instead of just one.

This is not for the faint of heart! But then again, you're not asking about doing something easy. This will take quite awhile to figure out if you're new to it. FFMpeg is quite old and there are many tutorials for it. You won't find much specific to laravel though, outside of that repo. There are some.

1 like

Please or to participate in this conversation.