8000 Slow seeking when streaming from YouTube · Issue #4522 · iina/iina · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Slow seeking when streaming from YouTube #4522

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

Open
1 task
low-batt opened this issue Jul 21, 2023 · 1 comment
Open
1 task

Slow seeking when streaming from YouTube #4522

low-batt opened this issue Jul 21, 2023 · 1 comment

Comments

@low-batt
Copy link
Contributor

System and IINA version:

  • macOS unknown
  • IINA 1.3.2

Expected behavior:
Seeking with the arrow keys is fast.

Actual behavior:
In closed issue #4153 @YU0211 reported:

i tried to play youtube video by pasting link to IINA , in that circumstance I have to wait about 3 seconds every time i press left or right or scrolling .The internet speed is about 300M , so I think the issue may not comes from the internet.

As the issue with Bluetooth audio devices has been fixed in IINA 1.3.2 I am opening up a new issue for this report.

Steps to reproduce:
Stream a video from YouTube and seek using the arrow keys.

  • MPV does not have this problem.

Unknown.

How often does this happen?
Unknown.

@low-batt
Copy link
Contributor Author

I ran a test streaming Big Buck Bunny 60fps 4K from YouTube with audio directed to a Bluetooth speaker. Seeking with the arrow keys worked pretty well. I did encounter pauses when the seek went outside of the buffered parts of the video and IINA was waiting on YouTube.

Having a reasonable speed connection from your ISP is important. However a lot of issues with streaming from YouTube have been traced to YouTube throttling traffic.

The version of yt-dlp being used is critical. I ran this test with the version embedded in IINA 1.3.2:

low-batt@gag ~$ /Applications/IINA.app/Contents/MacOS/youtube-dl --version
2023.06.22
low-batt@gag ~$ 

One way to use the latest version of yt-dlp is to install it using brew and keep it up to date using that package manager. This shows me checking the version of yt-dlp installed by brew using Terminal:

low-batt@gag ~$ which yt-dlp
/opt/homebrew/bin/yt-dlp
low-batt@gag ~$ yt-dlp --version
2023.07.06
low-batt@gag ~$ 

To configure IINA to use the yt-dlp version installed by brew follow these instructions:

  • Start IINA
  • Click on Settings… under the IINA menu
  • The settings panel appears
  • On the left side of the panel click on Network
  • For the Custom youtube-dl path setting specify the full pathname to the directory containing yt-dlp
  • Restart IINA to activate the new settings

Where brew installed yt-dlp can be found using the prefix option as shown here:

low-batt@gag ~$ brew --prefix yt-dlp
/opt/homebrew/opt/yt-dlp
low-batt@gag ~$ 

I configured IINA to use the brew installed version:

issue-slow-youtube

And tested again. For the issue at hand I did not see a difference in seeking speed. However if you are experiencing issues with streaming from YouTube it is always desirable to try the latest yt-dlp and see if it fixes the problem.

So far I'm thinking what you are experiencing is YouTube behavior.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant
0