[FFmpeg-user] Trying to reduce iframes/keyframes in x265

Moritz Barsnick barsnick at gmx.net
Wed Jan 3 11:23:55 EET 2018


On Tue, Jan 02, 2018 at 16:01:05 -0800, Gaye Gül Bulut wrote:
> My console output looks like this:

For which of those command lines?

> x265 [info]: Keyframe min / max / scenecut / bias: 25 / 250 / 40 / 5.00

I have just as much of a problem as you in getting these values to
change, despite following the documented x265 options.

What does work for me is:
  -x265-params "keyint=-1"
resulting in:

x265 [info]: Keyframe min / max / scenecut       : disabled

But I haven't managed to plain (numerically) increase the GOP size. The
good old "-g" option (which should be mapped to one of the x265-params)
doesn't work either.

Perhaps recent x265 has problems parsing the options. Regardless of
which option I pass, I get neither the warning "Unknown option:" nor
the warning "Invalid value for ..." from libavcodec's libx265 wrapper.

(Tested with "x265 [info]: HEVC encoder version 2.5" and "ffmpeg version
3.3.5 Copyright (c) 2000-2017 the FFmpeg developers", which is all I
had access to quickly.)

Moritz


More information about the ffmpeg-user mailing list