Skip to content

Commit d323b4b

Browse files
committed
fix ci
1 parent 1680942 commit d323b4b

19 files changed

+244
-54
lines changed

.devcontainer/setup.sh

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
11
#!/bin/bash
22

33
# Create and activate virtual environment
4-
python -m venv .venv
5-
source .venv/bin/activate
6-
4+
uv venv
75
# Install dependencies
86
uv pip install -r requirements.txt
97
uv pip install -e .
108

119
# Install pre-commit hooks
12-
pre-commit install --install-hooks
10+
uv run pre-commit install --install-hooks
1311

1412
# Setup GitHub CLI if available
1513
if command -v gh &> /dev/null; then
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"__class__": "FFMpegFilterManuallyDefined",
3+
"formula_typings_input": null,
4+
"formula_typings_output": null,
5+
"name": "hstack_vaapi",
6+
"pre": []
7+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"__class__": "FFMpegFilterManuallyDefined",
3+
"formula_typings_input": null,
4+
"formula_typings_output": null,
5+
"name": "ladspa",
6+
"pre": []
7+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"__class__": "FFMpegFilterManuallyDefined",
3+
"formula_typings_input": null,
4+
"formula_typings_output": null,
5+
"name": "lv2",
6+
"pre": []
7+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"__class__": "FFMpegFilterManuallyDefined",
3+
"formula_typings_input": null,
4+
"formula_typings_output": null,
5+
"name": "program_opencl",
6+
"pre": []
7+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"__class__": "FFMpegFilterManuallyDefined",
3+
"formula_typings_input": null,
4+
"formula_typings_output": null,
5+
"name": "vstack_vaapi",
6+
"pre": []
7+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"__class__": "FFMpegFilterManuallyDefined",
3+
"formula_typings_input": null,
4+
"formula_typings_output": null,
5+
"name": "xstack_vaapi",
6+
"pre": []
7+
}

src/scripts/parse_help/tests/__snapshots__/test_parse_filter/test_parse_filter[acrossfade][extract-help-text].json

Lines changed: 60 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -217,12 +217,40 @@
217217
"help": "inverted sine cardinal function",
218218
"name": "isinc",
219219
"value": "18"
220+
},
221+
{
222+
"__class__": "FFMpegFilterOptionChoice",
223+
"flags": "..F.A......",
224+
"help": "quartic",
225+
"name": "quat",
226+
"value": "19"
227+
},
228+
{
229+
"__class__": "FFMpegFilterOptionChoice",
230+
"flags": "..F.A......",
231+
"help": "quartic root",
232+
"name": "quatr",
233+
"value": "20"
234+
},
235+
{
236+
"__class__": "FFMpegFilterOptionChoice",
237+
"flags": "..F.A......",
238+
"help": "squared quarter of sine wave",
239+
"name": "qsin2",
240+
"value": "21"
241+
},
242+
{
243+
"__class__": "FFMpegFilterOptionChoice",
244+
"flags": "..F.A......",
245+
"help": "squared half of sine wave",
246+
"name": "hsin2",
247+
"value": "22"
220248
}
221249
],
222250
"default": "tri",
223-
"description": "set fade curve type for 1st stream (from -1 to 18) (default tri)",
251+
"description": "set fade curve type for 1st stream (from -1 to 22) (default tri)",
224252
"flags": "..F.A......",
225-
"max": "18",
253+
"max": "22",
226254
"min": "-1",
227255
"name": "curve1",
228256
"required": false,
@@ -377,12 +405,40 @@
377405
"help": "inverted sine cardinal function",
378406
"name": "isinc",
379407
"value": "18"
408+
},
409+
{
410+
"__class__": "FFMpegFilterOptionChoice",
411+
"flags": "..F.A......",
412+
"help": "quartic",
413+
"name": "quat",
414+
"value": "19"
415+
},
416+
{
417+
"__class__": "FFMpegFilterOptionChoice",
418+
"flags": "..F.A......",
419+
"help": "quartic root",
420+
"name": "quatr",
421+
"value": "20"
422+
},
423+
{
424+
"__class__": "FFMpegFilterOptionChoice",
425+
"flags": "..F.A......",
426+
"help": "squared quarter of sine wave",
427+
"name": "qsin2",
428+
"value": "21"
429+
},
430+
{
431+
"__class__": "FFMpegFilterOptionChoice",
432+
"flags": "..F.A......",
433+
"help": "squared half of sine wave",
434+
"name": "hsin2",
435+
"value": "22"
380436
}
381437
],
382438
"default": "tri",
383-
"description": "set fade curve type for 2nd stream (from -1 to 18) (default tri)",
439+
"description": "set fade curve type for 2nd stream (from -1 to 22) (default tri)",
384440
"flags": "..F.A......",
385-
"max": "18",
441+
"max": "22",
386442
"min": "-1",
387443
"name": "curve2",
388444
"required": false,

