[FFmpeg-user] setpts filter produces much smaller files

German Geraskin german.geraskin at gmail.com
Wed May 21 20:19:46 EEST 2025


Hi,

Well, I can confirm the problem.
The problem is specific to the libx265 encoder and ffmpeg version n7.x.
The problem does not depend on the platform.

I tested on Windows (x86_64).

# FFmpeg n4.4 and n7.1
The libx264 encoder gives the same results in both cases,
regardless of the (setpts) filter presence in the command.

# FFmpeg n4.4
The libx265 encoder gives the same results in both cases,
regardless of the (setpts) filter presence in the command.

# FFmpeg n7.1
The libx265 encoder produces output files with significantly different
bitrates and quality depending on whether the (setpts) filter is used or not.

Obviously it is the bug!

German Geraskin


More information about the ffmpeg-user mailing list