TeamNewPipe / NewPipe

A libre lightweight streaming front-end for Android.
https://newpipe.net
GNU General Public License v3.0
30.19k stars 2.97k forks source link

Add user-facing settings for configuring the parameters of the skip-silence feature #10760

Open User087 opened 6 months ago

User087 commented 6 months ago

Checklist

Feature description

Am I correct in thinking that this: https://github.com/google/ExoPlayer/issues/6705 having been resolved should make it possible to enable the user to configure the skip-silence feature, so they can change the minimum duration of silence to be skipped, the threshold volume below which is classified as 'silence', and the duration of 'padding' on the edges of any silent portion?

Similar to but more general than #10479

Why do you want this feature?

Having these parameters as configurable options could help in adapting the silence skipping to fit different videos which could differ in the volume of spoken parts and speed of speech etc. Being stuck with one set of values for those parameters can lead to the silence skipping being too agressive for some videos and not enough so for others.

Additional information

No response

ABJ4403 commented 6 months ago

Early mockup screenshot can give better idea of what we're expecting :/

I kinda wanted this too as well tho

jstetten commented 5 months ago

I personally feel like this is an important issue, if indeed implementable, not a niche one.

The biggest issue is the lack of any padding whatsoever on either side of the skipped portion, resulting in very, very speeded-up, unnatural and choppy speech. The end result, when enabled, is audio with (comparably) long pauses between clauses within sentences, coupled with zero pause whatsoever between sentences — the exact opposite of how human speech is meant to be comprehended.

For this reason, I rarely use the feature and settle for increasing playback speed and manually fast-forwarding when needed, instead. The drawbacks:

Removing silence from conversations is the first job of all pro audio editors, something applied to all (non-live) commercial audio we've consumed in every medium for the greater part of a century.

As is, I find it much too aggressive to use for the majority of videos I listen to, though I'd very much like to. Doesn't stop NewPipe from being an amazing app though!

User087 commented 5 months ago

Related: https://github.com/AntennaPod/AntennaPod/pull/6903