WEBMARIZER icon indicating copy to clipboard operation
WEBMARIZER copied to clipboard

Overlay text

Open Mathis-Er opened this issue 4 years ago • 2 comments

Hi, would it be possible to add text overlays to the gifs? I know it is possible to do with ffmpeg but I can't seem to figure out a way to add it to this program.

Also want to say thanks for creating the program, I've been using it for a while now and it works like a charm!

Mathis-Er avatar Apr 29 '21 18:04 Mathis-Er

Hey, didn't see your comment so I apologize for the late response. Also, thank you for the kind words. It makes me to happy to see that this code is still useful to someone.

It's been a little over 3 years since I've touched this software. I wrote this as an undergrad, so naturally, the code isn't very extensible or clean. I'd have to modify it to add a feature to allow it to do this.

I will try to look into doing this in the near future. If you wanted to try your hand at it, my guess is that you would need to modify the createGif function which contains the commands used by ffmpeg to do the heavy lifting.

The .UI file can be modified using QT Designer, so if you wanted to, you could insert a text box somewhere and grab the text from that textbox.

Another option is to simply create the gifs you want using this tool and then have FFMPEG separately add overlays after that. A script which opens each gif and adds the overlay might achieve what you want.

Hope that helps!

nyavramov avatar May 11 '21 16:05 nyavramov

That's ok! I'll try and see if I can figure it out, I'm a complete beginner at coding so that'll be interesting. I'm going to take a look if there are programs out there that could do it in bulk, which is the main reason I chose this program anyways. Otherwise I think I should be able to create a simple script myself. Thanks!

Mathis-Er avatar May 11 '21 16:05 Mathis-Er