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

A "Seek failed" error occurs when playing a link with a username and password. #13965

Open
IC0hO opened this issue Apr 22, 2024 · 3 comments
Open
Labels

Comments

@IC0hO
Copy link
Contributor

IC0hO commented Apr 22, 2024

Important Information

Provide following Information:

  • mpv version
    mpv v0.38.0-62-ge7b0d6b3 Copyright © 2000-2024 mpv/MPlayer/mplayer2 projects
  • Windows Version
    Windows 11 23H2 OS build:22631.3447
  • Source of the mpv binary
    https://github.com/shinchiro/mpv-winbuild-cmake
  • If known which version of mpv introduced the problem
  • GPU model, driver and version
    GPU model: NVIDIA GeForce RTX 3070 Driver version: 552.22
  • Possible screenshot or video of visual glitches
    Record video

Reproduction steps

Try to reproduce your issue with --no-config first. If it isn't reproducible
with --no-config try to first find out which option or script causes your issue.

If the issue is performance-related, try to reproduce it with --no-config
--profile=fast, which is designed to work on lower-end mobile devices.
Additionally, enable hardware decoding with --hwdec=yes or the Ctrl+h shortcut.

Describe the reproduction steps as precise as possible. It's very likely that
the bug you experience wasn't reproduced by the developer because the workflow
differs from your own.
.\mpv.com --no-config "http://fgqt:cqtwcjaq@dav.mypikpak.com/1/2.mkv"

Expected behavior

mpv should be able to play links with username and password normally

Actual behavior

Links with user names and passwords sometimes cannot be played, and links that can be played appear to be seek failed. But the link can be played without user password.

Log file

Make a log file made with -v -v or --log-file=output.txt, attach it to
the issue, and replace this text with a link to it.
output.txt
Without the log file, this issue will be closed for ignoring the issue template.

In the case of a crash, please provide a backtrace.

@IC0hO IC0hO added the os:win label Apr 22, 2024
@aicynide
Copy link

@IC0hO hello Chinese, the url you provided is invaid. Have you changed the URL because its JAV link (remember, JAV is anti-national element to CCP as its from Japan)
To use pikpak you have to mount pikpak drive using rclone and then play with mpv or get streamable URL from pikpak dashboard, pikpak provides URL for potplayer, you can paste that URL in mpv or copy from your Download Manager like IDM and play in mpv

@IC0hO
Copy link
Contributor Author

IC0hO commented Apr 22, 2024

Of course I will turn off pikpak's webdav function, the above is just an example. The same problem also occurs when using the webdav function of software such as alist directly. Links using user names and passwords cannot be played normally. This problem does not occur in other playback software such as vlc and potplayer. The reason why I want to use the link directly is because I wrote a plugin that can directly browse webdav files in mpv.

I speculate that it is a problem with ffmpeg, because I have the same problem with ffplay, and seek failed appears.

@aicynide
Copy link

I wrote a plugin that can directly browse webdav files in mpv.

Okay but use the uosc context menu or https://github.com/tsl0922/mpv-menu-plugin for your script

@IC0hO IC0hO changed the title Cannot play links with username and password A "Seek failed" error occurs when playing a link with a username and password. May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants