animate_it 0.3.1 → 0.3.2
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -1
- data/lib/animate_it/version.rb +1 -1
- data/lib/animate_it/video_renderer.rb +4 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0675f1e382659072fd53a4b9453d2a44b1bf8a208075bc43974522195540df1f
|
|
4
|
+
data.tar.gz: c3804ff10fa75939fd23716e555054b64ea0ba45f1eaa9beb36c8b23e5b7c025
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 06fe263c48072dc834609a78c5f3f3f09a2897872740e11d54fd8edcf2dcd986113ae1338ffd941f491077de0c4a3feb100cda5b679ef161052c8cbe123a55f3
|
|
7
|
+
data.tar.gz: d2f7f86b39e2aa3308dc98e9e6cd5bc4956716e03e0e81cc2a5857892ac9f1dea584634b13f3632450561285f361dbb3491964ac58a10296118e2a1375499b26
|
data/CHANGELOG.md
CHANGED
|
@@ -6,10 +6,15 @@ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
|
6
6
|
|
|
7
7
|
## [Unreleased]
|
|
8
8
|
|
|
9
|
+
## [0.3.2] - 2026-07-23
|
|
10
|
+
|
|
9
11
|
### Fixed
|
|
10
12
|
- Studio audio is now served with HTTP byte-range support (Accept-Ranges,
|
|
11
13
|
206 Partial Content). Browsers refuse to seek media served without it, so
|
|
12
14
|
play-pause-play and scrub-then-play restarted clips from 0:00.
|
|
15
|
+
- Multi-track renders no longer bury quiet tracks: the ffmpeg `amix` mux now
|
|
16
|
+
passes `normalize=0`, so declared per-segment gains are the only scaling
|
|
17
|
+
(amix's default divides every input by the track count).
|
|
13
18
|
|
|
14
19
|
## [0.3.1] - 2026-07-22
|
|
15
20
|
|
|
@@ -58,7 +63,8 @@ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
|
58
63
|
- `render_animate_it_video` executable and `animate_it:render` rake task.
|
|
59
64
|
- `animate_it:install` generator.
|
|
60
65
|
|
|
61
|
-
[Unreleased]: https://github.com/joinbuildit/animate_it/compare/v0.3.
|
|
66
|
+
[Unreleased]: https://github.com/joinbuildit/animate_it/compare/v0.3.2...HEAD
|
|
67
|
+
[0.3.2]: https://github.com/joinbuildit/animate_it/compare/v0.3.1...v0.3.2
|
|
62
68
|
[0.3.1]: https://github.com/joinbuildit/animate_it/compare/v0.3.0...v0.3.1
|
|
63
69
|
[0.3.0]: https://github.com/growth-constant/animate_it/compare/v0.2.0...v0.3.0
|
|
64
70
|
[0.2.0]: https://github.com/growth-constant/animate_it/compare/v0.1.0...v0.2.0
|
data/lib/animate_it/version.rb
CHANGED
|
@@ -182,7 +182,10 @@ module AnimateIt
|
|
|
182
182
|
gain = seg.source[:gain] || 1.0
|
|
183
183
|
"[#{i + 1}:a]adelay=#{delay_ms}|#{delay_ms},volume=#{gain}[a#{i}]"
|
|
184
184
|
end
|
|
185
|
-
|
|
185
|
+
# normalize=0: amix's default rescales every input by 1/N, which
|
|
186
|
+
# silently buries a voice-over under a music bed the moment a second
|
|
187
|
+
# track is declared. Declared gains are the only intended scaling.
|
|
188
|
+
mix = "#{audios.length.times.map { |i| "[a#{i}]" }.join}amix=inputs=#{audios.length}:duration=longest:normalize=0[aout]"
|
|
186
189
|
[legs, mix].flatten.join(";")
|
|
187
190
|
end
|
|
188
191
|
|