forked from TypesettingTools/Aegisub
-
Notifications
You must be signed in to change notification settings - Fork 51
Expand file tree
/
Copy pathdefault_config.json
More file actions
676 lines (658 loc) · 14.7 KB
/
Copy pathdefault_config.json
File metadata and controls
676 lines (658 loc) · 14.7 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
{
"App" : {
"Auto" : {
"Backup" : true,
"Check For Updates" : true,
"Load Linked Files" : 2,
"Save" : true,
"Save Every Seconds" : 60,
"Save on Every Change" : false
},
"Call Tips" : false,
"First Start" : true,
"Hotkey Migrations" : [{"string": "placeholder since empty arrays aren't supported"}],
"Language" : "",
"Maximized" : false,
"Save Charset" : "UTF-8",
"Save UI State" : true,
"Show Toolbar" : true,
"Toolbar Icon Size" : 16,
"Dark Mode" : false
},
"Audio" : {
"Auto" : {
"Commit" : false,
"Focus" : false,
"Scroll" : true
},
"Cache" : {
"HD" : {
"Location" : "default",
},
"Type" : 1
},
"Colour Schemes" : [
{ "string" : "Green" },
{ "string" : "Icy Blue" }
],
"Display Height" : 200,
"Display" : {
"Draw" : {
"Cursor Time" : true,
"Inactive Comments" : false,
"Keyframes in Dialogue Mode" : true,
"Keyframes in Karaoke Mode" : true,
"Seconds" : true,
"Video Position" : true
},
"Waveform Style" : 0
},
"Downmixer" : "ConvertToMono",
"Drag Timing" : true,
"Inactive Lines Display Mode" : 3,
"Karaoke" : {
"Font Face" : "Verdana",
"Font Size" : 9
},
"Lead" : {
"IN" : 100,
"OUT" : 350
},
"Line Boundaries Thickness" : 2,
"Link" : true,
"Lock Scroll on Cursor" : false,
"Medusa Timing Hotkeys" : false,
"Next Line on Commit" : true,
"Player" : "",
"Plays When Stepping Video" : false,
"Provider" : "FFmpegSource",
"Renderer" : {
"Spectrum" : {
"Cutoff" : 0,
"Memory Max" : 128,
"Quality" : 1,
"FreqCurve" : 0
}
},
"Snap" : {
"Distance" : 8,
"Enable" : true
},
"Spectrum" : true,
"Start Drag Sensitivity" : 8,
"Track Cursor" : {
"Font Face" : ""
},
"Volume" : 50,
"Wheel Default to Zoom" : false,
"Zoom" : {
"Horizontal" : 0,
"Vertical" : 50
}
},
"Automation" : {
"Autoreload Mode" : 1,
"Trace Level" : 3
},
"Colour" : {
"Audio Display" : {
"Keyframe" : "rgb(255,0,255)",
"Line Boundary Inactive Line" : "rgb(190,190,190)",
"Line boundary End" : "rgb(0, 0, 216)",
"Line boundary Start" : "rgb(216, 0, 0)",
"Play Cursor" : "rgb(255,255,255)",
"Seconds Line" : "rgb(0,100,255)",
"Spectrum" : "Icy Blue",
"Syllable Boundaries" : "rgb(255,255,0)",
"Waveform" : "Green"
},
"Schemes" : {
"Green" : {
"Normal" : {
"Hue Offset" : 85.0,
"Hue Scale" : 0.0,
"Saturation Offset" : 255.0,
"Saturation Scale" : 0.0,
"Lightness Offset" : 0.0,
"Lightness Scale" : 200.0
},
"Inactive" : {
"Hue Offset" : 85.0,
"Hue Scale" : 0.0,
"Saturation Offset" : 255.0,
"Saturation Scale" : 0.0,
"Lightness Offset" : 0.0,
"Lightness Scale" : 100.0
},
"Selection" : {
"Hue Offset" : 80.0,
"Hue Scale" : 0.0,
"Saturation Offset" : 255.0,
"Saturation Scale" : 0.0,
"Lightness Offset" : 10.0,
"Lightness Scale" : 175.0
},
"Primary" : {
"Hue Offset" : 85.0,
"Hue Scale" : 0.0,
"Saturation Offset" : 128.0,
"Saturation Scale" : 0.0,
"Lightness Offset" : 25.0,
"Lightness Scale" : 300.0
},
"UI" : {
"Light" : "rgb(0, 200, 0)",
"Dark" : "rgb(0, 10, 0)",
"Selection" : "rgb(0, 80, 0)"
},
"UI Focused" : {
"Light" : "rgb(50, 255, 50)",
"Dark" : "rgb(0, 10, 0)",
"Selection" : "rgb(0, 80, 0)"
}
},
"Icy Blue" : {
"Normal" : {
"Hue Offset" : 191.0,
"Hue Scale" : -128.0,
"Saturation Offset" : 127.0,
"Saturation Scale" : 128.0,
"Lightness Offset" : 0.0,
"Lightness Scale" : 255.0
},
"Inactive" : {
"Hue Offset" : 191.0,
"Hue Scale" : -128.0,
"Saturation Offset" : 63.0,
"Saturation Scale" : 192.0,
"Lightness Offset" : 32.0,
"Lightness Scale" : 192.0
},
"Selection" : {
"Hue Offset" : 191.0,
"Hue Scale" : -128.0,
"Saturation Offset" : 127.0,
"Saturation Scale" : 128.0,
"Lightness Offset" : 32.0,
"Lightness Scale" : 192.0
},
"Primary" : {
"Hue Offset" : 191.0,
"Hue Scale" : -128.0,
"Saturation Offset" : 127.0,
"Saturation Scale" : 128.0,
"Lightness Offset" : 64.0,
"Lightness Scale" : 192.0
},
"UI" : {
"Light" : "rgb(89, 145, 220)",
"Dark" : "rgb(8, 4, 13)",
"Selection" : "rgb(65, 34, 103)"
},
"UI Focused" : {
"Light" : "rgb(205, 240, 226)",
"Dark" : "rgb(8, 4, 13)",
"Selection" : "rgb(82, 107, 213)"
}
}
},
"Style Editor" : {
"Background" : {
"Preview" : "rgb(125, 153, 176)"
}
},
"Subtitle Grid" : {
"Active Border" : "rgb(255, 91, 239)",
"Background" : {
"Background" : "rgb(255,255,255)",
"Comment" : "rgb(216, 222, 245)",
"Inframe" : "rgb(255, 253, 234)",
"Selected Comment" : "rgb(211, 238, 238)",
"Selection" : "rgb(206, 255, 231)",
"Open Fold" : "rgb(235, 235, 235)",
"Closed Fold" : "rgb(200, 200, 200)"
},
"Collision" : "rgb(255,0,0)",
"CPS Error" : "rgb(255,0,0)",
"Header" : "rgb(165, 207, 231)",
"Left Column" : "rgb(196, 236, 201)",
"Lines" : "rgb(190,190,190)",
"Selection" : "rgb(0,0,0)",
"Standard" : "rgb(0,0,0)"
},
"Subtitle" : {
"Background" : "rgb(255, 255, 255)",
"Syntax" : {
"Background" : {
"Brackets" : "",
"Comment" : "",
"Drawing Command" : "",
"Drawing X" : "",
"Drawing Y" : "",
"Error" : "rgb(255, 200, 200)",
"Karaoke Template" : "",
"Karaoke Variable" : "",
"Line Break" : "",
"Normal" : "",
"Parameters" : "",
"Slashes" : "",
"Tags" : ""
},
"Bold" : {
"Brackets" : false,
"Comment" : true,
"Drawing Command" : true,
"Drawing X" : false,
"Drawing Y" : false,
"Error" : false,
"Karaoke Template" : true,
"Karaoke Variable" : true,
"Line Break" : true,
"Normal" : false,
"Parameters" : false,
"Slashes" : false,
"Tags" : true
},
"Underline": {
"Drawing Endpoint": true
},
"Brackets" : "rgb(20, 50, 255)",
"Comment" : "rgb(0,0,0)",
"Drawing Command" : "rgb(0,0,0)",
"Drawing X" : "rgb(90,40,40)",
"Drawing Y" : "rgb(40,90,40)",
"Error" : "rgb(200, 0, 0)",
"Karaoke Template" : "rgb(128, 0, 192)",
"Karaoke Variable" : "rgb(128, 0, 192)",
"Line Break" : "rgb(160, 160, 160)",
"Normal" : "rgb(0,0,0)",
"Parameters" : "rgb(40, 90, 40)",
"Slashes" : "rgb(255, 0, 200)",
"Tags" : "rgb(90, 90, 90)"
}
},
"Video Dummy" : {
"Last Colour" : "rgb(47, 163, 254)"
},
"Visual Tools" : {
"Highlight Primary" : "rgb(255, 169, 40)",
"Highlight Secondary" : "rgb(255, 253, 185)",
"Lines Primary" : "rgb(187, 0, 0)",
"Lines Secondary" : "rgb(106, 32, 19)",
"Shaded Area Alpha" : 0.5
}
},
"Limits" : {
"Find Replace" : 16,
"MRU" : 16,
"Undo Levels" : 50
},
"Path" : {
"Auto" : {
"Backup" : "?state/autoback",
"Save" : "?state/autosave"
},
"Automation" : {
"Autoload" : "?user/automation/autoload/|?data/automation/autoload/",
"Base" : "?data/automation/",
"Include" : "?user/automation/include/|?data/automation/include/"
},
"Dictionary" : "?user/dictionaries",
"Fonts Collector Destination" : "?script",
"Last" : {
"Audio" : "",
"Automation" : "",
"Keyframes" : "",
"Subtitles" : "",
"Timecodes" : "",
"Video" : ""
},
"Screenshot" : "?video"
},
"Player" : {
"Audio" : {
"ALSA" : {
"Device" : "default"
},
"DirectSound" : {
"Buffer Latency" : 100,
"Buffer Length" : 5
},
"OSS" : {
"Device" : "/dev/dsp"
},
"PortAudio" : {
"Device Name" : "Default"
}
}
},
"Provider" : {
"Audio" : {
"AVS" : {
"Sample Rate" : 0
},
"FFmpegSource" : {
"Decode Error Handling" : "ignore",
"Downmix" : false
},
"BestSource": {
"Max Cache Size" : 100,
"Aegisub Cache" : true
},
"VapourSynth" : {
"Default Script" : "# This default script will load an audio file using BestSource.\n# It requires the `bs` plugin.\n\nimport vapoursynth as vs\nimport aegisub_vs as a\na.set_paths(locals())\n\na.ensure_plugin(\"bs\", \"BestSource\", \"To use Aegisub's default audio loader, the `bs` plugin for VapourSynth must be installed\")\nvs.core.bs.AudioSource(source=filename).set_output()"
}
},
"Avisynth" : {
"Memory Max" : 1024
},
"FFmpegSource" : {
"Cache" : {
"Files" : 20,
"Size" : 42
},
"Index All Tracks" : true,
"Log Level" : "quiet"
},
"BestSource" : {
"Cache" : {
"Files" : 100,
"Size" : 42
}
},
"VapourSynth" : {
"Autoload User Plugins": true,
"Cache" : {
"Files" : 500,
"Size" : 1000
}
},
"Video" : {
"Cache" : {
"Size" : 32
},
"FFmpegSource" : {
"Decoding Threads" : -1,
"Unsafe Seeking" : false
},
"BestSource" : {
"Max Cache Size" : 1024,
"Threads" : 0,
"Apply RFF": true,
"Seek Preroll" : 12
},
"VapourSynth" : {
"Log Level": "Information",
"Default Script" : "# This default script will load a video file using LWLibavSource.\n# It requires the `lsmas` plugin.\n# See ?data/automation/vapoursynth/aegisub_vs.py for more information.\n\nimport vapoursynth as vs\nimport time\nimport aegisub_vs as a\na.set_paths(locals())\n\nclip, videoinfo = a.wrap_lwlibavsource(filename)\nclip.set_output()\n__aegi_timecodes = videoinfo[\"timecodes\"]\n__aegi_keyframes = videoinfo[\"keyframes\"]\n\n# Uncomment this line to make Aegisub look for a keyframes file for the video, or ask to detect keyframes on scene changes if no file was found.\n# You can also change the GenKeyframesMode. Valid values are NEVER, ALWAYS, and ASK.\n#__aegi_keyframes = a.get_keyframes(filename, clip, __aegi_keyframes, generate=a.GenKeyframesMode.ASK)\n\n# Check if the file has an audio track. This requires the `bs` plugin.\n__aegi_hasaudio = 1 if a.check_audio(filename) else 0"
}
}
},
"Subtitle" : {
"Character Counter" : {
"Ignore Whitespace" : true,
"Ignore Punctuation" : true,
"CPS Warning Threshold" : 15,
"CPS Error Threshold" : 30
},
"Character Limit" : 40,
"Default Resolution" : {
"Auto" : true,
"Height" : 720,
"Width" : 1280
},
"Edit Box" : {
"Soft Line Break": false,
"Font Face" : "",
"Font Size" : 10
},
"Grid" : {
"Column" : [
{"bool" : true}
],
"Focus Allow" : true,
"Font Face" : "Tahoma",
"Font Size" : 8,
"Hide Overrides" : 1,
"Hide Overrides Char" : "☀",
"Highlight Subtitles in Frame" : true
},
"Highlight" : {
"Syntax" : true
},
"Provider" : "libass",
"Show Original": false,
"Time Edit" : {
"Insert Mode" : true
}
},
"Subtitle Format" : {
"ASS": {
"Default Style Catalog": "Default"
},
"EBU STL" : {
"Display Standard" : 0,
"Inclusive End Times" : true,
"Line Wrapping Mode" : 1,
"Max Line Length" : 42,
"TV Standard" : 0,
"Text Encoding" : 0,
"Timecode Offset" : {
"H" : 0,
"M" : 0,
"S" : 0,
"F" : 0
},
"Translate Alignments" : true
},
"MicroDVD": {
"Default Style Catalog": "Default",
},
"SRT": {
"Default Style Catalog": "Default",
},
"TTXT": {
"Default Style Catalog": "Default",
},
"TXT": {
"Default Style Catalog": "Default",
}
},
"Timing" : {
"Default Duration" : 3000
},
"Tool" : {
"Colour Picker" : {
"Mode" : 4,
"Recent Colours" : [
{"color" : "&H000000&"},
{"color" : "&H0000FF&"},
{"color" : "&H00FFFF&"},
{"color" : "&H00FF00&"},
{"color" : "&HFFFF00&"},
{"color" : "&HFF0000&"},
{"color" : "&HFF00FF&"},
{"color" : "&HFFFFFF&"}
],
"Last" : {
"X" : -1,
"Y" : -1
},
"Restrict to Window" : false,
"Maximized" : false
},
"Fonts Collector" : {
"Action" : 0
},
"Import" : {
"Text" : {
"Actor Separator" : ":",
"Comment Starter" : "#",
"Include Blank" : false
}
},
"Kanji Timer" : {
"Interpolation" : true
},
"Paste Lines Over" : {
"Fields" : [
{"bool" : false},
{"bool" : false},
{"bool" : false},
{"bool" : false},
{"bool" : false},
{"bool" : false},
{"bool" : false},
{"bool" : false},
{"bool" : false},
{"bool" : true}
]
},
"Preferences" : {
"Page" : 0
},
"Search Replace" : {
"Affect" : 0,
"Field" : 0,
"Match Case" : false,
"RegExp" : false,
"Skip Comments" : false,
"Skip Tags" : false
},
"Select Lines" : {
"Action" : 0,
"Condition" : 0,
"Field" : 0,
"Match" : {
"Case" : false,
"Comment" : false,
"Dialogue" : true
},
"Mode" : 1,
"Text" : ""
},
"Shift Times" : {
"Affect" : 0,
"ByTime" : true,
"Direction" : true,
"Frames" : 0,
"Time" : 0,
"Type" : 0
},
"Spell Checker" : {
"Backend" : "hunspell",
"Language" : "en_US",
"Skip Comments" : false,
"Skip Uppercase" : false
},
"Style Editor" : {
"Last" : {
"Height" : -1,
"Width" : -1,
"X" : -1,
"Y" : -1
},
"Maximized" : false,
"Preview Text" : "Aegisub\\N0123 日本語"
},
"Style Manager" : {
"Last" : {
"X" : -1,
"Y" : -1
},
"Maximized" : false
},
"Styling Assistant" : {
"Last" : {
"X" : -1,
"Y" : -1
},
"Maximized" : false
},
"Thesaurus" : {
"Language" : "en_US"
},
"Timing Post Processor" : {
"Adjacent Bias" : 0.9000000000000000222,
"Enable" : {
"Adjacent" : true,
"Keyframe" : true,
"Lead" : {
"IN" : true,
"OUT" : true
}
},
"Only Selection" : false,
"Lead" : {
"IN" : 100,
"OUT" : 350
},
"Threshold" : {
"Adjacent Gap" : 300,
"Adjacent Overlap" : 50,
"Key End After" : 250,
"Key End Before" : 200,
"Key Start After" : 150,
"Key Start Before" : 200
}
},
"Translation Assistant" : {
"Last" : {
"X" : -1,
"Y" : -1
},
"Maximized" : false,
"Skip Whitespace" : true
},
"Visual" : {
"Perspective": {
"Outer": false,
"Outer Locked": false,
"Grid": false,
"Org Mode": 0
},
"Shape Handle Size": 3,
"Autohide": false
},
"Align to Video" : {
"Tolerance" : 20,
"Maximized" : true
}
},
"Version" : {
"Last Version" : 4040,
"Next Check" : 0
},
"Video" : {
"Disable Scroll Zoom" : false,
"Reverse Zoom" : false,
"Default Zoom" : 7,
"Detached" : {
"Enabled" : false,
"Last" : {
"X" : -1,
"Y" : -1
},
"Maximized" : false
},
"Dummy" : {
"FPS String" : "24000/1001",
"Last" : {
"Height" : 720,
"Length" : 40000,
"Width" : 1280
},
"Pattern" : false
},
"Last Script Resolution Mismatch Choice" : 2,
"Open Audio" : true,
"Overscan Mask" : false,
"Provider" : "FFmpegSource",
"Script Resolution Mismatch" : 1,
"Slider" : {
"Fast Jump Step" : 10,
"Show Keyframes" : true
},
"Subtitle Sync" : true,
"Default to Video Zoom": false
}
}