po5 / thumbfast

High-performance on-the-fly thumbnailer script for mpv
Mozilla Public License 2.0
848 stars 35 forks source link

When playing youtube videos, the thumb cannot be displayed #126

Open ahaoboy opened 2 months ago

ahaoboy commented 2 months ago

Do I need to add some configuration? I see that there is yt-dlp related processing in the code, but it does not display I use the default configuration of uosc Local videos can thumb correctly

./mpv.com 'https://www.youtube.com/watch?v=Ugb80d5lxEM'
N-R-K commented 2 months ago

You need to enable network, https://github.com/po5/thumbfast?tab=readme-ov-file#configuration

ahaoboy commented 1 month ago

image

After changing the setting network=yes, a white image is always displayed.

ahaoboy commented 1 month ago

A minimal reproducible structure, only one script is installed, and the default configuration only changes network=yes, but thumb is always white and no error in the terminal

To avoid network problems, I turned off the VPN and played a bilibili video. The same thing happened.

 ./mpv.com 'https://www.bilibili.com/video/BV1Ba411g7EC'

mpv.conf

script-opts=ytdl_hook-ytdl_path=./portable_config/yt-dlp
ytdl-raw-options=cookies=./portable_config/cookies.txt,mark-watched=
.
├── d3dcompiler_43.dll
├── mpv.com
├── mpv.exe
└── portable_config
    ├── cookies.txt
    ├── mpv.conf
    ├── script-opts
    │   └── thumbfast.conf
    ├── scripts
    │   ├── osc.lua
    │   └── thumbfast.lua
    └── yt-dlp