https://github.com/moos/davinci-slide-builder
Generates timeline XML of slides for Da Vinci Resolve
https://github.com/moos/davinci-slide-builder
davinci-resolve slideshow video
Last synced: 5 months ago
JSON representation
Generates timeline XML of slides for Da Vinci Resolve
- Host: GitHub
- URL: https://github.com/moos/davinci-slide-builder
- Owner: moos
- License: other
- Created: 2019-01-27T18:06:53.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2020-09-08T02:18:48.000Z (over 5 years ago)
- Last Synced: 2025-04-12T02:31:48.625Z (9 months ago)
- Topics: davinci-resolve, slideshow, video
- Language: JavaScript
- Size: 21.5 KB
- Stars: 19
- Watchers: 4
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
davinci-slide-builder
---------------
[](https://www.npmjs.com/package/davinci-slide-builder)
Generates an `fcpxml` (1.8) formatted timeline of stills that can be imported into [Da Vinci Resolve](https://www.blackmagicdesign.com/products/davinciresolve/) to make a slideshow.
### Motivation
Da Vinci Resolve (free version) is an excellent software for video editing, rivaling both Final Cut Pro and Adobe Premier Pro. Alas I found it a little limiting in auto generating a slideshow of stills, specifically in being able to sort the media (say randomly) or choosing varied duration time and/or transition effects.
### Install it
Get [node.js](https://nodejs.org/en/), then
```
npm i -g davinci-slide-builder
```
### Example
```xml
$ slide-builder -d 3 -t 1 ~/pics/2005/img100*.jpg ~/pics/2006/img100*.jpg > out.xml
$ cat out.xml
```
Then open _Da Vinci Resolve_, (new project) and "import timeline" from `out.xml`.
To shuffle slides:
```
$ slide-builder -d 3 -t 1 --sort rand ~/pics/2005/img100*.jpg ~/pics/2006/img100*.jpg > out.xml
```
### CLI options
```
$ slide-builder
Usage: slide-builder [options] files... > outfile.xml
Options
--slideDuration, -d N - duration of each slide (default: 5 sec)
--transitionDuration, -t N - duration of transition between each slide (default: 1 sec)
0 for no transition.
--randomDuration, -r min,max,dist - randomize slide duration within this range (secs) with distribution
"uniform" or "normal" (Gaussian) (default: 3,6,uniform)
--name S - name of project
--sort [by] - sort slides (see advanced options)
(Use --advanced to show less-used options)
files... can be one or more glob patterns, e.g., "pics/slideshow/** pics/summer/**.jpg".
(Use --globs to show more examples)
```
### Change log
- 1.2.1 More informative timeline name
- 1.2.0 Rename CLI args and fix default handling
- 1.1.1 Added npm keywords
- 1.1.0 Refactored CLI arguments. Add `-R normal` and sort by name and extension.
- 1.0.0 Initial version supporting fcpxml 1.8
### License
This software is released under the terms of the MIT license.