flowblade icon indicating copy to clipboard operation
flowblade copied to clipboard

End Credit Generator

Open pmjdebruijn opened this issue 5 years ago • 4 comments

It would be rather nice if Flowblade had a builtin end credit generator.

I've attempted to create an end credit generator as a standalone script, while limited, does work surprisingly well:

https://github.com/pmjdebruijn/endcredsgen

pmjdebruijn avatar Oct 05 '19 16:10 pmjdebruijn

So the script generates an SVG with desired font properties and text and then uses ffmpeg to create a mp4 movie from it.

This would go very well in the "Tools" menu as a separate tool, so if you want to do contribution on this I'll give an rough out line how to do it.

1.) Create a menu item in editorwindow.py in tools menu, around lines 190-460.

2.) Create a new module in /tools folder and pack all related code into that.

3.) Create dialog panel to input

  • font properties
  • file chooser button to load a file containing user selected .csv file
  • or text area to input text
  • file chooser to give output file name
  1. Use userfolder.get_cache_dir() to get dir to save and delete the needed SVG file. This is transient data so you can just use same file name for the SVG always

  2. Launch your script and run the ffmpeg command in separate process using the subprocess module

I might do this myself down the line, but right I'm working on a branch here that will still take same time and there will pribably enough stuff for next few releases for me so if we get this contributed then that would be great.

jliljebl avatar Oct 05 '19 16:10 jliljebl

Also put the script in tools menu if this happens.

jliljebl avatar Oct 05 '19 16:10 jliljebl

I might take stab at this way down the line, but right now this needs contribution to get going.

jliljebl avatar Oct 19 '19 15:10 jliljebl

Our new Media Plugins system will allow making this with relatively less effort so maybe something like 2.12 is possible for this.

jliljebl avatar Apr 30 '21 07:04 jliljebl