Playback start hitches with large audio delays
Open
Nobody has claimed this yet.
os:win
- Dominant language
- C
- Stars
- 37k
- Forks
- 3.5k
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 22
Description
mpv Information
mpv v0.39.0-723-g38ad1ed0 Copyright © 2000-2025 mpv/MPlayer/mplayer2 projects
built on Feb 2 2025 00:04:54
libplacebo version: v7.350.0 (v7.349.0-30-g056b852-dirty)
FFmpeg version: N-118390-g9b5a4c0ae
FFmpeg library versions:
libavcodec 61.31.101
libavdevice 61.4.100
libavfilter 10.9.100
libavformat 61.9.106
libavutil 59.56.100
libswresample 5.4.100
libswscale 8.13.100
Other Information
- Windows version: Win11 24H2
- GPU model, driver and version: GTX 1080Ti, 572.16
- Source of mpv: scoop
- Latest known working version: N/A
- Issue started after the following happened: N/A
Reproduction Steps
Add a large audio delay to a file (longer than the duration of a single frame).
Expected Behavior
No hitches.
Actual Behavior
Hitches at playback start.
Log File
Sample Files
I carefully read all instruction and confirm that I did the following:
- I tested with the latest mpv version to validate that the issue is not already fixed.
- 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.
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
Reproduce the hitch using the attached container_delay_3003ms.zip and the large audio delay described in the issue, then inspect output.txt alongside the playback-start path. Done means playback begins without hitches when the audio delay exceeds one frame duration, with the supplied Windows and mpv versions considered.
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