Opened 12 months ago

Last modified 12 months ago

#9332 new defect

Flickering white when using scale and zoompan

Reported by: mucikiki Owned by:
Priority: normal Component: undetermined
Version: unspecified Keywords: zoompan
Cc: mucikiki Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description (last modified by mucikiki)

Summary of the bug:
When I try to zoom an image, if this image has a white background (255,255,255) I obtain an output with a variable white (between 255,255,255 and 255,254,255). It is ok with other colors.

IMPORTANT: this only happens with big scale number, for example scale=12800x7200. It is ok with scale=1280x720.

How to reproduce:

% ffmpeg -f image2 -loop 1 -t 6.2 -r 29.97 -i xxxx -c:v libx264 -profile:v main -pix_fmt yuv420p -level:v 3.1 -crf 24 -color_primaries bt709 -color_trc bt709 -colorspace bt709 -y -filter_complex "[0:v]scale=12800x7200,zoompan=z='min(zoom+0.0015,1.5)':x='iw/2-(iw/zoom/2)':y='ih/2-(ih/zoom/2)':d=184:fps=29.97:s=1280x720,trim=duration=6.2[filtered]"
ffmpeg version N-48944-g9b069eb14e-static
built on gcc 6.3.0 (Debian 6.3.0-18+deb9u1) 20170516

Input file:
Output video:

Attachments (1)

esempio tremolio per sito ffmpeg.jpg (124.1 KB ) - added by Carl Eugen Hoyos 12 months ago.

Download all attachments as: .zip

Change History (4)

comment:1 by mucikiki, 12 months ago

Description: modified (diff)

comment:2 by Carl Eugen Hoyos, 12 months ago

Component: ffmpegundetermined
Keywords: zoompan added; scale removed

Always provide the input file(s), do not provide the output file unless specifically asked to do so.

comment:3 by mucikiki, 12 months ago

Description: modified (diff)

by Carl Eugen Hoyos, 12 months ago

Note: See TracTickets for help on using tickets.