[FFmpeg-user] Translation to ffmpeg of Handbrake (GUI) settings?

Carl Eugen Hoyos ceffmpeg at gmail.com
Sun Mar 4 10:58:29 EET 2018

2018-03-02 19:39 GMT+01:00, Philip Courier <philipcourier at hotmail.com>:

> The result from a 2-pass encode in Handbrake is splendid, but I would like
> to do the same encode
> from a bash scriptfile using 2 passes in ffmpeg.

Handbrake does not call ffmpeg, it uses its own code to
call the libaries, on top of that, it does not use FFmpeg.

> The ffmpeg supplied by dnf from rpmfusion-free is unusable, it gives the
> error message:
> ERROR: libx264 not found

Did you report this there?
Is it possible they are abusing the name FFmpeg to
provide something unusable?

> but the ffmpeg I compiled

(Other users provide binaries for download, see
our homepage.)

> (version N-90176-g27cbbbb) (using the instructions at
> https://trac.ffmpeg.org/wiki/CompilationGuide/Centos,
> except, I changed pkgconfig to /usr/lib64/pkgconfig, libdir to /usr/lib64,
> and bindir to /usr/bin)
> finds the libx264 which this procedure produces.

> However, with this new ffmpeg the parameter
> -flags2 +mixed_refs+dct8x8+wpred

(Command line and complete, uncut console output missing. Both
are needed here.)
The mixed_refs flag was removed 2012 (!), there is a
mixed_refs option for the libx264 encoder.

Carl Eugen

More information about the ffmpeg-user mailing list