[partially_]seekable property isn't reliable
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 55/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- c
- Domain
- audio-video-rtc, cli
Research direction
Start by running the two provided mpv observe_property reproduction commands and compare their output with the attached logs. Trace the seekable and partially_seekable property entry points in mpv's C source, then verify that non-seekable files and cache-seekable streams report the expected values in both cases.
Written by the indexing model from the issue text.
Description
mpv Information
mpv v0.41.0 Copyright © 2000-2025 mpv/MPlayer/mplayer2 projects
built on Aug 28 2026 19:44:41
libplacebo version: v7.360.1
FFmpeg version: n9.0.1
FFmpeg library versions:
libavcodec 63.1.101
libavdevice 63.1.101
libavfilter 12.1.101
libavformat 63.1.101
libavutil 61.1.101
libswresample 7.1.101
libswscale 10.1.101
Other Information
- Linux version: Manjaro Linux
- Kernel Version: 7.0.9-1-cachyos-bore
- Mesa/GPU Driver Version: OpenGL version string: 4.6 (Compatibility Profile) Mesa 26.2.2-arch1.1
- Window Manager and Version: KDE Plasma 6.7.4
- Source of mpv: repository
Reproduction Steps
The tests are commands to be copied and pasted in a console to observe the properties when opening a non-seekable file and partially seekable (thanks to the cache) stream.
Test 1 (non-seekable file):
p=/tmp/w.lua; mkfifo $p; echo 'local function h(n,v) if v ~= nil then print(n .. " changed to: " .. tostring(v)) end end; mp.observe_property("partially_seekable", "string", h); mp.observe_property("seekable", "string", h)' > $p & mpv --script=$p ealogo.vp6; rm $p
Test 2 (cache-seekable stream):
p=/tmp/w.lua; mkfifo $p; echo 'local function h(n,v) if v ~= nil then print(n .. " changed to: " .. tostring(v)) end end; mp.observe_property("partially_seekable", "string", h); mp.observe_property("seekable", "string", h)' > $p & mpv --script=$p https://9a81dd4ee3884d0dbcacafaf0d81327a.mediatailor.us-east-1.amazonaws.com/v1/master/04fd913bb278d8775298c26fdca9d9841f37601f/RakutenTV-eu_BilliardsTV/playlist.m3u8; rm $p
Expected Behavior
Test 1 (non-seekable file):
seekable changed to: no
Test 2 (cache-seekable stream):
partially_seekable changed to: yes
seekable changed to: yes
Actual Behavior
Test 1 (non-seekable file):
seekable changed to: yes
Test 2 (cache-seekable stream):
seekable changed to: no
Log File
output Test 1 (non-seekable file).txt
output Test 2 (cache-seekable stream).txt
Sample Files
ealogo.vp6.zip
(the ealogo.vp6 file should be extracted first otherwise it will be identified correctly as seekable)
I carefully read all instruction and confirm that I did the following:
- I tested and confirmed that the issue exists with the latest release version or newer.
- I provided all required information including system and mpv version.
- I produced the log file with the exact same set of files, parameters, and conditions used in "Reproduction Steps", with the addition of
--log-file=output.txt. - I produced the log file while the behaviors described in "Actual Behavior" were actively observed.
- I attached the full, untruncated log file.
- I attached the backtrace in the case of a crash.
- Dominant language
- C
- Stars
- 38.2k
- Forks
- 3.7k
- Avg merge
- 1d 13h
- Merged PRs (30d)
- 76
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from mpv-player/mpv
-
meta:feature-request
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
mpv-player/mpv#18855 · 2 comments ·
Maintainers usually reply within 1 day
-
meta:feature-request
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
mpv-player/mpv#18683 · 4 comments ·
Maintainers usually reply within 1 day
-
Subtitle delay value displays "-0ms"May be free again A pull request for this issue was closed without being merged. Openos:linux
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
mpv-player/mpv#18649 · 1 comment ·
Maintainers usually reply within 1 day
-
meta:feature-request
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
mpv-player/mpv#18464 ·
Maintainers usually reply within 1 day
-
Keyboard shortcut next and previous secondary subtitle filePossibly taken @ravarnax claimed this 225 days ago. Openmeta:feature-request
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
mpv-player/mpv#17693 · 5 comments · 1 reaction ·
Maintainers usually reply within 1 day
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Maintainers usually reply within 1 day
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
ChupathingyCE/chupathingyce#1550 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
redis/redis#16302 · 1 comment ·
Maintainers usually reply within 1 day
-
slice
Difficulty 2/5 1-3 hours Newbie friendliness 73/100
Life-Framework/Life-Framework#3878 ·
Maintainers usually reply within 1 day
-
`sha256()` returns a wrong hash when libsql-ffi is built with gcc 11 or laterPossibly taken @colinhacks claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
tursodatabase/libsql#2333 ·
Maintainers usually reply within 11 days