wav2bar icon indicating copy to clipboard operation
wav2bar copied to clipboard

Editable templates & command line operation

Open makkura opened this issue 1 year ago • 1 comments

The current version of the application allows saving/loading templates. My use case right now is to switch the audio file being used, change 1 image on a layer, and then export.

It would be a neat feature for the template to be friendly to edit and the application allow rendering from the template via the command line.

Allowing something like: sed -i 's/old.mp3/new.mp3/g' template > working_template && wav2bar --template working_template --output new.mp4 export

Just something to consider for the remake you have intended.

makkura avatar Jun 05 '24 18:06 makkura

Thanks for the suggestion.

I still have to check for CLI support but that's indeed a good idea.

For now you might try the following as it is somewhat human friendly:

  • unzip the save file that serves as template (it's a basic zip file with a modified extension).
  • edit the metadata and the images as you want, use the docs directory of the repo for detailed save structure documentation.
  • zip back the save file as it was initially (root folder of the zip especially).
  • use current wav2bar CLI with the new save file to export the video (it should be possible, I'll have to double check though).

Edit: check the export command for CLI export.

Picorims avatar Jun 05 '24 22:06 Picorims