[Libav-user] Access to motions vectors and macroblock in P_FRAME lib264

Carl Eugen Hoyos ceffmpeg at gmail.com
Mon Mar 11 00:41:10 EET 2019

2019-03-06 16:07 GMT+01:00, NDJORE BORIS <ndjoreboris at gmail.com>:
> Le mer. 6 mars 2019 à 14:19, Carl Eugen Hoyos <ceffmpeg at gmail.com> a écrit
> :
>> 2019-03-06 11:56 GMT+01:00, NDJORE BORIS <ndjoreboris at gmail.com>:
>> > I want to extract all motion vectors in P_type mocroblock  in a
>> > P_frame during encoding h264 video with libx264 (x264).
>> Since x264 != FFmpeg, this cannot be answered here.
>> (I don't know if x264 offers an api to export the info but
>> if the api exists, it is not supported by FFmpeg).
> Ok. It means that it is not possible to have such info
> with x264 (x264Context)?

It means that I don't know if libx264 offers the information
but it is not available through FFmpeg.

> I understand and I want to know if the only encoder we
> can use to transcode h264 video format is x264?

No, several other encoders including libopenh264, vaapi,
qsv, videotoolbox, nvenc and amf exist in FFmpeg.

Carl Eugen

More information about the Libav-user mailing list