The gui can be used by calling kbvs.py
.
$ python kbvs.py
When you have python2 and python3 installed, you may need to run the application with python3
instead of python
:
$ python3 kbvs.py
When starting the application the following window will be displayed:
In the file menu a new slideshow can be created or loaded.
In the settings menu the slideshow specific and the general settings can be changed.
By selecting the menu item General Settings
the default parameters, which are defined in config.json
, can be changed:
After selecting the New
button in the file menu a new slideshow is created:
With the button Open
a saved slideshow file (*.json
) can be loaded. The saved file can be from the cli or from the gui.
A slideshow can be saved by selecting Save
or saved as new file by selecting Save As..
in the file menu.
After creating or loading a slideshow the slideshow specific settings can be edited in the settings menu:
New slides can be added to the current slideshow by clicking on the Add slide
button.
The selected files are then added to the current slideshow.
New audio files can be added by clicking on the Add audio
button.
The possible filetypes are defined in the file config.json
.
By clicking on a slide the slide specific settings are displayed and can be changed. It is possible to change all the slide specific settings, which are already described in the file docs/cli.md.
On image slides the kburns effect is previewed in a thumbnail so you can see which part of the image is visible on start/end of the effect. When changing the zoom direction, zoom rate or scale mode the preview is updated.
By clicking on a audio file the audio file settings are displayed.
A slide or audio file can be removed from the slideshow by clicking the Delete
button on the details.
When selecting the checkbox "Move slides/audio" dragging of image or audio files to change the position in the slideshow gets enabled.
Additionally the slides can be moved to the right with the keyboard shortcut "s" and to the left with the keyboard shortcut "a" (thanks to @ch00f).
The next slide can be selected with the keyboard shortcut "right arrow" and the previous slide with the keyboard shortcut "left arrow" (thanks to @ch00f).
On the bottom of the window the slideshow video duration is shown. Additionally the duration of all audio files is displayed. To prevent no background music at the end of the video you need to make sure that the audio files duration is greater than the video duration.
If the image durations should be synced to matching audio positions the button Sync Video to Audio
needs to be pressed.
Therefore the aubioonset
executable is used in the background.
The resulting video can be created by pressing Create Video
. Please note that the gui does not respond to input while creating FFmpeg creates the video.
The screenshots are done with the following demo images:
Photo of Jökulsárlón by Jeremy Bishop on Unsplash
Photo of Seljalandsfoss by Andrey Andreyev on Unsplash
Photo of Sunbeams shining in Iceland by Luke Stackpoole on Unsplash
Video of Iceland from coverr