-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.example.toml
More file actions
37 lines (33 loc) · 1.92 KB
/
Copy pathconfig.example.toml
File metadata and controls
37 lines (33 loc) · 1.92 KB
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
35
36
37
# video-studio-mcp configuration
#
# Copy to ~/.config/video-studio-mcp/config.toml and adjust.
# Every key is optional; the values below are the built-in defaults.
[server]
log_level = "info" # debug | info | warn | error
log_file = "" # empty = stderr only; logs NEVER go to stdout (MCP transport)
[workspace]
workspace_dir = "~/.video-studio" # default root; one sub-directory per deck
[video]
ffmpeg_path = "ffmpeg" # absolute path or a name found in PATH
ffprobe_path = "ffprobe" # ships with ffmpeg; used to measure each page's audio length
width = 1920 # canvas width (even number, for yuv420p)
height = 1080 # canvas height (even number, for yuv420p)
fps = 30 # output frame rate
crf = 20 # x264 quality: 0=lossless .. 51=worst; ~18-23 is visually clean
preset = "medium" # x264 speed/size tradeoff (ultrafast..veryslow)
pix_fmt = "yuv420p" # broad playback compatibility (QuickTime, browsers, social)
audio_bitrate = "192k" # AAC bitrate
audio_sample_rate = 44100 # forced on every segment so concat can stream-copy
background = "black" # pad color for letter/pillar-boxing (ffmpeg color name or hex, e.g. "0x101010")
[caption]
# Styling for burned-in captions (master captions=true). Text is rendered in Go
# with the bundled M PLUS 1p font and composited via ffmpeg's overlay filter —
# no libfreetype-enabled ffmpeg required.
font_size = 48 # px at the configured canvas height
font_color = "#FFFFFF" # #RRGGBB / #RRGGBBAA / white | black
box_color = "#000000" # background box behind the text (readability)
box_opacity = 0.5 # 0..1 applied to the box color's alpha
margin_v = 60 # px from the bottom edge to the box
margin_h = 80 # px kept clear on each side (governs wrap width)
box_pad_h = 20 # horizontal padding inside the box
box_pad_v = 12 # vertical padding inside the box