Timing
Timing
Scene duration
Explicit scene duration
const job = {
videoCreative: {
settings: {
name: "Simple video with a single scene",
videoSize: { height: 1080, width: 1920 },
},
scenes: [
{
name: "Scene with explicit duration",
duration: 2000, // ms
tracks: [
{
type: "actor",
position: { x: 200, y: 200 }, // From the top left in pixels
size: { height: 680, width: 1520 }, // In pixels
text: "This scene is exactly two seconds long. It does not matter how long any of the tracks are.",
speakerId: "en-GB-RyanNeural",
actor: "ryan",
},
],
},
],
},
};Referring to a track
Default scene duration
Track duration
Explicit track duration
Referring to the scene's start and end time
Default track duration
Timing tracks within a scene
Good practices
Last updated
Was this helpful?