mpv resuming pc / windows from sleep results in no audio from unpaused video
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 37k
- Forks
- 3.5k
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 22
Description
mpv Information
mpv v0.41.0-dev-g41f6a6450 Copyright © 2000-2025 mpv/MPlayer/mplayer2 projects
built on Dec 21 2025 19:30:47
libplacebo version: v7.358.0
FFmpeg version: f853d12
FFmpeg library versions:
libavcodec 62.11.100
libavdevice 62.1.100
libavfilter 11.4.100
libavformat 62.3.100
libavutil 60.8.100
libswresample 6.1.100
libswscale 9.1.100
Other Information
- Windows version: 26200.8728 25H2
- GPU model, driver and version: nvidia geforce 3070 Ti, 610.52
- Source of mpv: https://mpv.io/installation/
- Latest known working version: n/a
- Issue started after the following happened: pc resumes from sleep (every time)
this has been happening on various versions and has been previously reported by other users with no resolution.
Reproduction Steps
can re-produce easily with no custom config and with custom config.
tried a few forks like easy mpv and mpv.net and they have the same bug.
- pause playing video on mpv, can either leave window visible or minimized
- windows / pc enters sleep
- resume from sleep
- press play to resume video
- no audio plays but video plays normally.
- to fix, either click seek bar or re-enable audio track
Expected Behavior
pc sleeps with paused video, upon resuming windows and mpv resume with out issue. both audio and video play.
Actual Behavior
only video plays on resuming from sleep.
Log File
Sample Files
No response
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.
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
Start with the attached output.txt and reproduce the pause, Windows sleep, resume, and playback sequence described in the issue. Trace the audio behavior around resume and verify that audio starts normally without seeking or re-enabling the track; the issue is done when paused video resumes with both audio and video.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- audio-video-rtc, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100