src/scripts/parse_help/tests/__snapshots__/test_parse_filter/test_parse_filter[acrossfade][help-text].raw

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ acrossfade AVOptions:
1212
d <duration> ..F.A...... set cross fade duration (default 0)
1313
overlap <boolean> ..F.A...... overlap 1st stream end with 2nd stream start (default true)
1414
o <boolean> ..F.A...... overlap 1st stream end with 2nd stream start (default true)
15-
curve1 <int> ..F.A...... set fade curve type for 1st stream (from -1 to 18) (default tri)
15+
curve1 <int> ..F.A...... set fade curve type for 1st stream (from -1 to 22) (default tri)
1616
nofade -1 ..F.A...... no fade; keep audio as-is
1717
tri 0 ..F.A...... linear slope
1818
qsin 1 ..F.A...... quarter of sine wave
@@ -33,7 +33,11 @@ acrossfade AVOptions:
3333
losi 16 ..F.A...... logistic sigmoid
3434
sinc 17 ..F.A...... sine cardinal function
3535
isinc 18 ..F.A...... inverted sine cardinal function
36-
c1 <int> ..F.A...... set fade curve type for 1st stream (from -1 to 18) (default tri)
36+
quat 19 ..F.A...... quartic
37+
quatr 20 ..F.A...... quartic root
38+
qsin2 21 ..F.A...... squared quarter of sine wave
39+
hsin2 22 ..F.A...... squared half of sine wave
40+
c1 <int> ..F.A...... set fade curve type for 1st stream (from -1 to 22) (default tri)
3741
nofade -1 ..F.A...... no fade; keep audio as-is
3842
tri 0 ..F.A...... linear slope
3943
qsin 1 ..F.A...... quarter of sine wave
@@ -54,7 +58,11 @@ acrossfade AVOptions:
5458
losi 16 ..F.A...... logistic sigmoid
5559
sinc 17 ..F.A...... sine cardinal function
5660
isinc 18 ..F.A...... inverted sine cardinal function
57-
curve2 <int> ..F.A...... set fade curve type for 2nd stream (from -1 to 18) (default tri)
61+
quat 19 ..F.A...... quartic
62+
quatr 20 ..F.A...... quartic root
63+
qsin2 21 ..F.A...... squared quarter of sine wave
64+
hsin2 22 ..F.A...... squared half of sine wave
65+
curve2 <int> ..F.A...... set fade curve type for 2nd stream (from -1 to 22) (default tri)
5866
nofade -1 ..F.A...... no fade; keep audio as-is
5967
tri 0 ..F.A...... linear slope
6068
qsin 1 ..F.A...... quarter of sine wave
@@ -75,7 +83,11 @@ acrossfade AVOptions:
7583
losi 16 ..F.A...... logistic sigmoid
7684
sinc 17 ..F.A...... sine cardinal function
7785
isinc 18 ..F.A...... inverted sine cardinal function
78-
c2 <int> ..F.A...... set fade curve type for 2nd stream (from -1 to 18) (default tri)
86+
quat 19 ..F.A...... quartic
87+
quatr 20 ..F.A...... quartic root
88+
qsin2 21 ..F.A...... squared quarter of sine wave
89+
hsin2 22 ..F.A...... squared half of sine wave
90+
c2 <int> ..F.A...... set fade curve type for 2nd stream (from -1 to 22) (default tri)
7991
nofade -1 ..F.A...... no fade; keep audio as-is
8092
tri 0 ..F.A...... linear slope
8193
qsin 1 ..F.A...... quarter of sine wave
@@ -96,4 +108,8 @@ acrossfade AVOptions:
96108
losi 16 ..F.A...... logistic sigmoid
97109
sinc 17 ..F.A...... sine cardinal function
98110
isinc 18 ..F.A...... inverted sine cardinal function
111+
quat 19 ..F.A...... quartic
112+
quatr 20 ..F.A...... quartic root
113+
qsin2 21 ..F.A...... squared quarter of sine wave
114+
hsin2 22 ..F.A...... squared half of sine wave
99115

src/scripts/parse_help/tests/__snapshots__/test_parse_filter/test_parse_filter[acrossfade][parse-section-tree].json

