Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Editable templates & command line operation #70

Open
makkura opened this issue Jun 5, 2024 · 1 comment
Open

Editable templates & command line operation #70

makkura opened this issue Jun 5, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request todo-in-rewrite Can't be easily fixed in legacy, worth considering in rewrite

Comments

@makkura
Copy link

makkura commented Jun 5, 2024

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 makkura added the enhancement New feature or request label Jun 5, 2024
@Picorims
Copy link
Owner

Picorims commented Jun 5, 2024

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 Picorims added the todo-in-rewrite Can't be easily fixed in legacy, worth considering in rewrite label Jun 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request todo-in-rewrite Can't be easily fixed in legacy, worth considering in rewrite
Projects
None yet
Development

No branches or pull requests

2 participants