Re: [FFmpeg-devel] Patch for libx265 memory leak

2024-11-20 Thread Kirithika Kalirathnam
Hi, Could you please share steps(and CLI) to reproduce this crash scenario in x265 to help understand the issue better and work on resolving it. It would be better if you could open the issue also on x265 issues page for better tracking. *Than

Re: [FFmpeg-devel] Patch for libx265 memory leak

2024-11-16 Thread Tom Vaughan
Any further details you or others could provide to help the x265 dev team resolve the issue would be appreciated. Can you share your steps to reproduce this issue? What parameters were changed? Max CTU size? Is this documentation inadequate? https://x265.readthedocs.io/en/master/api.html#build

Re: [FFmpeg-devel] Patch for libx265 memory leak

2024-11-16 Thread Timo Rothenpieler via ffmpeg-devel
On 16.11.2024 19:46, Tom Vaughan wrote: Any further details you or others could provide to help the x265 dev team resolve the issue would be appreciated. Can you share your steps to reproduce this issue? What parameters were changed? Max CTU size? Is this documentation inadequate? https://x2

Re: [FFmpeg-devel] Patch for libx265 memory leak

2024-11-15 Thread Anton Khirnov
Quoting Damiano Galassi (2024-11-12 07:36:53) > On Tue, Nov 12, 2024 at 3:38 AM Zhao Zhili wrote: > > > > > cleanup() release library static allocations, and I don’t see lock or > > reference count > > within x265_cleanup(). So call cleanup() will break other x265 encoder > > instance, > > right?

Re: [FFmpeg-devel] Patch for libx265 memory leak

2024-11-11 Thread Damiano Galassi
On Tue, Nov 12, 2024 at 3:38 AM Zhao Zhili wrote: > > cleanup() release library static allocations, and I don’t see lock or > reference count > within x265_cleanup(). So call cleanup() will break other x265 encoder > instance, > right? x265 already crashes when trying to run two encodes with di

Re: [FFmpeg-devel] Patch for libx265 memory leak

2024-11-11 Thread Zhao Zhili
Hi Chen, > On Nov 12, 2024, at 01:09, chen wrote: > > From 4067c58be8e719a55d89e68aaa9d3db19b88b32f Mon Sep 17 00:00:00 2001 > > From: Chen > > Date: Fri, 8 Nov 2024 22:21:19 -0800 > > Subject: [PATCH] Fix memory leak in the libx265 > > > > > --- > > libavcodec/libx265.c | 4 +++- > > 1

[FFmpeg-devel] Patch for libx265 memory leak

2024-11-11 Thread chen
From 4067c58be8e719a55d89e68aaa9d3db19b88b32f Mon Sep 17 00:00:00 2001 From: Chen Date: Fri, 8 Nov 2024 22:21:19 -0800 Subject: [PATCH] Fix memory leak in the libx265 --- libavcodec/libx265.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libavcodec/libx265.c b