Lines changed: 28 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,12 @@
2424
"d <duration> ..F.A...... set cross fade duration (default 0)",
2525
"overlap <boolean> ..F.A...... overlap 1st stream end with 2nd stream start (default true)",
2626
"o <boolean> ..F.A...... overlap 1st stream end with 2nd stream start (default true)",
27-
"curve1 <int> ..F.A...... set fade curve type for 1st stream (from -1 to 18) (default tri)",
28-
"c1 <int> ..F.A...... set fade curve type for 1st stream (from -1 to 18) (default tri)",
29-
"curve2 <int> ..F.A...... set fade curve type for 2nd stream (from -1 to 18) (default tri)",
30-
"c2 <int> ..F.A...... set fade curve type for 2nd stream (from -1 to 18) (default tri)"
27+
"curve1 <int> ..F.A...... set fade curve type for 1st stream (from -1 to 22) (default tri)",
28+
"c1 <int> ..F.A...... set fade curve type for 1st stream (from -1 to 22) (default tri)",
29+
"curve2 <int> ..F.A...... set fade curve type for 2nd stream (from -1 to 22) (default tri)",
30+
"c2 <int> ..F.A...... set fade curve type for 2nd stream (from -1 to 22) (default tri)"
3131
],
32-
"c1 <int> ..F.A...... set fade curve type for 1st stream (from -1 to 18) (default tri)": [
32+
"c1 <int> ..F.A...... set fade curve type for 1st stream (from -1 to 22) (default tri)": [
3333
"nofade -1 ..F.A...... no fade; keep audio as-is",
3434
"tri 0 ..F.A...... linear slope",
3535
"qsin 1 ..F.A...... quarter of sine wave",
@@ -49,9 +49,13 @@
4949
"desi 15 ..F.A...... double-exponential sigmoid",
5050
"losi 16 ..F.A...... logistic sigmoid",
5151
"sinc 17 ..F.A...... sine cardinal function",
52-
"isinc 18 ..F.A...... inverted sine cardinal function"
52+
"isinc 18 ..F.A...... inverted sine cardinal function",
53+
"quat 19 ..F.A...... quartic",
54+
"quatr 20 ..F.A...... quartic root",
55+
"qsin2 21 ..F.A...... squared quarter of sine wave",
56+
"hsin2 22 ..F.A...... squared half of sine wave"
5357
],
54-
"c2 <int> ..F.A...... set fade curve type for 2nd stream (from -1 to 18) (default tri)": [
58+
"c2 <int> ..F.A...... set fade curve type for 2nd stream (from -1 to 22) (default tri)": [
5559
"nofade -1 ..F.A...... no fade; keep audio as-is",
5660
"tri 0 ..F.A...... linear slope",
5761
"qsin 1 ..F.A...... quarter of sine wave",
@@ -71,9 +75,13 @@
7175
"desi 15 ..F.A...... double-exponential sigmoid",
7276
"losi 16 ..F.A...... logistic sigmoid",
7377
"sinc 17 ..F.A...... sine cardinal function",
74-
"isinc 18 ..F.A...... inverted sine cardinal function"
78+
"isinc 18 ..F.A...... inverted sine cardinal function",
79+
"quat 19 ..F.A...... quartic",
80+
"quatr 20 ..F.A...... quartic root",
81+
"qsin2 21 ..F.A...... squared quarter of sine wave",
82+
"hsin2 22 ..F.A...... squared half of sine wave"
7583
],
76-
"curve1 <int> ..F.A...... set fade curve type for 1st stream (from -1 to 18) (default tri)": [
84+
"curve1 <int> ..F.A...... set fade curve type for 1st stream (from -1 to 22) (default tri)": [
7785
"nofade -1 ..F.A...... no fade; keep audio as-is",
7886
"tri 0 ..F.A...... linear slope",
7987
"qsin 1 ..F.A...... quarter of sine wave",
@@ -93,9 +101,13 @@
93101
"desi 15 ..F.A...... double-exponential sigmoid",
94102
"losi 16 ..F.A...... logistic sigmoid",
95103
"sinc 17 ..F.A...... sine cardinal function",
96-
"isinc 18 ..F.A...... inverted sine cardinal function"
104+
"isinc 18 ..F.A...... inverted sine cardinal function",
105+
"quat 19 ..F.A...... quartic",
106+
"quatr 20 ..F.A...... quartic root",
107+
"qsin2 21 ..F.A...... squared quarter of sine wave",
108+
"hsin2 22 ..F.A...... squared half of sine wave"
97109
],
98-
"curve2 <int> ..F.A...... set fade curve type for 2nd stream (from -1 to 18) (default tri)": [
110+
"curve2 <int> ..F.A...... set fade curve type for 2nd stream (from -1 to 22) (default tri)": [
99111
"nofade -1 ..F.A...... no fade; keep audio as-is",
100112
"tri 0 ..F.A...... linear slope",
101113
"qsin 1 ..F.A...... quarter of sine wave",
@@ -115,6 +127,10 @@
115127
"desi 15 ..F.A...... double-exponential sigmoid",
116128
"losi 16 ..F.A...... logistic sigmoid",
117129
"sinc 17 ..F.A...... sine cardinal function",
118-
"isinc 18 ..F.A...... inverted sine cardinal function"
130+
"isinc 18 ..F.A...... inverted sine cardinal function",
131+
"quat 19 ..F.A...... quartic",
132+
"quatr 20 ..F.A...... quartic root",
133+
"qsin2 21 ..F.A...... squared quarter of sine wave",
134+
"hsin2 22 ..F.A...... squared half of sine wave"
119135
]
120136
}

src/scripts/parse_help/tests/__snapshots__/test_parse_filter/test_parse_filter[afade][extract-help-text].json

Lines changed: 30 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -270,12 +270,40 @@
270270
"help": "inverted sine cardinal function",
271271
"name": "isinc",
272272
"value": "18"
273+
},
274+
{
275+
"__class__": "FFMpegFilterOptionChoice",
276+
"flags": "..F.A....T.",
277+
"help": "quartic",
278+
"name": "quat",
279+
"value": "19"
280+
},
281+
{
282+
"__class__": "FFMpegFilterOptionChoice",
283+
"flags": "..F.A....T.",
284+
"help": "quartic root",
285+
"name": "quatr",
286+
"value": "20"
287+
},
288+
{
289+
"__class__": "FFMpegFilterOptionChoice",
290+
"flags": "..F.A....T.",
291+
"help": "squared quarter of sine wave",
292+
"name": "qsin2",
293+
"value": "21"
294+
},
295+
{
296+
"__class__": "FFMpegFilterOptionChoice",
297+
"flags": "..F.A....T.",
298+
"help": "squared half of sine wave",
299+
"name": "hsin2",
300+
"value": "22"
273301
}
274302
],
275303
"default": "tri",
276-
"description": "set fade curve type (from -1 to 18) (default tri)",
304+
"description": "set fade curve type (from -1 to 22) (default tri)",
277305
"flags": "..F.A....T.",
278-
"max": "18",
306+
"max": "22",
279307
"min": "-1",
280308
"name": "curve",
281309
"required": false,

src/scripts/parse_help/tests/__snapshots__/test_parse_filter/test_parse_filter[afade][help-text].raw

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ afade AVOptions:
1919
st <duration> ..F.A....T. set time to start fading (default 0)
2020
duration <duration> ..F.A....T. set fade duration (default 0)
2121
d <duration> ..F.A....T. set fade duration (default 0)
22-
curve <int> ..F.A....T. set fade curve type (from -1 to 18) (default tri)
22+
curve <int> ..F.A....T. set fade curve type (from -1 to 22) (default tri)
2323
nofade -1 ..F.A....T. no fade; keep audio as-is
2424
tri 0 ..F.A....T. linear slope
2525
qsin 1 ..F.A....T. quarter of sine wave
@@ -40,7 +40,11 @@ afade AVOptions:
4040
losi 16 ..F.A....T. logistic sigmoid
4141
sinc 17 ..F.A....T. sine cardinal function
4242
isinc 18 ..F.A....T. inverted sine cardinal function
43-
c <int> ..F.A....T. set fade curve type (from -1 to 18) (default tri)
43+
quat 19 ..F.A....T. quartic
44+
quatr 20 ..F.A....T. quartic root
45+
qsin2 21 ..F.A....T. squared quarter of sine wave
46+
hsin2 22 ..F.A....T. squared half of sine wave
47+
c <int> ..F.A....T. set fade curve type (from -1 to 22) (default tri)
4448
nofade -1 ..F.A....T. no fade; keep audio as-is
4549
tri 0 ..F.A....T. linear slope
4650
qsin 1 ..F.A....T. quarter of sine wave
@@ -61,6 +65,10 @@ afade AVOptions:
6165
losi 16 ..F.A....T. logistic sigmoid
6266
sinc 17 ..F.A....T. sine cardinal function
6367
isinc 18 ..F.A....T. inverted sine cardinal function
68+
quat 19 ..F.A....T. quartic
69+
quatr 20 ..F.A....T. quartic root
70+
qsin2 21 ..F.A....T. squared quarter of sine wave
71+
hsin2 22 ..F.A....T. squared half of sine wave
6472
silence <double> ..F.A....T. set the silence gain (from 0 to 1) (default 0)
6573
unity <double> ..F.A....T. set the unity gain (from 0 to 1) (default 1)
6674

0 commit comments

Comments
 (0)