[Libav-user] libav h.264 vaapi encoding

wm4 nfxjfg at googlemail.com
Wed Mar 26 10:33:46 CET 2014

On Tue, 25 Mar 2014 21:37:50 +0400
Nik Orlov <nikitos1550 at yandex.ru> wrote:

> Hello!
> Are there any example about encoding h.264 with vaapi? 
> What is the way to do such encoding? Are there special codec_id for this?
> As I understand ffmpeg cli doesn`t support vaapi. But liavcodec does.
> Ffmpeg builds with vaapi support, it has autodect at configure step.
> Can I include libx264 to ffmpeg binaries, and choose between x264 and vaapi h.264 encoding or I must choose at build time?

No, FFmpeg has no GPU encoding at all.

Here's an absurd but relatively self-contained example how to use it:


More information about the Libav-user mailing list