ffmpeg-skill 1.13.0 → 1.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +72 -29
- package/SKILL.md +46 -41
- package/bin/install.js +1 -1
- package/docs/contract.md +72 -10
- package/package.json +4 -2
- package/references/gotchas.md +85 -1
- package/references/scripts.md +146 -15
- package/scripts/_ass_overlay.py +155 -0
- package/scripts/_common.py +596 -37
- package/scripts/_contract.py +27 -9
- package/scripts/_platforms.py +251 -0
- package/scripts/caption.py +343 -93
- package/scripts/check.py +13 -16
- package/scripts/export.py +87 -11
- package/scripts/fit.py +21 -2
- package/scripts/graphics.py +381 -20
- package/scripts/look.py +35 -0
- package/scripts/overlay.py +72 -15
- package/scripts/render.py +313 -29
- package/scripts/report.py +73 -1
- package/templates/facebook.json +47 -0
- package/templates/linkedin.json +47 -0
- package/templates/podcast.json +22 -0
- package/templates/reels.json +47 -0
- package/templates/shorts.json +47 -0
- package/templates/tiktok.json +47 -0
- package/templates/x.json +47 -0
- package/templates/youtube-shorts.json +47 -0
- package/templates/youtube.json +47 -0
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
{
|
|
2
|
+
"template": "linkedin",
|
|
3
|
+
"output": "$OUTPUT",
|
|
4
|
+
"clips": [
|
|
5
|
+
{
|
|
6
|
+
"src": "$INPUT"
|
|
7
|
+
}
|
|
8
|
+
],
|
|
9
|
+
"frame": {
|
|
10
|
+
"aspect": "1:1",
|
|
11
|
+
"fit": "crop"
|
|
12
|
+
},
|
|
13
|
+
"brand": "$BRAND",
|
|
14
|
+
"captions": {
|
|
15
|
+
"text": "$CUES",
|
|
16
|
+
"animate": "none",
|
|
17
|
+
"karaoke": false,
|
|
18
|
+
"size": 20,
|
|
19
|
+
"position": "bottom",
|
|
20
|
+
"margin": 14
|
|
21
|
+
},
|
|
22
|
+
"graphics": [
|
|
23
|
+
{
|
|
24
|
+
"template": "lower-third",
|
|
25
|
+
"name": "$TITLE",
|
|
26
|
+
"start": 1,
|
|
27
|
+
"end": 6
|
|
28
|
+
}
|
|
29
|
+
],
|
|
30
|
+
"overlays": [
|
|
31
|
+
{
|
|
32
|
+
"image": "$LOGO",
|
|
33
|
+
"position": "top-left"
|
|
34
|
+
}
|
|
35
|
+
],
|
|
36
|
+
"loudness": {
|
|
37
|
+
"lufs": -14,
|
|
38
|
+
"tp": -1.0
|
|
39
|
+
},
|
|
40
|
+
"export": {
|
|
41
|
+
"preset": "linkedin",
|
|
42
|
+
"normalize": true
|
|
43
|
+
},
|
|
44
|
+
"check": {
|
|
45
|
+
"platform": "linkedin"
|
|
46
|
+
}
|
|
47
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"template": "podcast",
|
|
3
|
+
"output": "$OUTPUT",
|
|
4
|
+
"clips": [
|
|
5
|
+
{
|
|
6
|
+
"src": "$INPUT"
|
|
7
|
+
}
|
|
8
|
+
],
|
|
9
|
+
"silence": {
|
|
10
|
+
"threshold": -40,
|
|
11
|
+
"min_silence": 1.0,
|
|
12
|
+
"margin": 0.15
|
|
13
|
+
},
|
|
14
|
+
"loudness": {
|
|
15
|
+
"lufs": -16,
|
|
16
|
+
"tp": -1
|
|
17
|
+
},
|
|
18
|
+
"chapters": "$CHAPTERS",
|
|
19
|
+
"check": {
|
|
20
|
+
"platform": "podcast"
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
{
|
|
2
|
+
"template": "reels",
|
|
3
|
+
"output": "$OUTPUT",
|
|
4
|
+
"clips": [
|
|
5
|
+
{
|
|
6
|
+
"src": "$INPUT"
|
|
7
|
+
}
|
|
8
|
+
],
|
|
9
|
+
"frame": {
|
|
10
|
+
"aspect": "9:16",
|
|
11
|
+
"fit": "crop"
|
|
12
|
+
},
|
|
13
|
+
"brand": "$BRAND",
|
|
14
|
+
"captions": {
|
|
15
|
+
"text": "$CUES",
|
|
16
|
+
"animate": "pop",
|
|
17
|
+
"karaoke": true,
|
|
18
|
+
"size": 24,
|
|
19
|
+
"position": "bottom",
|
|
20
|
+
"margin": 58
|
|
21
|
+
},
|
|
22
|
+
"graphics": [
|
|
23
|
+
{
|
|
24
|
+
"template": "hook",
|
|
25
|
+
"title": "$TITLE",
|
|
26
|
+
"start": 0,
|
|
27
|
+
"end": 3
|
|
28
|
+
}
|
|
29
|
+
],
|
|
30
|
+
"overlays": [
|
|
31
|
+
{
|
|
32
|
+
"image": "$LOGO",
|
|
33
|
+
"position": "top-left"
|
|
34
|
+
}
|
|
35
|
+
],
|
|
36
|
+
"loudness": {
|
|
37
|
+
"lufs": -14,
|
|
38
|
+
"tp": -1.0
|
|
39
|
+
},
|
|
40
|
+
"export": {
|
|
41
|
+
"preset": "reels",
|
|
42
|
+
"normalize": true
|
|
43
|
+
},
|
|
44
|
+
"check": {
|
|
45
|
+
"platform": "reels"
|
|
46
|
+
}
|
|
47
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
{
|
|
2
|
+
"template": "shorts",
|
|
3
|
+
"output": "$OUTPUT",
|
|
4
|
+
"clips": [
|
|
5
|
+
{
|
|
6
|
+
"src": "$INPUT"
|
|
7
|
+
}
|
|
8
|
+
],
|
|
9
|
+
"frame": {
|
|
10
|
+
"aspect": "9:16",
|
|
11
|
+
"fit": "crop"
|
|
12
|
+
},
|
|
13
|
+
"brand": "$BRAND",
|
|
14
|
+
"captions": {
|
|
15
|
+
"text": "$CUES",
|
|
16
|
+
"animate": "pop",
|
|
17
|
+
"karaoke": true,
|
|
18
|
+
"size": 24,
|
|
19
|
+
"position": "bottom",
|
|
20
|
+
"margin": 52
|
|
21
|
+
},
|
|
22
|
+
"graphics": [
|
|
23
|
+
{
|
|
24
|
+
"template": "hook",
|
|
25
|
+
"title": "$TITLE",
|
|
26
|
+
"start": 0,
|
|
27
|
+
"end": 3
|
|
28
|
+
}
|
|
29
|
+
],
|
|
30
|
+
"overlays": [
|
|
31
|
+
{
|
|
32
|
+
"image": "$LOGO",
|
|
33
|
+
"position": "top-left"
|
|
34
|
+
}
|
|
35
|
+
],
|
|
36
|
+
"loudness": {
|
|
37
|
+
"lufs": -14,
|
|
38
|
+
"tp": -1.0
|
|
39
|
+
},
|
|
40
|
+
"export": {
|
|
41
|
+
"preset": "shorts",
|
|
42
|
+
"normalize": true
|
|
43
|
+
},
|
|
44
|
+
"check": {
|
|
45
|
+
"platform": "shorts"
|
|
46
|
+
}
|
|
47
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
{
|
|
2
|
+
"template": "tiktok",
|
|
3
|
+
"output": "$OUTPUT",
|
|
4
|
+
"clips": [
|
|
5
|
+
{
|
|
6
|
+
"src": "$INPUT"
|
|
7
|
+
}
|
|
8
|
+
],
|
|
9
|
+
"frame": {
|
|
10
|
+
"aspect": "9:16",
|
|
11
|
+
"fit": "crop"
|
|
12
|
+
},
|
|
13
|
+
"brand": "$BRAND",
|
|
14
|
+
"captions": {
|
|
15
|
+
"text": "$CUES",
|
|
16
|
+
"animate": "pop",
|
|
17
|
+
"karaoke": true,
|
|
18
|
+
"size": 24,
|
|
19
|
+
"position": "bottom",
|
|
20
|
+
"margin": 63
|
|
21
|
+
},
|
|
22
|
+
"graphics": [
|
|
23
|
+
{
|
|
24
|
+
"template": "hook",
|
|
25
|
+
"title": "$TITLE",
|
|
26
|
+
"start": 0,
|
|
27
|
+
"end": 3
|
|
28
|
+
}
|
|
29
|
+
],
|
|
30
|
+
"overlays": [
|
|
31
|
+
{
|
|
32
|
+
"image": "$LOGO",
|
|
33
|
+
"position": "top-left"
|
|
34
|
+
}
|
|
35
|
+
],
|
|
36
|
+
"loudness": {
|
|
37
|
+
"lufs": -14,
|
|
38
|
+
"tp": -1.0
|
|
39
|
+
},
|
|
40
|
+
"export": {
|
|
41
|
+
"preset": "tiktok",
|
|
42
|
+
"normalize": true
|
|
43
|
+
},
|
|
44
|
+
"check": {
|
|
45
|
+
"platform": "tiktok"
|
|
46
|
+
}
|
|
47
|
+
}
|
package/templates/x.json
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
{
|
|
2
|
+
"template": "x",
|
|
3
|
+
"output": "$OUTPUT",
|
|
4
|
+
"clips": [
|
|
5
|
+
{
|
|
6
|
+
"src": "$INPUT"
|
|
7
|
+
}
|
|
8
|
+
],
|
|
9
|
+
"frame": {
|
|
10
|
+
"aspect": "16:9",
|
|
11
|
+
"fit": "pad"
|
|
12
|
+
},
|
|
13
|
+
"brand": "$BRAND",
|
|
14
|
+
"captions": {
|
|
15
|
+
"text": "$CUES",
|
|
16
|
+
"animate": "none",
|
|
17
|
+
"karaoke": false,
|
|
18
|
+
"size": 20,
|
|
19
|
+
"position": "bottom",
|
|
20
|
+
"margin": 14
|
|
21
|
+
},
|
|
22
|
+
"graphics": [
|
|
23
|
+
{
|
|
24
|
+
"template": "lower-third",
|
|
25
|
+
"name": "$TITLE",
|
|
26
|
+
"start": 1,
|
|
27
|
+
"end": 6
|
|
28
|
+
}
|
|
29
|
+
],
|
|
30
|
+
"overlays": [
|
|
31
|
+
{
|
|
32
|
+
"image": "$LOGO",
|
|
33
|
+
"position": "top-left"
|
|
34
|
+
}
|
|
35
|
+
],
|
|
36
|
+
"loudness": {
|
|
37
|
+
"lufs": -14,
|
|
38
|
+
"tp": -1.0
|
|
39
|
+
},
|
|
40
|
+
"export": {
|
|
41
|
+
"preset": "x",
|
|
42
|
+
"normalize": true
|
|
43
|
+
},
|
|
44
|
+
"check": {
|
|
45
|
+
"platform": "x"
|
|
46
|
+
}
|
|
47
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
{
|
|
2
|
+
"template": "youtube-shorts",
|
|
3
|
+
"output": "$OUTPUT",
|
|
4
|
+
"clips": [
|
|
5
|
+
{
|
|
6
|
+
"src": "$INPUT"
|
|
7
|
+
}
|
|
8
|
+
],
|
|
9
|
+
"frame": {
|
|
10
|
+
"aspect": "9:16",
|
|
11
|
+
"fit": "crop"
|
|
12
|
+
},
|
|
13
|
+
"brand": "$BRAND",
|
|
14
|
+
"captions": {
|
|
15
|
+
"text": "$CUES",
|
|
16
|
+
"animate": "pop",
|
|
17
|
+
"karaoke": true,
|
|
18
|
+
"size": 24,
|
|
19
|
+
"position": "bottom",
|
|
20
|
+
"margin": 52
|
|
21
|
+
},
|
|
22
|
+
"graphics": [
|
|
23
|
+
{
|
|
24
|
+
"template": "hook",
|
|
25
|
+
"title": "$TITLE",
|
|
26
|
+
"start": 0,
|
|
27
|
+
"end": 3
|
|
28
|
+
}
|
|
29
|
+
],
|
|
30
|
+
"overlays": [
|
|
31
|
+
{
|
|
32
|
+
"image": "$LOGO",
|
|
33
|
+
"position": "top-left"
|
|
34
|
+
}
|
|
35
|
+
],
|
|
36
|
+
"loudness": {
|
|
37
|
+
"lufs": -14,
|
|
38
|
+
"tp": -1.0
|
|
39
|
+
},
|
|
40
|
+
"export": {
|
|
41
|
+
"preset": "shorts",
|
|
42
|
+
"normalize": true
|
|
43
|
+
},
|
|
44
|
+
"check": {
|
|
45
|
+
"platform": "shorts"
|
|
46
|
+
}
|
|
47
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
{
|
|
2
|
+
"template": "youtube",
|
|
3
|
+
"output": "$OUTPUT",
|
|
4
|
+
"clips": [
|
|
5
|
+
{
|
|
6
|
+
"src": "$INPUT"
|
|
7
|
+
}
|
|
8
|
+
],
|
|
9
|
+
"frame": {
|
|
10
|
+
"aspect": "16:9",
|
|
11
|
+
"fit": "pad"
|
|
12
|
+
},
|
|
13
|
+
"brand": "$BRAND",
|
|
14
|
+
"captions": {
|
|
15
|
+
"text": "$CUES",
|
|
16
|
+
"animate": "none",
|
|
17
|
+
"karaoke": false,
|
|
18
|
+
"size": 20,
|
|
19
|
+
"position": "bottom",
|
|
20
|
+
"margin": 14
|
|
21
|
+
},
|
|
22
|
+
"graphics": [
|
|
23
|
+
{
|
|
24
|
+
"template": "lower-third",
|
|
25
|
+
"name": "$TITLE",
|
|
26
|
+
"start": 1,
|
|
27
|
+
"end": 6
|
|
28
|
+
}
|
|
29
|
+
],
|
|
30
|
+
"overlays": [
|
|
31
|
+
{
|
|
32
|
+
"image": "$LOGO",
|
|
33
|
+
"position": "top-left"
|
|
34
|
+
}
|
|
35
|
+
],
|
|
36
|
+
"loudness": {
|
|
37
|
+
"lufs": -14,
|
|
38
|
+
"tp": -1.0
|
|
39
|
+
},
|
|
40
|
+
"export": {
|
|
41
|
+
"preset": "youtube",
|
|
42
|
+
"normalize": true
|
|
43
|
+
},
|
|
44
|
+
"check": {
|
|
45
|
+
"platform": "youtube"
|
|
46
|
+
}
|
|
47
|
+
}
|