marzzzello / mpv_thumbnail_script

A Lua script to show preview thumbnails in mpv's OSC seekbar, sans external dependencies (fork)
GNU General Public License v3.0
278 stars 20 forks source link

support for youtube video #12

Closed SonaliBendre closed 2 years ago

marzzzello commented 2 years ago

It is supported

tastytea commented 2 years ago

0.4.8 with mpv 0.33.1 doesn't show thumbnails with https://www.youtube.com/watch?v=aqz-KE-bpKQ (or any other youtube video). Local files work. There is no error message.

C0D3D3V commented 2 years ago

@tastytea I think it struggles with your 4k video, test mpv https://www.youtube.com/watch\?v\=ZyJKE3j7op8 this works for me on mpv version 0.34.1

C0D3D3V commented 2 years ago

mpv --ytdl-format=worst https://www.youtube.com/watch\?v\=aqz-KE-bpKQ also works

C0D3D3V commented 2 years ago

We could maybe use --ytdl-format=worst for thumbnails to generate the thumbnails faster

or --ytdl-format="best[width<=200]" with 200 replaced with thumbnail_width from the settings

tastytea commented 2 years ago

No, that doesn't work either here. Maybe I need a newer mpv?

C0D3D3V commented 2 years ago

yes you always have to use the newest version since this script updates along with mpv

tastytea commented 2 years ago

Hmm no, 0.34.1 doesn't work either with youtube.

C0D3D3V commented 2 years ago

but the video plays?

C0D3D3V commented 2 years ago

Also create a new issue for that with detailed description and your terminal output. Since it clearly works for me and @marzzzello