-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathworkflow.yaml
More file actions
61 lines (58 loc) · 1.62 KB
/
Copy pathworkflow.yaml
File metadata and controls
61 lines (58 loc) · 1.62 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
name: ffmpeg
type: graph
tools:
- Tyrrrz/FFmpegBin@8.1
- nodejs/node@v22.21.1
params:
type: object
additionalProperties: false
required: [args]
properties:
args:
type: string
minLength: 1
description: Shell-style argument string passed to ffmpeg or ffprobe, excluding the executable name. JSON array strings are also accepted for exact argv boundaries.
command:
type: string
enum: [ffmpeg, ffprobe]
default: ffmpeg
description: FFmpeg command to run.
workdir:
type: string
default: ""
description: Optional working directory for the command.
env:
type: string
default: ""
description: Extra environment variables as newline-delimited KEY=value entries. JSON object strings are also accepted.
timeoutSeconds:
type: integer
minimum: 1
maximum: 86400
default: 3600
description: Command timeout in seconds.
overwrite:
type: boolean
default: false
description: For ffmpeg, overwrite output files with -y. When false, pass -n to fail if an output exists.
hideBanner:
type: boolean
default: true
description: Pass -hide_banner.
nostdin:
type: boolean
default: true
description: For ffmpeg, pass -nostdin to disable interactive stdin.
maxOutputBytes:
type: integer
minimum: 1024
maximum: 10485760
default: 1048576
description: Maximum bytes captured from stdout and stderr for action outputs.
steps:
- id: run
run: node ./scripts/run-ffmpeg.mjs
timeout_sec: 86400
stdout:
outputs:
decode: json