Skip to content

Commit dfe4721

Browse files
toniheiSheenaChhabra
authored andcommitted
Update skip silence algorithm
The updated algorithm has two main improvements: - The silence padding is not constant but a ratio of the original silence (up to a defined max) to more naturally represent the original gaps. - The silence is not instantly going to zero, but uses a ramp down and up for a smooth volume transition and also retains a small percentage of the original noise for more natural "silences" that still contain some background noise. #minor-release Issue: google/ExoPlayer#7423 PiperOrigin-RevId: 602322442 (cherry picked from commit bb53333)
1 parent 826f20d commit dfe4721

File tree

3 files changed

+582
-180
lines changed

3 files changed

+582
-180
lines changed

RELEASENOTES.md

+7
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,13 @@ This release includes the following changes since the
3838
* Extract audio types from TS descriptors and map them to role flags,
3939
allowing users to make better-informed audio track selections
4040
([#973](https://github.com/androidx/media/pull/973)).
41+
* Audio:
42+
* Improve silence skipping algorithm with smooth volume ramp, retained
43+
minimal silence and more natural silence durations
44+
([#7423](https://github.com/google/ExoPlayer/issues/7423)).
45+
* Video:
46+
* Text:
47+
* Metadata:
4148
* Image:
4249
* Add support for DASH thumbnails. Grid images are cropped and individual
4350
thumbnails are provided to `ImageOutput` close to their presentation

0 commit comments

Comments
 (0)