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

Smarter Speed-up #1636

Open
4 of 20 tasks
ImprovedTube opened this issue Mar 24, 2023 · 18 comments
Open
4 of 20 tasks

Smarter Speed-up #1636

ImprovedTube opened this issue Mar 24, 2023 · 18 comments
Labels
Completion / Revision Rethink, complete, improve, tweak our feature or structure. data compare: https://github.com/LuanRT/YouTube.js & maybe github.com/MarcGuiselin/youtube-refined Feature request Wish or idea Filtering & Discovery (of Content) good first issue A GitHub standard for inviting (new) contributors *Congratulations in advance!* help wanted Just an old github standard we add automatically. (The team can remove it when working on it.) List of tasks Efficient to have a List for this (sub-)project. (Each task might be worth an extra thread.) Philosophy 🧩Plan ready Solution or some specification noted; To-Do; steps for implementation (+raw brainstorming too maybe) Set & forget (automatic feature) All permanent effects should be favorable by design. (Avoiding side-effects >99.8% of the time) Structures (UX) & ORG Let's focus on structure! Everything should be as easily seen/found as or where it is relevant. ✰Unique unique ~ Worth extra work (not done anywhere in any way? out of the box?) up-for-grabs (a github standard for inviting new contributors) - Welcome! ♥

Comments

@ImprovedTube
Copy link
Member

ImprovedTube commented Mar 24, 2023

