mpv freeze or stuck. If see hls video and window resize
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.40.0-138-g18defc853 Copyright © 2000-2025 mpv/MPlayer/mplayer2 projects
[ 0.000][v][cplayer] built on Jun 20 2025 15:10:06
[ 0.000][v][cplayer] libplacebo version: v7.351.0 (v7.351.0-dirty)
[ 0.000][v][cplayer] FFmpeg version: N-120041-g64fce7202
[ 0.000][v][cplayer] FFmpeg library versions:
[ 0.000][v][cplayer] libavcodec 62.4.100
[ 0.000][v][cplayer] libavdevice 62.0.100
[ 0.000][v][cplayer] libavfilter 11.0.100
[ 0.000][v][cplayer] libavformat 62.1.100
[ 0.000][v][cplayer] libavutil 60.3.100
[ 0.000][v][cplayer] libswresample 6.0.100
[ 0.000][v][cplayer] libswscale 9.0.100
[ 0.000][v][cplayer] Configuration: -Ddebug=true -Db_ndebug=true -Doptimization=3 -Db_lto=true -Db_lto_mode=thin -Dlibmpv=true -Dpdf-build=enabled -Dlua=enabled -Djavascript=enabled -Dsdl2=enabled -Dlibarchive=enabled -Dlibbluray=enabled -Ddvdnav=enabled -Duchardet=enabled -Drubberband=enabled -Dlcms2=enabled -Dopenal=enabled -Dspirv-cross=enabled -Dvulkan=enabled -Dvapoursynth=enabled -Dgl=enabled -Degl-angle=enabled -Dc_args=-Wno-error=int-conversion -Dprefix=/__w/mpv-winbuild/mpv-winbuild/mpv-winbuild-cmake/build64-v3/install/x86_64-w64-mingw32 -Dlibdir=/__w/mpv-winbuild/mpv-winbuild/mpv-winbuild-cmake/build64-v3/install/x86_64-w64-mingw32/lib -Ddefault_library=shared -Dprefer_static=True --cross-file=/__w/mpv-winbuild/mpv-winbuild/mpv-winbuild-cmake/build64-v3/meson_cross.txt
[ 0.000][v][cplayer] List of enabled features: build-date cplugins cuda-hwaccel cuda-interop d3d-hwaccel d3d11 d3d9-hwaccel debug direct3d dos-paths dvdnav dxgi-debug-d3d11 egl-angle egl-angle-win32 ffmpeg ffnvcodec gl gl-dxinterop gl-dxinterop-d3d9 gl-win32 glob glob-win32 gpl iconv javascript jpeg lcms2 libarchive libass libavdevice libbluray libplacebo luajit openal rubberband rubberband-3 sdl2 sdl2-audio sdl2-gamepad sdl2-video shaderc spirv-cross uchardet vaapi vaapi-win32 vapoursynth vector vulkan wasapi win32 win32-desktop win32-executable win32-smtc win32-threads zimg zimg-st428 zlib
Other Information
- Microsoft Windows [Version 10.0.26100.4351]:
- palit 5070ti, 576.02 DCH:
- Source of mpv: https://github.com/zhongfly/mpv-winbuild/releases
- Latest known working version:
- Issue started after the following happened:
Reproduction Steps
I replaced that it happens more often when the window is resized.
but if you don't touch anything, it freezes after a while too.
And i see hls stream.
i try --no-config ,--hwdec=yes ,--profile=fast
Expected Behavior
process no freeze
Actual Behavior
process stuck or freeze
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
Start by reproducing the freeze on Windows with the attached HLS video, using the reported mpv build and resizing the window, then inspect log.txt. Done means identifying the cause of the stuck process and verifying playback remains responsive during resizing and unattended playback.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- audio-video-rtc, desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100