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

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

Open
ahaoboy opened this issue Jul 14, 2024 · 4 comments
Open

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

ahaoboy opened this issue Jul 14, 2024 · 4 comments

Comments

@ahaoboy
Copy link

ahaoboy commented Jul 14, 2024

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
Copy link
Contributor

N-R-K commented Jul 14, 2024

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

@ahaoboy
Copy link
Author

ahaoboy commented Jul 15, 2024

image

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

@ahaoboy
Copy link
Author

ahaoboy commented Jul 16, 2024

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

@lirtle
Copy link

lirtle commented Dec 6, 2024

I have this same problem when codec is vp09. When I switch to avc1 thumbs generate.

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

3 participants