Speed-watching by whitelist:

  • Speed by category: instead of forcing speed always you could only apply that to specific categories and in characteristic proportions. The biggest categories tend to be contentually slow & well spoken/pronounced too
    • Entertainment & Gaming ( 37?% of Youtube!)
  • Speed by transcript (easy transcripts, speed by current paragraph's language difficulty/average word length ...)
  • Speed by meta-info: words like "Keynote" (commercial, rather sort) can play faster than "lecture" (academic, rather long)

Permanent speed-watching exclusions /blacklist.

  • Short duration
  • Difficult Transcript (~long words)
  • Category: education (~4%?)
  • Art
    • Silent or no words (=No sound and/or empty transcript, or hardly any.)
    • Poetry read out; ...?; ...?
    • Music (blacklisted by default, yet non-greedy (=attempting 0% false positives), so that a "1% error-rate" will rather mean accidentally changing speed of "1% of music" ("false-negatives"), than matching any non-music.
      • The category is music ( ~19?% of YouTube, mostly honest/accourate? /the rare case of category-spam might not matter)
        • or a "music-identifer" is included like (official video lyrics (cover version) karaoke sing-along soundtrack)
        • but the video title & tags/keywords contain no word like interview, documentary or backsage
          • (While this covers a majority, not all languages are added yet & the word 'documentary' could again be required to not have a certain length unlike a song. etc. etc. Or every song-title with such word could be whitelisted (funny/rare)
          • Also considering duration and the word "Album"
          • Music may also be: When YouTube recoginized a song(/songs), thats registered /can be bought and duration fits.
          • Beat-detection in the sound data iself?

"Speed-watching" (many users dont literally watch, so:)

  • "Speed-listening": Option: Only speed-up while tab is not visible
  • "Speed-reading": More Subtitle- & Transcript-options [with an invisible [and/or mute] player]

  • In the end of course a permanent personal default speed might stay "only" semi-automated and you might decide differently for a few % of videos - so it should come with a "quick-reset-button" (we already got a keyboard shortcut for resetting speed)

#1463 (similar)

@ImprovedTube ImprovedTube self-assigned this Mar 24, 2023
@ImprovedTube ImprovedTube removed their assignment Mar 24, 2023
@ImprovedTube ImprovedTube added 🧩Plan ready Solution or some specification noted; To-Do; steps for implementation (+raw brainstorming too maybe) Completion / Revision Rethink, complete, improve, tweak our feature or structure. Filtering & Discovery (of Content) labels Mar 24, 2023
@ImprovedTube ImprovedTube added the Feature request Wish or idea label May 1, 2023
@ImprovedTube
Copy link
Member Author

ImprovedTube commented Aug 24, 2023

( fixed speed by category #680 )

@ImprovedTube ImprovedTube added the data compare: https://github.com/LuanRT/YouTube.js & maybe github.com/MarcGuiselin/youtube-refined label Sep 10, 2023
@ImprovedTube ImprovedTube added the Structures (UX) & ORG Let's focus on structure! Everything should be as easily seen/found as or where it is relevant. label Sep 30, 2023
@ImprovedTube
Copy link
Member Author

ImprovedTube commented Sep 30, 2023

Maybe you like to see the above? (Many of you have cared before*)
(I'm not a "speed-watcher" myself yet, but based on the assumtion, that there are at least 1 million people in the world, who should be active "speed-watchers",...)
...- why isnt there a more coordinated teamwork /"lobby"? /Why isn't there a bounty on this issue thread - so that some poor developer/s would already have done all of it & more.


( * @samyk made a PR for this & many of you have reported similar wishes & bugs: @Rytisgit #680 @Ole28 #551 @deRvyn #387 @EvocativeOlash @AbdulrahmaNosser @starobots @ShlomiRex @oooooooooooooooo )

@ImprovedTube ImprovedTube added the up-for-grabs (a github standard for inviting new contributors) - Welcome! ♥ label Sep 30, 2023
@chirag127
Copy link

chirag127 commented Sep 30, 2023

Just normal speeding as it is is fine for me. I don't need these features.

@ImprovedTube
Copy link
Member Author

welcome back 👋 @chirag127 then you might use a "quick-exit" though from your default-speed? tagged you as of #921 😊

@chirag127
Copy link

welcome back 👋 @chirag127 then you might use a "quick-exit" though from your default-speed? tagged you as of #921 😊

Na, I'm not even watching the videos on the laptop anymore. Just using the new pipe on mobile which already have the skip silence.

@ImprovedTube
Copy link
Member Author

ImprovedTube commented Sep 30, 2023

i see @chirag127 That's why i added #Philosophy /this is the long run. Congratulations on your Github metrics!

@Eyevou
Copy link

Eyevou commented Sep 30, 2023

If we're going with #Philosophy - I'll write a bit.

In my opinion, music is for pleasure and should be slowly enjoyed while information should get into your brain as fast as reasonably possible.

Current implementation works really well 99% of the time. There are some times where speedup takes a moment to kick-in but it's never been a hassle. While things can always be improved this is currently not much of an issue. The only thing I can think of is to make sure it's executed as one of the first operational checks when entering a video, if possible, after layout. Seeing stuff pop-in is a bit more annoying than a video being 500ms late to increase its speed.

@chirag127
Copy link

If we're going with #Philosophy - I'll write a bit.

In my opinion, music is for pleasure and should be slowly enjoyed while information should get into your brain as fast as reasonably possible.

Current implementation works really well 99% of the time. There are some times where speedup takes a moment to kick-in but it's never been a hassle. While things can always be improved this is currently not much of an issue. The only thing I can think of is to make sure it's executed as one of the first operational checks when entering a video, if possible, after layout. Seeing stuff pop-in is a bit more annoying than a video being 500ms late to increase its speed.

In my opinion the youtube is not for the music and I just use the Spotify. And correct there should never be a speedup in the music.

@glubsy
Copy link

glubsy commented Sep 30, 2023

I'm not convinced we need these features that sound like over-engineering a bit to me.

The current implementation is just perfect, I use speed up all the time, and being able to use the mouse wheel to adjust speed is awesome.

@ImprovedTube
Copy link
Member Author

ImprovedTube commented Sep 30, 2023

#Philosophy

speed-watching can be just an example, with the underlying universal thoughts:

  • AFAIK nothing similar has been implemented before.

  • Many people can use this to "save time" (?) - so the feature should be as smart as possible.

    • Many use it already with this extension, so optimizingit will be(/feel) worth a lot & immediately too.
      • Let's say it needs 5 people & 40 working hours...to have a dynamic speed through transcript-analysis etc. (simply counting word speed & length, or maybe including an AI API / "chatgpt")
        • ,...then that number is miniscule compared to the number of users.
  • So i just wonder why it isn't done? 🤣 / Won't we? (And 25 other things too?)

    • And does it stand or fall with the person who went through the last 100 messages about speed-watching, while managing this project & tag half of the people again, which feels tidy (~meaningful) ( - yet almost rare/"too much"?)
  • Of course there are bigger questions (like: Why is world-economy so unnecessarily unfair to the hungry billion people etc.)
    just this is one of the things, which only have to be done once (if ever) - like a wikipedia article.

  • i know of people who are developing for fun.

    • Where is their collective To-Do List?

@ImprovedTube
Copy link
Member Author

ImprovedTube commented Sep 30, 2023

RE: music:

There are some times where speedup takes a moment to kick-in but it's never been a hassle.

it should speed up as soon as the tags are checked. Then it still waits up to a few seconds for youtube's music references in the description to load, only to undo speed-up applied already (rarely.) - Thank you for your effort testing!

I just use the Spotify

The code/logic could be re-purposed in different context (such as new-pipe or videos on other sites). Yes, generally common ways, such as Spotify, might be convenient already and as an individual we can refuse to learn about reduant / parallel pathes (yet both matter and a lot of music is not on spotify, not everybody will/can pay, etc.)

@Eyevou
Copy link

Eyevou commented Sep 30, 2023

In my opinion the youtube is not for the music and I just use the Spotify.

To be fair music.youtube.com is a thing. I wish that youtube would just redirect or filter all traffic over there when it's tagged as music but make it accessible like they do Shorts? It's a decent Spotify clone but no one uses it because there isn't a standalone app or it's so disconnected from the Main site, as a whole.

@ImprovedTube ImprovedTube added the ✰Unique unique ~ Worth extra work (not done anywhere in any way? out of the box?) label Sep 30, 2023
@Amariithynar
Copy link

In my opinion the youtube is not for the music and I just use the Spotify.

To be fair music.youtube.com is a thing. I wish that youtube would just redirect or filter all traffic over there when it's tagged as music but make it accessible like they do Shorts? It's a decent Spotify clone but no one uses it because there isn't a standalone app or it's so disconnected from the Main site, as a whole.

I really would rather not be force-redirected to an inferior experience at Youtube Music versus the default Youtube experience tailored even further directly to my desired results. I also abhor Shorts in general and find them a plague upon the site and wish they weren't as integrated as they are, so that definitely isn't something I'd consider as a benefit, either.

@ImprovedTube
Copy link
Member Author

i assume music.youtube allows to switch off the video to only hear the sound if you buy youtube premium

@starobots
Copy link

it looks llike a good feature.
I hope it can run 2x speed on normal video and run 1 x speed on any kind of music.
thanks bro.

@ImprovedTube ImprovedTube added help wanted Just an old github standard we add automatically. (The team can remove it when working on it.) good first issue A GitHub standard for inviting (new) contributors *Congratulations in advance!* labels Oct 19, 2023
@ImprovedTube ImprovedTube added the Set & forget (automatic feature) All permanent effects should be favorable by design. (Avoiding side-effects >99.8% of the time) label Nov 6, 2023
@Anoaxx
Copy link

Anoaxx commented Nov 8, 2023

I like simple speed up as i like simple voume up(still u cant go above 100% with kays(maybe option to allow that??)

ImprovedTube added a commit that referenced this issue Nov 24, 2023
ImprovedTube added a commit that referenced this issue Jan 12, 2024
@ImprovedTube ImprovedTube added the List of tasks Efficient to have a List for this (sub-)project. (Each task might be worth an extra thread.) label May 24, 2024
@surflotus
Copy link

yet another Speed-watching by whitelist

  • play at the previous speed of each id

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Completion / Revision Rethink, complete, improve, tweak our feature or structure. data compare: https://github.com/LuanRT/YouTube.js & maybe github.com/MarcGuiselin/youtube-refined Feature request Wish or idea Filtering & Discovery (of Content) good first issue A GitHub standard for inviting (new) contributors *Congratulations in advance!* help wanted Just an old github standard we add automatically. (The team can remove it when working on it.) List of tasks Efficient to have a List for this (sub-)project. (Each task might be worth an extra thread.) Philosophy 🧩Plan ready Solution or some specification noted; To-Do; steps for implementation (+raw brainstorming too maybe) Set & forget (automatic feature) All permanent effects should be favorable by design. (Avoiding side-effects >99.8% of the time) Structures (UX) & ORG Let's focus on structure! Everything should be as easily seen/found as or where it is relevant. ✰Unique unique ~ Worth extra work (not done anywhere in any way? out of the box?) up-for-grabs (a github standard for inviting new contributors) - Welcome! ♥
Projects
None yet
Development

No branches or pull requests

8 participants