invidious icon indicating copy to clipboard operation
invidious copied to clipboard

[feature request] variable playback rate; fast forward during silence;

Open Stypox opened this issue 6 years ago • 15 comments

These two features exist in the NewPipe app and they are both really useful. They are not present in the official Youtube website.

  • variable playback rate: I suggest replacing the current menu with a slider, to let the user set the playback rate to what they want, with a 0.05x leap in between values. The current setup (a menu with few possible speeds) is inconvenient (long menu) and prevents me from choosing something like 1.4x (for me some videos are too slow at 1.25x, but too fast at 1.5x).

  • fast forward during silence: listening to lecture videos is time-consuming, and some of the time could be saved by fast forwarding the video when the volume is under a predefined threshold (e.g. when the teacher is writing on the blackboard). I would add a button to the video player, to enable/disable it.

Stypox avatar May 16 '19 21:05 Stypox

As future reference for myself and others:

omarroth avatar May 19 '19 14:05 omarroth

fast forward during silence: listening to lecture videos is time-consuming, and some of the time could be saved by fast forwarding the video when the volume is under a predefined threshold (e.g. when the teacher is writing on the blackboard). I would add a button to the video player, to enable/disable it.

i would love to have user created skip patterns for videos that you can share. so you could define silent parts, ads or intros that you and possibly others do not want to watch and then provide it as a link, eg: invidio.us?v=$videoID&f=$filterID. this could also include variable playback speed for certain regions which you do not want to skip but just dash through.

elypter avatar May 19 '19 18:05 elypter

Is there a good sample to use to test skip silence functionality?

omarroth avatar May 21 '19 00:05 omarroth

I think this is a valid test case: https://www.youtube.com/watch?v=VrMHA3yX_QI

Stypox avatar May 21 '19 04:05 Stypox

In order to skip silence using the Web Audio API the resource has to be proxied, see this answer on SO (so requesting the audio source using fetch or XHR).

Proxying audio is more feasible than video since it's much smaller but still something to be aware of. I'm currently not sure how much extra effort would be required to integrate this into the player.

omarroth avatar Oct 09 '19 14:10 omarroth

maybe instead of making this work completely automatically let users define the skipable sections. it could done in the form of links in the comments like this https://invidio.us/watch?v=VrMHA3yX_QI&start=23&end=45

the one with the most upvotes will be the default if the option is active.

elypter avatar Oct 09 '19 16:10 elypter

@elypter this would not do, since there are thousands of skip parts of a length of ~0,5s

Stypox avatar Oct 09 '19 18:10 Stypox

then those are probably 2 different features

elypter avatar Oct 09 '19 18:10 elypter

This issue has been automatically marked as stale and will be closed in 30 days because it has not had recent activity and is much likely outdated. If you think this issue is still relevant and applicable, you just have to post a comment and it will be unmarked.

github-actions[bot] avatar Jan 02 '21 12:01 github-actions[bot]

for the skip functionality there is an external solution. sponsorblock can also skip sections without content. https://github.com/ajayyy/SponsorBlock/

elypter avatar Jan 02 '21 20:01 elypter

https://github.com/vantezzen/skip-silence is closer to what was asked

ajayyy avatar Jan 04 '21 19:01 ajayyy

thats a cool concept. i wonder if on the fly editing could be employed to bleep out sponsors or blur ot product placement in a distant future.

elypter avatar Jan 04 '21 22:01 elypter

thats a cool concept. i wonder if on the fly editing could be employed to bleep out sponsors or blur ot product placement in a distant future.

This is definitely something that has to be done by an extension on the user side. On the fly video decoding/processing/re-encoding requires a lot of graphical processing power that can't be achieved reasonnably onthe server's side.

SamantazFox avatar Oct 20 '21 13:10 SamantazFox

@unixfox

Sorry, but I still have some questions regarding my closed post. Is this a planned feature, and is there a workaround in the meantime? Is there a way I can achieve it on my own?

Opening-Button-8988 avatar Dec 21 '22 04:12 Opening-Button-8988

Just poke at the source code and add the speeds you want. I put in 4x on my invidious instance because I don't have the time to watch full movies.

gptlang avatar May 03 '24 17:05 gptlang