Replies: 3 comments 1 reply
-
|
Probably related to #17217 |
Beta Was this translation helpful? Give feedback.
-
Which one is previous build, you have tested? I would assume If earlier build, there is another change, but please confirm which builds your are testing. |
Beta Was this translation helpful? Give feedback.
-
|
Hello,
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I'm using the libmpv library for video playback within a Qt application. I have encountered a consistent memory leak issue starting from the specific build mpv-dev-x86_64-v3-20250302-git-ee07dcf.7z (dated March 2, 2025) and later versions. The problem does not occur in builds prior to this date.
Reproduction Steps:
Initialize mpv (mpv_create()) and set properties to use GPU hardware decoding (hwdec=auto-safe or similar).
Initialize an OpenGL render context using mpv_render_context_create() with parameters for OpenGL backend and Qt integration.
Render video frames using mpv_render_context_render() onto a Qt QOpenGLWidget.
Play either an RTSP stream or a local video file.
Observe a steady increase in the application's memory usage (RAM) over time during playback. The memory does not get freed even after stopping playback or closing the video file. The leak appears to be proportional to playback duration.
My Environment:
libmpv Version: mpv-dev-x86_64-v3-20250302-git-ee07dcf.7z (and later 2025 builds). Previous builds (e.g., from February 2025) are fine.
System: Windows 10/11, x86_64.
Graphics: NVIDIA discrete GPU (tested with RTX series).
Backend: OpenGL.
Rendering Widget: Qt QOpenGLWidget.
Playback Source: Both RTSP streams and local video files trigger the leak.
Beta Was this translation helpful? Give feedback.
All reactions