xpra icon
Bug tracker and wiki

Opened 6 years ago

Last modified 4 months ago

#451 assigned enhancement

libva accelerated encoding

Reported by: Antoine Martin Owned by: Antoine Martin
Priority: major Milestone: 4.1
Component: encodings Version:
Keywords: Cc: rektide@…


Split from #370, see also #202 for the decoding side.

The only hardware supported by libva for accelerated encoding are some Intel chips.


Note: libva can encode to other formats (avc, mpeg2, ..) and maybe this can be useful in the future.

Attachments (1)

libva-stub.patch (23.5 KB) - added by Antoine Martin 4 years ago.
stub implementation

Download all attachments as: .zip

Change History (8)

comment:1 Changed 5 years ago by rektide

Cc: rektide@… added

comment:2 Changed 4 years ago by Antoine Martin

Milestone: future0.17
Priority: minormajor
Status: newassigned

Raising, Intel's Valley Vista makes this much more interesting. Awaiting hardware to take this on.

Changed 4 years ago by Antoine Martin

Attachment: libva-stub.patch added

stub implementation

comment:4 Changed 4 years ago by Antoine Martin

Component: serverencodings

comment:7 Changed 3 years ago by Antoine Martin

Could be used for 10-bit colour too, see #909.

comment:10 Changed 23 months ago by Antoine Martin

Milestone: 0.173.0

As per Fedora 28 Planning For VA-API 1.0 Support, Libva 2.0 was released last October with H.264 FEI support in its API, deprecating older parts of the API, fixing a race condition with the Wayland support, renaming some parts of the API, improving the logging capabilities, and various other changes. Libva 2.0 broke API/ABI compatibility with older versions of this Intel-developed Video Acceleration API.

We want to target libva 2.0, so let's wait for Fedora 28 beta.

OBS does it through ffmpeg: Add linux VAAPI h.264 encoding support - I'm not sure we should do the same: ideally we can reduce the dependency on ffmpeg, not increase it.

Last edited 16 months ago by Antoine Martin (previous) (diff)

comment:12 Changed 10 months ago by Antoine Martin

Milestone: 3.04.0

Milestone renamed

comment:13 Changed 4 months ago by Antoine Martin

Milestone: 4.04.1
Note: See TracTickets for help on using tickets.