Re: [FFmpeg-devel] [PATCH] fix pad artifacting

2025-02-03 Thread Ben Lu via ffmpeg-devel
t; On 2/3/2025 10:58 AM, Ben Lu via ffmpeg-devel wrote: > > Sorry about that, it looks correct in gmail and sending to myself also > > looks fine, not sure where the line width corruption is happening. Our > org > > doesn't allow programmatic email. > > Looks lik

Re: [FFmpeg-devel] [PATCH] fix pad artifacting

2025-02-03 Thread Ben Lu via ffmpeg-devel
ink->w, s->w), + FFMAX(inlink->h, s->h)); +} if (!out) { av_frame_free(&in); return AVERROR(ENOMEM); -- 2.35.1.70.gdb80f58b59-twtrsrc On Sat, Feb 1, 2025 at 12:52 AM Michael Niedermayer wrote: > Hi >

[FFmpeg-devel] [PATCH] fix pad artifacting

2025-01-31 Thread Ben Lu via ffmpeg-devel
When using pad with eval=frame with variable frame sizes, we get significant artifacting. This is due to incorrect frame sizes, resulting in invalid frames. Made changes to use the output width and height for frame sizes when using eval=frame, with if statement guards to make sure the normal usage