Opened 12 years ago

Last modified 8 years ago

#1009 open enhancement

XvBA - AMD Hardware acceleration

Reported by: freespacer Owned by:
Priority: wish Component: avcodec
Version: git-master Keywords: xvba
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no


It would be nice if ffmpeg supports XvBA hardware acceleration because VA-API/XvBA fell into an unmaintained modus.

More Information about the hardware acceleration interface:


An another project implements the XvBA interface:

Attachments (1)

ffmpeg-1.0.4-xvba_support.patch (33.4 KB ) - added by ryszardzonk 11 years ago.

Download all attachments as: .zip

Change History (8)

comment:1 by Carl Eugen Hoyos, 12 years ago

Component: undeterminedavcodec
Keywords: xvba added
Priority: normalwish
Status: newopen
Version: unspecifiedgit-master

comment:2 by Douglas, 12 years ago

It looks like this works has already been performed in a fork:

Initial commit:

Level 41 bugfix:

Any chance that these will make it into mainline any time soon?

comment:3 by Carl Eugen Hoyos, 12 years ago

The chances are higher if a patch gets posted on ffmpeg-devel, ideally by a developer.
At least two hunks look like show-stoppers to me: The change to pixfmt.h breaks API and I don't think an XBMC developer worked on xvmc (in 2011).

by ryszardzonk, 11 years ago


comment:4 by ryszardzonk, 11 years ago

I am not a developer however I made the best effort I could porting the changes in the XBMC directly to the FFMPEG. It definetly misses something as after the configure process finishes the xvba_hwaccel options do not appear in the screen as enabled even when all appropriate parts seem to install just fine.

I have also problem with getting x264 content to work as XBMC compiled with external FFMPEG brings me only black screen

any review/hits/upgrades are welcome

PS The parts of the patch which are resposible for adding new files in libavcodec directory I copied directly from the git tree as of 24/02/2013 so should be in the most recent version available

Last edited 11 years ago by ryszardzonk (previous) (diff)

comment:5 by Carl Eugen Hoyos, 11 years ago

(As explained, the change to pixfmt.h is not acceptable as-is because it changes API, move the new entry to the end of the list.)

Does the patch apply to current git head of FFmpeg? If not, please update the patch.
In any case, please send patches to ffmpeg-devel, they receive much more attention there.

comment:6 by Carl Eugen Hoyos, 11 years ago

Additionally, please use tools/patcheck, the current patch has some indentation problems (should be four spaces), patcheck should be able to show them.

comment:7 by Elon Musk, 8 years ago

Is this still relevant?

Note: See TracTickets for help on using tickets.