Skip to content

FFmpeg Hardware Acceleration with vaapi #1867

Answered by saudet
Nycrera asked this question in Q&A
Discussion options

You must be logged in to vote

It looks like the only pixel format that hevc_vaapi supports is AV_PIX_FMT_VAAPI:
https://github.com/FFmpeg/FFmpeg/blob/master/libavcodec/vaapi_encode_h265.c#L1463
So try to call setPixelFormat(AV_PIX_FMT_VAAPI) and see what that gives.

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@saudet
Comment options

@Nycrera
Comment options

@saudet
Comment options

@b005t3r
Comment options

@saudet
Comment options

Answer selected by Nycrera
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants