Video freeze but not audio because caching failed for YT high res videos
os:win
### mpv Information
```bash
mpv v0.41.0-826-g5abce15f1 Copyright © 2000-2026 mpv/MPlayer/mplayer2 projects
built on Jun 28 2026 16:02:32
libplacebo version: v7.365.0 (v7.360.0-90-g50a7571-dirty)
FFmpeg version: N-125350-g3f6bf150c
FFmpeg library versions:
libavcodec 63.2.100
libavdevice 63.2.100
libavfilter 12.2.100
libavformat 63.2.100
libavutil 61.2.100
libswresample 7.2.100
libswscale 10.2.100
```
### Other Information
```text
- Windows version: Windows 10 IoT Entreprise LTSC 21H2
- GPU model, driver and version: AMD Radeon RX 9070 XT - 32.0.31019.2002 - 26.6.1
- Source of mpv: zhongfly/mpv-winbuild
- Latest known working version: Idk because I recently started to play YT high res videos
- Issue started after the following happened: Same here
```
### Reproduction Steps
Open any high res video from youtube : `mpv --gpu-debug --no-config --log-file=output.txt --demuxer-max-bytes=2G https://youtu.be/AxLqdGme5nc`
### Expected Behavior
Cache fully reached : `(Paused) AV: 00:00:03 / 01:28:48 (0%) A-V: 0.000 Cache: 3577s/2048MB`
Video playing without issue until the end of the video because caching resume as expected during playback
No warning/error
### Actual Behavior
Cache is not fully reached : `AV: 00:00:11 / 01:28:48 (0%) A-V: 0.000 Cache: 1785s/1276MB`
Video freeze when reaching end of cache but audio still playing until end of video
Warnings/errors :
> [curl] Failure when receiving data from the peer, retrying (#1) from 1113256197
> [curl] Failure when receiving data from the peer, retrying (#2) from 1113256197
> [curl] Failure when receiving data from the peer, retrying (#3) from 1113256197
> [curl] Failure when receiving data from the peer, retrying (#4) from 1113256197
> [curl] Failure when receiving data from the peer, retrying (#5) from 1113256197
> [curl] transfer failed: Failure when receiving data from the peer
> [ffmpeg/demuxer] mov,mp4,m4a,3gp,3g2,mj2: Packet corrupt (stream = 0, dts = 23002112).
> [ffmpeg] NULL: Invalid OBU length: 12032, but only 10174 bytes remaining in fragment.
> [ffmpeg] NULL: Failed to parse temporal unit.
> [ffmpeg/demuxer] mov,mp4,m4a,3gp,3g2,mj2: stream 0, offset 0x425b1a8a: partial file
> [curl] Failure when receiving data from the peer, retrying (#1) from 41943040
### Log File
[output.txt](https://github.com/user-attachments/files/29677198/output.txt)
### Sample Files
_No response_
### I carefully read all instruction and confirm that I did the following:
- [x] I tested and confirmed that the issue exists with the [latest release version](https://github.com/mpv-player/mpv/releases/latest) or newer.
- [x] I provided all required information including system and mpv version.
- [x] 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`.
- [x] I produced the log file while the behaviors described in "Actual Behavior" were actively observed.
- [x] I attached the full, untruncated log file.
- [x] I attached the backtrace in the case of a crash.
1 条评论