-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfixtures.toml
More file actions
210 lines (160 loc) · 4.24 KB
/
Copy pathfixtures.toml
File metadata and controls
210 lines (160 loc) · 4.24 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
# fixtures.toml
# Configuration for the mp4-fixtures test file generator.
# Run: ./generate.sh [--config path/to/fixtures.toml]
[settings]
ffmpeg_bin = "ffmpeg" # path to ffmpeg binary, or just "ffmpeg" if on PATH
output_dir = "./output"
output_format = "mp4" # mp4 | mov | mkv — swaps container extension globally
[categories]
codecs = true
resolutions = true
frame_rates = true
audio = true
container = true
metadata = true
edge_cases = true
hdr = false # slow/large; enable explicitly when needed
[defaults]
crf = 23
audio_bitrate = "128k"
duration = 10 # seconds
resolution = "1920x1080"
fps = 30
# ── Per-fixture overrides ─────────────────────────────────────────────────────
# Any key here overrides the [defaults] for that specific fixture.
# Set enabled = false to skip a fixture without disabling its whole category.
[fixtures.codecs.h264_baseline]
enabled = true
crf = 23
[fixtures.codecs.h264_main]
enabled = true
crf = 23
[fixtures.codecs.h264_high]
enabled = true
crf = 23
[fixtures.codecs.hevc_main]
enabled = true
crf = 28
[fixtures.codecs.hevc_main10]
enabled = true
crf = 28
[fixtures.codecs.av1]
enabled = true
crf = 30
[fixtures.codecs.vp9]
enabled = true
crf = 33
[fixtures.resolutions.r360p]
enabled = true
resolution = "640x360"
[fixtures.resolutions.r480p]
enabled = true
resolution = "854x480"
[fixtures.resolutions.r720p]
enabled = true
resolution = "1280x720"
[fixtures.resolutions.r1080p]
enabled = true
resolution = "1920x1080"
[fixtures.resolutions.r4k]
enabled = true
resolution = "3840x2160"
[fixtures.frame_rates.fps_2397]
enabled = true
fps = 23.976
[fixtures.frame_rates.fps_24]
enabled = true
fps = 24
[fixtures.frame_rates.fps_25]
enabled = true
fps = 25
[fixtures.frame_rates.fps_2997]
enabled = true
fps = 29.97
[fixtures.frame_rates.fps_30]
enabled = true
fps = 30
[fixtures.frame_rates.fps_50]
enabled = true
fps = 50
[fixtures.frame_rates.fps_5994]
enabled = true
fps = 59.94
[fixtures.frame_rates.fps_60]
enabled = true
fps = 60
[fixtures.audio.aac_lc]
enabled = true
audio_bitrate = "128k"
[fixtures.audio.aac_he]
enabled = true
audio_bitrate = "64k"
[fixtures.audio.opus]
enabled = true
audio_bitrate = "128k"
[fixtures.audio.ac3]
enabled = true
audio_bitrate = "192k"
[fixtures.audio.multichannel_51]
enabled = true
[fixtures.audio.multi_track]
enabled = true
[fixtures.audio.audio_only]
enabled = true
[fixtures.audio.video_only]
enabled = true
[fixtures.container.fragmented_fmp4]
enabled = true
[fixtures.container.faststart]
enabled = true
[fixtures.container.moov_at_end]
enabled = true
[fixtures.container.edit_list]
enabled = true
[fixtures.metadata.rotation_90]
enabled = true
[fixtures.metadata.rotation_180]
enabled = true
[fixtures.metadata.rotation_270]
enabled = true
[fixtures.metadata.chapters]
enabled = true
duration = 30
[fixtures.metadata.subtitle_track]
enabled = true
[fixtures.edge_cases.very_short]
enabled = true
duration = 0.5
[fixtures.edge_cases.long_2hr]
enabled = true
duration = 7200
crf = 40
audio_bitrate = "32k"
[fixtures.edge_cases.truncated]
enabled = true
[fixtures.edge_cases.bframes]
enabled = true
crf = 23
[fixtures.edge_cases.many_fragments]
enabled = true
[fixtures.hdr.hevc_hdr10]
enabled = true
crf = 28
resolution = "3840x2160"
# ── Custom fixtures ───────────────────────────────────────────────────────────
# Add arbitrary fixtures without editing any script.
# `name` becomes the output filename (no extension needed).
# `video_args` and `audio_args` are passed verbatim to ffmpeg.
# All other keys are optional and fall back to [defaults].
# [[custom]]
# name = "my_special_case"
# enabled = true
# video_args = "-c:v libx264 -crf 18 -vf scale=1280:720"
# audio_args = "-c:a aac -b:a 192k"
# duration = 5
# [[custom]]
# name = "prores_422"
# enabled = true
# video_args = "-c:v prores_ks -profile:v 2"
# audio_args = "-c:a pcm_s16le"
# duration = 10