Open Stypox opened 5 years ago
As future reference for myself and others:
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.
Is there a good sample to use to test skip silence functionality?
I think this is a valid test case: https://www.youtube.com/watch?v=VrMHA3yX_QI
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.
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 this would not do, since there are thousands of skip parts of a length of ~0,5s
then those are probably 2 different features
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.
for the skip functionality there is an external solution. sponsorblock can also skip sections without content. https://github.com/ajayyy/SponsorBlock/
https://github.com/vantezzen/skip-silence is closer to what was asked
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.
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.
@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?
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.
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.