Metadata beyond end of file - incomplete file?
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 37k
- Forks
- 3.5k
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 22
Description
Important Information
Provide following Information:
- mpv version mpv-x86_64-v3-20230430-git-6d422b3.7z
- Windows Version 11
- Source of the mpv binary updater.bat
- If known which version of mpv introduced the problem
- Possible screenshot or video of visual glitches
If you're not using git master or the latest release, update.
Releases are listed here: https://github.com/mpv-player/mpv/releases
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.
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.
Expected behavior
Video plays and is able to seek
Actual behavior
When seeking, mpv hangs and then crashes / exits
Log shows [mkv] mkv metadata beyond end of file - incomplete file?
Log file
C:\Program Files\mpv>mpv --log-file=output.txt "U:\Bill Nye Science Guy (2017)\Bill Nye Science Guy (2017) [Bluray-1080p][AAC 2.0][x264]-HANDJOB.mkv"
[mkv] mkv metadata beyond end of file - incomplete file?
(+) Video --vid=1 () (h264 1920x1080 23.976fps)
(+) Audio --aid=1 --alang=eng () (aac 2ch 48000Hz)
Subs --sid=1 --slang=eng (subrip)
Using hardware decoding (d3d11va).
AO: [wasapi] 44100Hz stereo 2ch float
VO: [gpu] 1920x1080 d3d11[nv12]
AV: 00:05:00 / 01:36:48 (5%) A-V: 0.000 Cache: 316s/500MB
Make a log file made with -v -v or --log-file=output.txt, paste it to
https://0x0.st/ or attach it to the github issue, and replace this text with a
link to it.
The issue will be closed for ignoring the issue template.
Sample files
Sample files needed to reproduce this issue can be uploaded to https://0x0.st/
or similar sites. (Only needed if the issue cannot be reproduced without it.)
Do not use garbage like "cloud storage", especially not Google Drive.
Contributor guide
No contributing guide indexed for this repository
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.
Research direction
No source file or test is named. Start with the supplied reproduction command and output.txt log, first checking whether the seek crash reproduces with --no-config; then trace the MKV metadata warning through the playback path. Done means seeking this media no longer hangs or exits, with regression coverage if an appropriate test location is identified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- audio-video-rtc
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100