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

Make it possible to export to video via CLI #585

Open
dbakker opened this issue Dec 29, 2021 · 0 comments
Open

Make it possible to export to video via CLI #585

dbakker opened this issue Dec 29, 2021 · 0 comments
Labels

Comments

@dbakker
Copy link

dbakker commented Dec 29, 2021

Currently the only way to export to video is to use the GUI.

It would be fantastic to also be able to export to mp4 via the CLI, similar to the deprecated sozi-to-video command. However with one big difference: That it is based on the JSON file (and regenerates the HTML) so that scripts can change the JSON and regenerate the video.

Examples of external scripts that could make use of the CLI:

  • Change an SVG or linked image, update all videos that use it
  • Split a presentation up into multiple videos, one for each frame+transition
  • Add narration to a presentation (record the narration separately per slide, update the JSON with the timings, regenerate video)
  • Have separate sozis share frames. Make a script that syncs the frames over the sozis + regenerates the videos

Having a CLI interface like this would be perfect:
sozi export-video presentation.sozi.json --output presentation.mp4

For now the exports can be done manually one by one after updating the JSON, but it is time consuming and error prone.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants