File size: 731 Bytes
d3c7f96
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
45f314a
d3c7f96
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
import { defineConfig } from "@argo-video/cli";

export default defineConfig({
  baseURL: "http://localhost:5173",
  demosDir: "demos",
  outputDir: "videos",
  tts: { defaultVoice: "af_heart", defaultSpeed: 0.92 },
  video: {
    width: 1920,
    height: 1080,
    fps: 30,
    browser: "chromium",
    deviceScaleFactor: 1,
    launchOptions: {
      channel: "chrome",
      args: [
        "--enable-unsafe-webgpu",
        "--enable-features=Vulkan,WebGPU",
        "--use-angle=metal",
      ],
    },
  },
  export: {
    preset: "slow",
    crf: 18,
    // transition: { type: "fade-through-black", durationMs: 1500 },
    audio: { loudnorm: true },
    sharpen: true,
  },
  overlays: {
    autoBackground: true,
  },
});