Hi On Sat, Feb 01, 2025 at 12:18:08AM +0000, Ben Lu via ffmpeg-devel wrote: > 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 is unaffected > > Signed-off-by: Ben Lu > --- > libavfilter/vf_pad.c | 29 +++++++++++++++++++++-------- > 1 file changed, 21 insertions(+), 8 deletions(-) > > diff --git a/libavfilter/vf_pad.c b/libavfilter/vf_pad.c > index 49fb272b24..846dd0a9f4 100644 > --- a/libavfilter/vf_pad.c > +++ b/libavfilter/vf_pad.c > @@ -237,15 +237,24 @@ static AVFrame *get_video_buffer(AVFilterLink > *inlink, int w, int h) error: corrupt patch at line 10 check your editor line/word wrap break settings or attach the patch or use git send-email thx [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB "I am not trying to be anyone's saviour, I'm trying to think about the future and not be sad" - Elon Musk