Image-to-Video Workflow Operation
ID: image-to-video
Description
The image-to-video operation allows to create a video track from a source image.
Parameter Table
Tags and flavors can be used in combination. But combined they should match one image.
configuration keys | example | description | default value |
---|---|---|---|
source-tags* | intro | A comma separated list of tags of the input image | EMPTY |
source-flavor* | intro/source | The "flavor" of the image to use as a source input | EMPTY |
target-tags | composite,archive | The tags to apply to the output video track | EMPTY |
target-flavor | intro/work | The flavor to apply to the output video track | EMPTY |
duration* | 5 | The length of the output video in seconds. | EMPTY |
profile* | image-movie | Define the encoding-profile to use to create the output video. See example of profile below. | EMPTY |
* mandatory
Operation Example
- id: image-to-video
description: Composite
configurations:
- source-tags: intro
- source-flavor: intro/source
- target-tags: intro-video
- target-flavor: intro/video
- duration: 10
- profile: image-movie
Encoding Profile Example
# Image to video
profile.image-movie.name = image to video
profile.image-movie.input = image
profile.image-movie.output = visual
profile.image-movie.suffix = -image-video.mp4
profile.image-movie.ffmpeg.command = -loop 1 -i #{in.video.path} -c:v libx264 -r 25 -t #{time} -pix_fmt yuv420p #{out.dir}/#{out.name}#{out.suffix}