iv-org / invidious

Invidious is an alternative front-end to YouTube
https://invidious.io
GNU Affero General Public License v3.0
16.07k stars 1.77k forks source link

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

Open Stypox opened 5 years ago

Stypox commented 5 years ago

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

omarroth commented 5 years ago

As future reference for myself and others:

elypter commented 5 years ago

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.

omarroth commented 5 years ago

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

Stypox commented 5 years ago

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

omarroth commented 4 years ago

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.

elypter commented 4 years ago

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.

Stypox commented 4 years ago

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

elypter commented 4 years ago

then those are probably 2 different features

github-actions[bot] commented 3 years ago

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.

elypter commented 3 years ago

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

ajayyy commented 3 years ago

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

elypter commented 3 years ago

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.

SamantazFox commented 2 years ago

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.

Opening-Button-8988 commented 1 year ago

@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?

gptlang commented 4 months ago

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.