Commit cd80633
authored
feat!: implement new API to also handle multiple transcoding outputs (#8)
* feat!: implement new and better API to also handle multiple transcoding outputs
- Added new, more powerful (though less extensible) DSL to build ffmpeg commands.
- Introduced new concept of long-lived presets and transcoders.
- Removed full output storage during the transcoding process.
- Added built-in presets that can be used out-of-the-box:
- H.264 360p all the way up to 4K resolution.
- AAC 128k all the way up to 320k bit rate.
- DASH H.264 360p all the way up to 4K resolution.
- DASH AAC 128k all the way up to 320k bit rate.
- Dropped support for Ruby 3.0, Ruby 3.1 is now the minimum supported version.
Refs: ARC-9901
* test: reduce flakyness in transcoder spec
Refs: ARC-9901
* feat(presets): add preset to create simple thumbnails
Refs: ARC-9901
* fix(logging): update logs to include the correct procname
Refs: ARC-9901
* fix(io): allow IO timeout to actually be infinite when set to nil
Refs: ARC-9901
* refactor(command-args): make the min_bit_rate method more readable
Refs: ARC-9901
* refactor(reporters): simplify the match? method of the progress and silence reporters
Refs: ARC-9901
* refactor(scale-filter): introduce constants for magic scale filter dimensions
Refs: ARC-99011 parent a3404b8 commit cd80633
86 files changed
Lines changed: 4749 additions & 2105 deletions
File tree
- .github/workflows
- lib
- ffmpeg
- filters
- presets
- dash
- reporters
- spec
- ffmpeg
- filters
- reporters
- fixtures
- bin
- images
- wrong_type
- media
- movies
- outputs
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | | - | |
| 17 | + | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
22 | | - | |
23 | | - | |
| 21 | + | |
| 22 | + | |
24 | 23 | | |
25 | 24 | | |
26 | 25 | | |
| |||
32 | 31 | | |
33 | 32 | | |
34 | 33 | | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
43 | 44 | | |
44 | 45 | | |
45 | 46 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
41 | 44 | | |
42 | 45 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
0 commit comments