Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Skip silence" feature #2635

Closed
mkaflowski opened this issue Mar 30, 2017 · 3 comments
Closed

"Skip silence" feature #2635

mkaflowski opened this issue Mar 30, 2017 · 3 comments
Assignees

Comments

@mkaflowski
Copy link

Is there any chance to implement "skip silence" feature to Exoplayer or how can force player to do it? Some Podcast apps have it implemented.

@gemiren
Copy link

gemiren commented Mar 30, 2017

This will be an awesome feature.

@fjzboy
Copy link

fjzboy commented Oct 16, 2017

@mkaflowski ,
I just need this feature too, i try remove the silence data in a custom AudioProcessor, but make nothing

@andrewlewis andrewlewis self-assigned this Oct 16, 2017
ojw28 pushed a commit that referenced this issue Mar 29, 2018
This uses a simple threshold-based algorithm for classifying audio frames as
silent, and removes silences from input audio that last longer than a given
duration.

The plan is to expose this functionality via PlaybackParameters in a later
change.

Issue: #2635

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=190737027
@ojw28
Copy link
Contributor

ojw28 commented Mar 29, 2018

This feature is available to try on our dev-v2 branch. You can turn on silence skipping using playback parameters, like:

player.setPlaybackParameters(
    new PlaybackParameters(/* speed= */ 1, /* pitch= */ 1, /* skipSilence= */ true));

@ojw28 ojw28 closed this as completed Apr 4, 2018
@google google locked and limited conversation to collaborators Aug 10, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants